CCID descriptor statistics: bPINSupport

Article from the serie "CCID descriptor statistics"

The bPINSupport field is a number value from the CCID USB descriptor:

This value indicates what PIN support features the CCID has.
The value is a bitwise OR operation performed on the following values:
  • 01h PIN Verification supported
  • 02h PIN Modification supported

bPINSupport # %
0x00 215 84.65 %
0x03 36 14.17 %
0x01 3 1.18 %


The vast majority of smart card readers do not have PIN support, they are not pinpad or keyboard readers.

Devices with bPINSupport = 0x01
  • Cherry GmbH SmartBoard XX33
  • Dell keyboard SK-3106
The devices with bPINSupport = 0x01 are all keyboards with a smart card reader integrated. The 2 readers above only support PIN verification. PIN modification is not supported.

Devices with bPINSupport = 0x03
  • ACS APG8201 PINhandy 1
  • ACS APG8201 USB Reader
  • Athena ASEDrive IIIe KB
  • C3PO KBR36
  • C3PO LTC32
  • COVADIS VEGA-ALPHA
  • Cherry GmbH SmartBoard XX1X
  • Cherry GmbH SmartBoard XX44
  • Cherry GmbH SmartTerminal ST-2xxx
  • Dell Dell Smart Card Reader Keyboard
  • Fujitsu Siemens Computers SmartCard Keyboard USB 2A
  • Fujitsu Siemens Computers SmartCard USB 2A
  • FujitsuTechnologySolutions GmbH SmartCase KB SCR eSIG
  • Gemalto EZIO CB+
  • Gemalto Ezio Shield Branch Reader
  • Gemalto Ezio Shield
  • Gemalto Ezio Shield
  • Gemalto ING Shield Pro SC
  • Gemalto USB GemPCPinpad SmartCard Reader
  • Gemalto USB GemPCPinpad SmartCard Reader
  • Hewlett-Packard Company HP USB CCID Smartcard Keyboard
  • Hewlett-Packard Company HP USB Smart Card Keyboard
  • KOBIL EMV CAP - SecOVID Reader III
  • KOBIL KAAN Advanced
  • KOBIL Systems mIDentity visual
  • Lenovo Lenovo USB Smartcard Keyboard
  • OMNIKEY AG CardMan 3621
  • OMNIKEY AG CardMan 3821
  • REINER SCT cyberJack go
  • SCM Microsystems Inc. SPR 532
  • VASCO DIGIPASS 920
  • VASCO DIGIPASS KEY 200
  • VASCO DIGIPASS KEY 860
  • VASCO DP855
  • VASCO DP865
  • VMware Virtual USB CCID
  • XIRING Leo v2
  • XIRING MyLeo
  • XIRING XI-SIGN USB V2
Devices with bPINSupport = 0x03 can do both PIN verification and PIN modification. Some devices are also keyboards with a smart card reader.

If you want to be able to securely modify the PIN you should select a reader in the second category.

CCID descriptor statistics: bNumEndpoints

Article from the serie "CCID descriptor statistics"

The bNumEndpoints field is a number value from the CCID USB descriptor: Number of endpoints used by this interface (excluding endpoint zero).

bNumEndpoints # %
3 228 89.76 %
2 16 6.30 %
0 6 2.36 %
1 4 1.57 %


According to the CCID specification: For Integrated Circuit(s) Cards Interface Devices (CCID)
  • 02h uses bulk-IN and bulk-OUT
  • 03h uses bulk-IN, bulk-OUT and interrupt –IN

So the possible values are 2 or 3 for a CCID device.

According to the ICCD specification:
  • 00h does not use further endpoint
  • 01h uses interrupt-IN
  • 02h uses bulk-IN and bulk-OUT
  • 03h uses bulk-IN, bulk-OUT and interrupt –IN
NOTE 01h indicates that the control endpoints are used for data transmission and interrupt-IN for notification of card specific events sent from the USB-ICC to the host.

Devices with bNumEndpoints = 0
  • Aktiv Co., ProgramPark Rutoken Magistra
  • BIFIT iBank2Key
  • Gemalto PDT
  • OCS ID-One Cosmo Card USB Smart Chip Device
  • Philips Semiconductors JCOP41V221
  • SchlumbergerSema SchlumbergerSema Cyberflex Access

Devices with bNumEndpoints = 1
  • Giesecke & Devrient GmbH Star Sign Card Token 350 (ICCD)
  • Giesecke & Devrient GmbH Star Sign Card Token 550 (ICCD)
  • KEBTechnology KONA USB SmartCard
  • Philips Semiconductors SmartMX Sample

To know if a device is a CCID or ICCD device use the bInterfaceProtocol field. We find again the 10 ICCD devices as found in bInterfaceProtocol. But we note that there is no matching between bNumEndpoints = 0 or 1 and Version A or B of ICCD protocol.

MUSCLE mailing list statistics for 2013

As I did in 2009, 2010, 2011 and 2012 I propose some statistics of the MUSCLE mailing list usage.

Year Total number of messages Progression
2009 603
2010 718 +19 %
2011 999 +39 %
2012 207 -79 %
2013 198 -4 %

This year we do not have a clear drop in the number of messages sent to the MUSCLE mailing list.


Statistics from 1.1.2013 to 21.12.2013
for muscle@lists.musclecard.com



People who have written most messages:

   Author   Msg   Percent 
1 ludovic.rousseau@gmail.com 37 18.69 %
2 sebastien@lorquet.fr 10 5.05 %
3 rp@referencepoint.co.uk 10 5.05 %
4 christopherarges@gmail.com 9 4.55 %
5 fdimitriou@tmm-software.com 9 4.55 %
6 anand.renju.mailing.list@gmail.com 9 4.55 %
7 frank@apsu.be 8 4.04 %
8 samduke474@gmail.com 7 3.54 %
9 deengert@anl.gov 7 3.54 %
10 martin@martinpaljak.net 7 3.54 %
11 michael.traut@gmail.com 6 3.03 %
12 00cpxxx@gmail.com 6 3.03 %
13 helpcrypto@gmail.com 6 3.03 %
14 fgrieu@gmail.com 5 2.53 %
15 murilo.duarte@unitau.com.br 4 2.02 %
16 muscle-bounces@lists.musclecard.com 4 2.02 %
17 cmar@eurotux.com 3 1.52 %
18 alon.barlev@gmail.com 3 1.52 %
19 fdeybach@gmail.com 3 1.52 %
20 h0wdyd3wdy@gmail.com 3 1.52 %
21 munoz0raul@gmail.com 3 1.52 %
22 yoann.juet@univ-nantes.fr 2 1.01 %
23 r.rezaian@earthlink.net 2 1.01 %
24 kalevlember@gmail.com 2 1.01 %
25 lists@home.gofferje.net 2 1.01 %
26 wdick@urgewalten.de 2 1.01 %
27 nmav@redhat.com 2 1.01 %
28 ignacio.casal@nice-software.com 2 1.01 %
29 linuxprocess@free.fr 2 1.01 %
30 f.disciascio@dromedian.com 1 0.51 %
  other 22 11.11 %

Best authors, by total size of their messages (w/o quoting):

   Author   KBytes 
1 christopherarges@gmail.com 2580.6
2 ludovic.rousseau@gmail.com 251.3
3 alon.barlev@gmail.com 80.0
4 deengert@anl.gov 76.8
5 helpcrypto@gmail.com 73.3
6 sebastien@lorquet.fr 73.3
7 00cpxxx@gmail.com 48.2
8 rp@referencepoint.co.uk 45.4
9 fdimitriou@tmm-software.com 43.7
10 frank@apsu.be 43.6
11 michael.traut@gmail.com 39.3
12 anand.renju.mailing.list@gmail.com 38.9
13 martin@martinpaljak.net 37.6
14 samduke474@gmail.com 34.5
15 fdeybach@gmail.com 32.2
16 murilo.duarte@unitau.com.br 30.4
17 fgrieu@gmail.com 29.4
18 wdick@urgewalten.de 28.1
19 nmav@redhat.com 24.3
20 xmm@c3po.es 22.2
21 munoz0raul@gmail.com 20.8
22 h0wdyd3wdy@gmail.com 17.3
23 cmar@eurotux.com 12.8
24 lists@home.gofferje.net 11.3
25 muscle-bounces@lists.musclecard.com 11.2
26 linuxprocess@free.fr 10.2
27 leventak88@hotmail.com 8.9
28 kwanhonluen@gmail.com 8.5
29 crosser@average.org 8.0
30 freescale@abv.bg 7.9

Best authors, by average size of their message (w/o quoting):

   Author   bytes 
1 christopherarges@gmail.com 293611
2 alon.barlev@gmail.com 27322
3 xmm@c3po.es 22773
4 wdick@urgewalten.de 14376
5 helpcrypto@gmail.com 12511
6 nmav@redhat.com 12457
7 deengert@anl.gov 11239
8 fdeybach@gmail.com 10979
9 leventak88@hotmail.com 9088
10 kwanhonluen@gmail.com 8677
11 00cpxxx@gmail.com 8232
12 crosser@average.org 8210
13 freescale@abv.bg 8101
14 rob.on.lists@gmail.com 7949
15 michaelbender@me.com 7939
16 murilo.duarte@unitau.com.br 7786
17 eumesmo.ht@gmail.com 7735
18 lespaul49@gmail.com 7639
19 nboullis@debian.org 7591
20 sebastien@lorquet.fr 7502
21 munoz0raul@gmail.com 7092
22 ludovic.rousseau@gmail.com 6955
23 andreas.schwier@cardcontact.de 6814
24 ml@os2.kiev.ua 6769
25 michael.traut@gmail.com 6708
26 mstjohns@comcast.net 6144
27 fgrieu@gmail.com 6022
28 h0wdyd3wdy@gmail.com 5891
29 lists@home.gofferje.net 5768
30 frank@apsu.be 5584

Table showing the most successful subjects:

   Subject   Msg   Percent 
1 [Muscle] GP 2.2 INITIALIZE UPDATE (0x50) oddness
16 8.08 %
2 [Muscle] CPS card blocking with PCSC
10 5.05 %
3 [Muscle] PCSCLite: SCardControl cutting off data?
7 3.54 %
4 [Muscle] Alternate javax.smartcardio provider
6 3.03 %
5 [Muscle] connection reset/no data returned errors in browser
6 3.03 %
6 [Muscle] SmartCard sign number
6 3.03 %
7 [Opensc-devel] Issues connecting to OpenVPN with Smartcard
5 2.53 %
8 [Muscle] Reader PC/SC not compliant
5 2.53 %
9 [Muscle] RES: Parallel Process with readers - pcsc-lite
5 2.53 %
10 [Muscle] ACR122U response frames contain wrong sequence numbers
5 2.53 %
11 [Muscle] Can't access to read Omnikey Card
4 2.02 %
12 [Muscle] RES: RES: Parallel Process with readers - pcsc-lite
4 2.02 %
13 [Muscle] Which version onwards pcsc-lite support the Part10 features
4 2.02 %
14 [Muscle] pcsc problem with javax.smartcardio package
3 1.52 %
15 [Muscle] javax.smartcardio problem/OSX LION
3 1.52 %
16 [Opensc-devel] issues with smartcards and openvpn when renegotiating
3 1.52 %
17 [Muscle] Off-topic but related (Dont know where to look)
3 1.52 %
18 [Muscle] Converting Windows Feature Request IOCTL code to the
3 1.52 %
19 [Muscle] RES: RES: Parallel Process with readers - pcsc-lite
3 1.52 %
20 [Muscle] Absence du bureau
3 1.52 %
21 [Muscle] 16 character PIN
3 1.52 %
22 [Opensc-devel] Cheap pinpad smart card reader with "PIN firewall"
3 1.52 %
23 [Muscle] New version of libccid: 1.4.13
3 1.52 %
24 [Muscle] VDV-KA
3 1.52 %
25 [Muscle] Identifyng a contact smartcard
2 1.01 %
26 [Muscle] PC/SC issues with Aladdin eToken PRO 64 on Ubuntu
2 1.01 %
27 [Opensc-devel] issues with smartcards and openvpn when
2 1.01 %
28 [Muscle] What if a handle passed to ScardDisconnect is reused?
2 1.01 %
29 [Muscle] Wrong initialize update
2 1.01 %
30 [Muscle] Muscle Digest, Vol 110, Issue 10
2 1.01 %
  other 70 35.35 %

Most used email clients:

   Mailer   Msg   Percent 
1 (unknown) 125 63.13 %
2 Mozilla/5.x 55 27.78 %
3 Microsoft Office Outlook 11
6 3.03 %
4 Evolution 3.4.4 (3.4.4-2.fc17)
3 1.52 %
5 QUALCOMM Windows Eudora 1 0.51 %
6 Roundcube Webmail/0.8.5
1 0.51 %
7 MessagingEngine.com Webmail Interface - ajax-25df3f14
1 0.51 %
8 Mutt 1 0.51 %
9 iPhone Mail (11A501)
1 0.51 %
10 Apple Mail (2.1510)
1 0.51 %
11 Zimbra 7.2.0-GA2598 (ZimbraWebClient - FF3.0 (Linux)/7.2.0-GA2598)
1 0.51 %
12 Zimbra 7.2.0-GA2598 (ZimbraWebClient - FF3.0 (Win)/7.2.0-GA2598)
1 0.51 %
13 Claws Mail 3.9.0 (GTK+ 2.24.22; x86_64-pc-linux-gnu)
1 0.51 %
  other 0 0.00 %

Table of maximal quoting:

   Author   Percent 
1 mstjohns@comcast.net 43.40 %
2 f.disciascio@dromedian.com 41.76 %
3 r.rezaian@earthlink.net 37.40 %
4 munoz0raul@gmail.com 32.94 %
5 jan@dotplex.de 28.82 %
6 mailman@hanez.org 26.76 %
7 michaelbender@me.com 26.57 %
8 wolfgang.korn@gmx.de 24.81 %
9 wdick@urgewalten.de 24.61 %
10 ignacio.casal@nice-software.com 23.11 %
11 muscle@mail4steve.bestmail.us 23.01 %
12 fdeybach@gmail.com 22.99 %
13 martin@martinpaljak.net 22.16 %
14 murilo.duarte@unitau.com.br 19.95 %
15 deengert@anl.gov 19.88 %
16 samduke474@gmail.com 19.43 %
17 ddelgado@idoneum.net 18.32 %
18 crosser@average.org 15.92 %
19 michael.traut@gmail.com 15.73 %
20 00cpxxx@gmail.com 15.12 %
21 fdimitriou@tmm-software.com 13.90 %
22 ludovic.rousseau@gmail.com 12.67 %
23 frank@apsu.be 12.17 %
24 muscle-bounces@lists.musclecard.com 12.04 %
25 fgrieu@gmail.com 10.84 %
26 rp@referencepoint.co.uk 10.70 %
27 anand.renju.mailing.list@gmail.com 10.20 %
28 nmav@redhat.com 9.70 %
29 JShun@wyse.com 9.53 %
30 cmar@eurotux.com 8.58 %
  average 5.02 %

Graph showing number of messages written during hours of day:

msgs
7
|
1
|
1
|
0
|
0
|
0
|
3
|
3
|
12
|
13
|
18
|
14
|
10
|
15
|
20
|
11
|
10
|
19
|
10
|
6
|
7
|
6
|
8
|
4
|
hour
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Graph showing number of messages written during days of month:

msgs
4
|
6
|
15
|
10
|
5
|
5
|
2
|
10
|
4
|
0
|
4
|
3
|
8
|
7
|
10
|
11
|
10
|
8
|
9
|
19
|
4
|
8
|
3
|
3
|
6
|
6
|
2
|
4
|
7
|
4
|
1
|
day
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Graph showing number of messages written during days of week:

msgs
22
|
39
|
32
|
39
|
48
|
7
|
11
|

Mon Tue Wed Thu Fri Sat Sun

Maximal quoting:

Author : samduke474@gmail.com
Subject : [Muscle] PCSCLite: SCardControl cutting off data?

Date : Tue, 14 May 2013 17:02:56 +0100

Quote ratio: 74.93% / 4408 bytes

Longest message:

Author : christopherarges@gmail.com
Subject : [Opensc-devel] issues with smartcards and openvpn when
Date : Thu, 14 Feb 2013 16:05:27 -0600
Size : 2616170 bytes

Most successful subject:

Subject : [Muscle] GP 2.2 INITIALIZE UPDATE (0x50) oddness
No. of msgs: 16
Total size : 88655 bytes

Final summary:

Total number of messages: 198
Total number of different authors: 52
Total number of different subjects: 82
Total size of messages (w/o headers): 4155394 bytes
Average size of a message: 20986 bytes

OpenSC mailing list statistics for 2013

The OpenSC-devel mailing list number of messages is decreasing again. Statistics for previous years are available in OpenSC mailing list statistics for 2011, OpenSC mailing list statistics for 2012.

Year Total number of messages Progression
2011 3214
2012 626 -80 %
2013 317 -49 %

In November 2012 the project moved from opensc-project.org to github at https://github.com/OpenSC/OpenSC (see https://github.com/OpenSC/OpenSC/wiki/OpenSC-Services). So some communication is happening in the github bug tracker and no more on the opensc-devel mailing list.

So the drop in half of the number of messages sent to the mailing list is not just an indication that the project
is calming down. The communication has moved to other channels.



Statistics from 1.1.2013 to 23.12.2013
for muscle@lists.musclecard.com



People who have written most messages:

   Author   Msg   Percent 
1 deengert@anl.gov 44 13.88 %
2 ludovic.rousseau@gmail.com 32 10.09 %
3 andreas.schwier.ml@cardcontact.de 24 7.57 %
4 martin@martinpaljak.net 24 7.57 %
5 anthony.foiani@gmail.com 17 5.36 %
6 alon.barlev@gmail.com 16 5.05 %
7 fdeybach@gmail.com 14 4.42 %
8 anders.rundgren.net@gmail.com 9 2.84 %
9 jmpoure@gooze.eu 8 2.52 %
10 viktor.tarasov@gmail.com 7 2.21 %
11 ml@os2.kiev.ua 6 1.89 %
12 koetter@rrzn.uni-hannover.de 6 1.89 %
13 morgner@informatik.hu-berlin.de 6 1.89 %
14 sushma.yella@gmail.com 5 1.58 %
15 petr.pisar@atlas.cz 5 1.58 %
16 andreas@ionisiert.de 5 1.58 %
17 argemat1010@gmail.com 5 1.58 %
18 christopherarges@gmail.com 4 1.26 %
19 andreas.schwier@cardcontact.de 4 1.26 %
20 anders.rundgren@telia.com 4 1.26 %
21 Johannes.Becker@hrz.uni-giessen.de 4 1.26 %
22 lists@notatla.org.uk 4 1.26 %
23 opensc@secure-edge.com 3 0.95 %
24 sbrown1@ca.ibm.com 3 0.95 %
25 charlie.bancroft@gmail.com 3 0.95 %
26 ttaylor@mitre.org 3 0.95 %
27 J.Witvliet@mindef.nl 3 0.95 %
28 sanaullah82@gmail.com 3 0.95 %
29 n.mavrogiannopoulos@gmail.com 2 0.63 %
30 bh@udev.org 2 0.63 %
  other 42 13.25 %

Best authors, by total size of their messages (w/o quoting):

   Author   KBytes 
1 ludovic.rousseau@gmail.com 2179.4
2 alon.barlev@gmail.com 842.9
3 deengert@anl.gov 412.2
4 andreas.schwier.ml@cardcontact.de 274.7
5 christopherarges@gmail.com 251.2
6 martin@martinpaljak.net 145.5
7 charlie.bancroft@gmail.com 137.3
8 anthony.foiani@gmail.com 127.9
9 fdeybach@gmail.com 110.4
10 sebastien.rabouin@atos.net 82.8
11 viktor.tarasov@gmail.com 76.0
12 anders.rundgren.net@gmail.com 72.5
13 dariusz@cryptotech.com.pl 62.7
14 jmpoure@gooze.eu 54.0
15 petr.pisar@atlas.cz 45.4
16 Johannes.Becker@hrz.uni-giessen.de 45.0
17 koetter@rrzn.uni-hannover.de 44.4
18 tomas.lavicky@racom.eu 42.1
19 andreas@ionisiert.de 37.8
20 morgner@informatik.hu-berlin.de 36.0
21 anders.rundgren@telia.com 33.9
22 ml@os2.kiev.ua 33.7
23 lists@notatla.org.uk 30.8
24 sushma.yella@gmail.com 30.6
25 argemat1010@gmail.com 26.7
26 andreas.schwier@cardcontact.de 22.4
27 ndk.clanbo@gmail.com 21.1
28 sbrown1@ca.ibm.com 19.6
29 J.Witvliet@mindef.nl 18.6
30 sanaullah82@gmail.com 18.1

Best authors, by average size of their message (w/o quoting):

   Author   bytes 
1 sebastien.rabouin@atos.net 84759
2 ludovic.rousseau@gmail.com 69740
3 christopherarges@gmail.com 64296
4 dariusz@cryptotech.com.pl 64201
5 alon.barlev@gmail.com 53948
6 charlie.bancroft@gmail.com 46860
7 tomas.lavicky@racom.eu 43090
8 jean-pierre.szikora@uclouvain.be 14143
9 andreas.schwier.ml@cardcontact.de 11721
10 german.blanco.blanco@gmail.com 11619
11 Johannes.Becker@hrz.uni-giessen.de 11516
12 viktor.tarasov@gmail.com 11119
13 ndk.clanbo@gmail.com 10794
14 jaroslav.imrich@gmail.com 9861
15 deengert@anl.gov 9593
16 petr.pisar@atlas.cz 9302
17 helpcrypto@gmail.com 8930
18 nmav@gnutls.org 8738
19 anders.rundgren@telia.com 8672
20 anders.rundgren.net@gmail.com 8253
21 fdeybach@gmail.com 8078
22 lists@notatla.org.uk 7875
23 andreas@ionisiert.de 7738
24 anthony.foiani@gmail.com 7706
25 arusso1111@yahoo.com 7652
26 mikma264@gmail.com 7605
27 koetter@rrzn.uni-hannover.de 7577
28 krzysztof@kress-net.com 7562
29 gary@garygapinski.com 7073
30 jmpoure@gooze.eu 6906

Table showing the most successful subjects:

   Subject   Msg   Percent 
1 [Opensc-devel] ECDSA, engine_pkcs11, libp11 and OpenSSL
11 3.47 %
2 [Opensc-devel] Google introduces Web-based smart card
8 2.52 %
3 [Opensc-devel] (Cross-)Compiling for windows
8 2.52 %
4 [Opensc-devel] Project Website
7 2.21 %
5 [Opensc-devel] W3C's/Gemalto's Web-based SC interface
7 2.21 %
6 [Opensc-devel] OpenSC 0.13 and FireFox
6 1.89 %
7 [Opensc-devel] SC-HSM under Windows 7 64-bit?
6 1.89 %
8 [Opensc-devel] IBM Security Solution for Android
6 1.89 %
9 [Opensc-devel] Problems with MyEID and fundamental changes to
6 1.89 %
10 [Opensc-devel] Issues connecting to OpenVPN with Smartcard
5 1.58 %
11 [Opensc-devel] opensc-pkcs11 in FireFox conflicting with
5 1.58 %
12 [Opensc-devel] PCSClite + OpenSC + RDesktop + Gemalto IDPrime
5 1.58 %
13 [Opensc-devel] Smartcard-HSM on Linux not found
5 1.58 %
14 [Opensc-devel] anyone tested spyrus token with pkcs11-tool?
5 1.58 %
15 [Opensc-devel] issues with smartcards and openvpn when
4 1.26 %
16 [Opensc-devel] Last minute patching
4 1.26 %
17 [Opensc-devel] Smartcard recognized by pcsc_scan but not opensc-tools
4 1.26 %
18 [Opensc-devel] piv-tool key generation
4 1.26 %
19 [Opensc-devel] opensc-explorer, PIN length 10
4 1.26 %
20 [Opensc-devel] crucial issue (for me): slot ID vs index in
4 1.26 %
21 [Opensc-devel] SKS/KeyGen2 for Linux
4 1.26 %
22 [Opensc-devel] opensc-explorer, PIN length 10 / sequel
4 1.26 %
23 [Opensc-devel] [engine_pkcs11] Various fixes and features
4 1.26 %
24 [Opensc-devel] Memory leaks with libp11 and engine-pkcs11
4 1.26 %
25 [Opensc-devel] Cheap pinpad smart card reader with "PIN firewall"
4 1.26 %
26 [Opensc-devel] opensc server mostly shutdown and disabled.
3 0.95 %
27 [Opensc-devel] OpenVPN, PKCS#11 and MacOSX
3 0.95 %
28 [Opensc-devel] C_Initialize
3 0.95 %
29 [Opensc-devel] MiniDriver Problem
3 0.95 %
30 [Opensc-devel] pkcs15 emu: Add object to specific slot
3 0.95 %
  other 168 53.00 %

Most used email clients:

   Mailer   Msg   Percent 
1 (unknown) 147 46.37 %
2 Mozilla/5.x 121 38.17 %
3 KMail 9 2.84 %
4 Evolution 3.4.4-3
6 1.89 %
5 git-send-email 1.8.1.5
5 1.58 %
6 Heirloom mailx 12.5 7/5/10
4 1.26 %
7 SquirrelMail/1.4.21
3 0.95 %
8 Lotus Notes Release 8.5 3 0.95 %
9 Mutt 3 0.95 %
10 Apple Mail (2.1503)
2 0.63 %
11 Evolution 3.4.4-2
2 0.63 %
12 Internet Messaging Program (IMP) H5 (6.0.2)
1 0.32 %
13 Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-unknown-linux-gnu)
1 0.32 %
14 Microsoft-MacOutlook/14.2.3.120616
1 0.32 %
15 Postbox 3.0.7 (Macintosh/20130119)
1 0.32 %
16 Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC24 (Win)/7.2.0_GA_2669)
1 0.32 %
17 YahooMailWebService/0.8.133.508
1 0.32 %
18 Microsoft Office Outlook 12.0
1 0.32 %
19 Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.4 (berkeley-unix)
1 0.32 %
20 szn-ebox-4.3.145
1 0.32 %
21 Claws Mail 3.9.1 (GTK+ 2.24.18; x86_64-pc-linux-gnu)
1 0.32 %
22 Apple Mail (2.1085)
1 0.32 %
23 Evolution 3.10.3 (3.10.3-1.fc20)
1 0.32 %
  other 0 0.00 %

Table of maximal quoting:

   Author   Percent 
1 warm@mtele.pro 33.06 %
2 ttaylor@mitre.org 31.85 %
3 koetter@rrzn-hiwi.uni-hannover.de 29.21 %
4 development@aventra.fi 28.34 %
5 fred.maison@gmail.com 27.62 %
6 Johannes.Becker@hrz.uni-giessen.de 27.18 %
7 lists@notatla.org.uk 26.93 %
8 sanaullah82@gmail.com 26.37 %
9 jmpoure@gooze.eu 25.47 %
10 J.Witvliet@mindef.nl 24.44 %
11 tb@purestorage.com 22.97 %
12 andreas@ionisiert.de 22.46 %
13 opensc@secure-edge.com 21.08 %
14 helpcrypto@gmail.com 20.88 %
15 deengert@anl.gov 20.76 %
16 morgner@informatik.hu-berlin.de 20.72 %
17 sbrown1@ca.ibm.com 19.80 %
18 dani.nicolo@gmail.com 19.34 %
19 daniel@pocock.com.au 18.76 %
20 koetter@rrzn.uni-hannover.de 18.63 %
21 anders.rundgren.net@gmail.com 18.40 %
22 jaroslav.imrich@gmail.com 18.24 %
23 argemat1010@gmail.com 17.78 %
24 viktor.tarasov@gmail.com 17.33 %
25 baran.murat@gmail.com 17.06 %
26 ramon.gonzalez@nasdaqomx.com 15.65 %
27 fdeybach@gmail.com 15.49 %
28 martin@martinpaljak.net 15.32 %
29 krzysztof@kress-net.com 14.12 %
30 sushma.yella@gmail.com 12.57 %
  average 8.08 %

Graph showing number of messages written during hours of day:

msgs
2
|
4
|
0
|
0
|
1
|
0
|
1
|
3
|
17
|
19
|
29
|
34
|
18
|
23
|
25
|
23
|
32
|
20
|
21
|
16
|
4
|
9
|
9
|
7
|
hour
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Graph showing number of messages written during days of month:

msgs
1
|
4
|
18
|
7
|
11
|
9
|
7
|
10
|
9
|
11
|
12
|
4
|
3
|
15
|
15
|
15
|
13
|
9
|
11
|
8
|
6
|
7
|
16
|
10
|
13
|
15
|
12
|
15
|
13
|
9
|
9
|
day
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Graph showing number of messages written during days of week:

msgs
49
|
66
|
44
|
53
|
59
|
31
|
15
|

Mon Tue Wed Thu Fri Sat Sun

Maximal quoting:

Author : alon.barlev@gmail.com
Subject : [Opensc-devel] PKCS11 Token Initialisation failure

Date : Thu, 28 Mar 2013 18:16:16 +0200

Quote ratio: 89.16% / 45876 bytes

Longest message:

Author : ludovic.rousseau@gmail.com
Subject : [Opensc-devel] issues with smartcards and openvpn when
Date : Fri, 15 Feb 2013 08:50:34 +0100
Size : 2057345 bytes

Most successful subject:

Subject : [Opensc-devel] ECDSA, engine_pkcs11, libp11 and OpenSSL
No. of msgs: 11
Total size : 100660 bytes

Final summary:

Total number of messages: 317
Total number of different authors: 67
Total number of different subjects: 146
Total size of messages (w/o headers): 6259569 bytes
Average size of a message: 19746 bytes

Parsing an ATR: now more web 2.0 friendly

I made some style evolution of the online ATR parser at https://smartcard-atr.appspot.com/.

You can have a look at the previous articles on the same subject: Parsing an ATR and Parsing an ATR: now in color.

The main page now looks like:



I am not a web designer. So I used already defined style from Bootstrap.
The website follows the responsive design. The pages are now adapted to any screen size: desktop or smartphone.

If you have ideas to improve the design or add new features just contact me.

New version of libccid: 1.4.14

I just released a version 1.4.14 of libccid the free software CCID class smart card reader driver.

Changes:
1.4.14 - 25 November 2013, Ludovic Rousseau

  • Add support of
    • Gemalto GemCore SIM Pro firmware 2.0 (using USB)
  • report FEATURE_IFD_PIN_PROPERTIES only for pinpad readers
  • Generalize the management of (old) readers with bDeviceClass = 0xFF
  • some minor bugs removed

Linux NFC driver conflicts with CCID driver for ACS ACR122U

Linux NFC subsystem

Since 2011 the Linux kernel provides a NFC subsystem for some NFC devices. The same device can be used by the Linux NFC subsystem and also my CCID driver. We then have a conflict!

The kernel driver will use the device before the CCID driver has a chance to use it. Loading the CCID driver in pcsc-lite will then fail with an error message: "Can't claim interface"

Devices supported by linux NFC drivers

According to drivers/nfc/pn533.c

Name idVendor idProduct
PN533 0x4CC 0x2533
SCM SCL3711 0x4E6 0x5591
SONY PASORI 0x054c 0x02e1
ACS ACR122U 0x072f 0x2200

The ACS ACR122U reader is also in the (unsupported) list of readers for my CCID driver.

So if you have such a reader and a "recent" Linux kernel (version 3.5 or more) you may not be able to use the CCID driver with this device.

Work around

So the CCID driver can use the ACS ACR122U you need to first unload the pn533 kernel driver.

[update April 14th 2017]

To remove the pn533 kernel module use:
$ sudo rmmod pn533

[update December 15th 2018]

The Linux kernel driver is loaded each time you plug the device. So using rmmod to unload the kernel driver will work only once and you would have to do it again and again.

To permanently remove the pn533 kernel module use something like:
$ sudo rm -r /lib/modules/*/kernel/drivers/nfc/pn533

OS X Mavericks and smart cards status

The new version of OS X 10.9 called Mavericks is now available since 22th October 2013. The operating system is now called OS X and not Mac OS X.



As I did with the previous major versions of Mac OS X Mountain Lion (and Lion) I will list changes in Maveriks regarding the smart card world.

pcsc-lite

Same version as in Mountain Lion. But seen bellow.

CCID driver

Same as in Mountain Lion.
CCID driver version 1.3.11.

$ grep -A 1 CFBundleShortVersionString /usr/libexec/SmartCardServices/drivers/ifd-ccid.bundle/Contents/Info.plist 
  <key>CFBundleShortVersionString</key>
  <string>1.3.11</string>

The binary is now 64-bits only in Mavericks when it was 32-bits only in Mountain Lion and previous versions.

$ file /usr/libexec/SmartCardServices/drivers/ifd-ccid.bundle/Contents/MacOS/libccid.dylib
/usr/libexec/SmartCardServices/drivers/ifd-ccid.bundle/Contents/MacOS/libccid.dylib: Mach-O 64-bit dynamically linked shared library x86_64

Source code

The source code is provided by Apple from the web site OS X 10.9 Source. The two components are available in:
The source code is not yet available in the subversion repository of the SmartCard Services project.

The source code for the smart card components in Mac OS X 10.8 is available at Mac OS X 10.8 Source. It is then easy to compare the two versions.

Changes


pcsc-lite


$ diff -ru SmartCardServices-55105 SmartCardServices-55111 | diffstat 
 Info-PCSC.plist                             |    2 
 SmartCardServices.xcodeproj/project.pbxproj |    7 -
 src/PCSC/PCSCDevice.h                       |    2 
 src/PCSC/PCSCDriverBundle.h                 |    2 
 src/PCSC/hotplug_macosx.cpp                 |    2 
 src/PCSC/pcscd_reader.h                     |    2 
 src/PCSC/pcscdaemon.c                       |   54 -----------
 src/PCSC/pcscdmonitor.h                     |    2 
 src/PCSC/pcscdserver.h                      |    2 
 src/PCSC/readerfactory.c                    |  127 ----------------------------
 src/PCSC/readerstate.h                      |    2 
 src/PCSC/sys_macosx.cpp                     |    2 
 12 files changed, 14 insertions(+), 192 deletions(-)

The respawn feature has been removed from pcscd. This feature has been added in Lion and allows a 64-bits pcscd to restart in 32-bits if it find a 32-bits only driver. See Mac OS X Lion and smart cards status for some more details.

I also note that the support of Rosetta is still present. This has been added during Tiger (10.4 released in 2006) to support the migration from PowerPC and Intel processors. The idea is to be able to use a PowerPC (big endian) PC/SC client talking to an Intel (little endian) pcscd server. Some functions inside pcsc-lite are used to do the needed conversions like SHSharedSegmentMsgToNetworkOrder() and SHSharedSegmentMsgToHostOrder() in src/PCSC/winscard_msg.cpp.

libccid


$ diff -ru SmartcardCCID-55000 SmartcardCCID-55005 | diffstat 
diff: SmartcardCCID-55000/libusb/libusb/compile: No such file or directory
diff: SmartcardCCID-55000/libusb/libusb/config.guess: No such file or directory
diff: SmartcardCCID-55000/libusb/libusb/config.sub: No such file or directory
diff: SmartcardCCID-55000/libusb/libusb/depcomp: No such file or directory
diff: SmartcardCCID-55000/libusb/libusb/install-sh: No such file or directory
diff: SmartcardCCID-55000/libusb/libusb/ltmain.sh: No such file or directory
diff: SmartcardCCID-55000/libusb/libusb/missing: No such file or directory
 Makefile                       |    2 
 files/automake_copy.patch      |only
 files/darwin_no_seize.patch    |only
 libusb/Makefile.in             |  372 -
 libusb/aclocal.m4              | 1404 +++-
 libusb/autogen.sh              |    4 
 libusb/autom4te.cache/output.0 |11877 +++++++++++++++++++----------------------
 libusb/autom4te.cache/output.1 |11877 +++++++++++++++++++----------------------
 libusb/autom4te.cache/requests |   80 
 libusb/autom4te.cache/traces.0 |  754 +-
 libusb/autom4te.cache/traces.1 |  155 
 libusb/config.h.in             |   20 
 libusb/configure               |11767 +++++++++++++++++++---------------------
 libusb/darwin.c                |    6 
 libusb/doc/Makefile.in         |   51 
 libusb/tests/Makefile.in       |  168 
 16 files changed, 18722 insertions(+), 19815 deletions(-)

Only some files needed to rebuild the binary have been updated. libusb version is still libusb-0.1.13b and libccid is still ccid-1.3.11.

Impacts of the changes


Since the respawn feature has been removed from pcscd a 32-bits (Intel) only driver will not be usable on Mavericks. You have to provide a 64-bits (or Universal Binary with 32-bits and 64-bits) so it can be used on Mavericks.


Conclusion

Apple has not really updated the smart card components in Mavericks, or Mountain Lion or Lion. No bug or limitation has been fixed. And no new bug have been introduced.
Only 64-bits smart card drivers are usable on Mavericks.

The CCID driver provided (version 1.3.11) has been released on July 2009, 4 years ago. Since this version 146 readers have been added (112% more). Yes, more readers have been added since 1.3.11 than readers supported in version 1.3.11.

New version of pcsc-lite: 1.8.10

I just released a new version of pcsc-lite 1.8.10.

This version is a bug fix for the version 1.8.9 I released 3 days ago.

When making the Debian package for pcsc-lite the lintian tool reported that a new symbol log_msg was exported by the client library libpcsclite.so.1. This symbol is NOT part of the WinSCard API and should not be exported. It was a bug and needed to be fixed soon to avoid problems in PC/SC applications (like symbol conflict).

Changes:
pcsc-lite-1.8.10: Ludovic Rousseau
19 October 2013

  • do not export the internal log_msg symbol from libpcsclite.so.1

New version of pcsc-lite: 1.8.9

I just released a new version of pcsc-lite 1.8.9.

Changes:
pcsc-lite-1.8.9: Ludovic Rousseau
16 October 2013

  • SCardEndTransaction(): Return an error if is called with no corresponding SCardBeginTransaction()
  • SCardGetAttrib(): Add support of SCARD_ATTR_DEVICE_SYSTEM_NAME
  • SCardGetAttrib(): Fix bug in SCARD_ATTR_DEVICE_FRIENDLY_NAME
  • SCardBeginTransaction() was not correctly releasing a mutex when the hCard handle was invalidated
    The problem was that SCardGetStatusChange() was blocked because SCardBeginTransaction() had not released the context mutex.
  • PCSC/reader.h: Use C99 flexible array member
    The structures PIN_MODIFY_STRUCTURE and PIN_VERIFY_STRUCTURE now use a C99 flexible array member when available for abData field.
    uint8_t abData[];
  • Add support of --reader-name-no-serial and --reader-name-no-interface
    It is now possible to NOT add the USB serial number of the reader using --reader-name-no-serial
    It is now possible to NOT add the CCID interface name of the reader using --reader-name-no-interface
  • Add support of serialconfdir pkg-config variable
    It is now possible to use pkg-config to get the directory used by pcscd to fetch serial drivers configurations.
    $ pkg-config libpcsclite --variable=serialconfdir
    /etc/reader.conf.d
  • pcsc-spy: Try to display the thread in the order they appear in the log
  • pcsc-spy: Add SCARD_ATTR_DEVICE_SYSTEM_NAME
  • Check the Info.plist file is (a minimum) correct
  • Update PROTOCOL_VERSION_MINOR from 2 to 3
    We broke the API between version 1.8.3 and 1.8.4 by changing the value of MAX_READERNAME. This change should have been made before releasing version 1.8.4 to make mix of versions clearly non working instead of failing with strange errors.
  • hotplug_libudev.c: Fix a memory leak in case of error
  • Fix OpenBSD 5.2 compilation regarding dlopen
  • correctly manage thread safe multi-slot readers
  • Do not use pthread_atfork() any more (fix problem on FreeBSD)
  • fix memory leaks.
    This was not really a problem unless you embedd pcscd in another process and do init/deinit pcscd without exiting the process (as maybe used on Android or iOS).
  • pcscd.8 manpage: add documentation for --max-thread, --max-card-handle-per-thread, --max-card-handle-per-reader, --force-reader-polling, --error, --critical and --color
  • Some other minor improvements and bug corrections