Important!

Blog moved to https://blog.apdu.fr/

I moved my blog from https://ludovicrousseau.blogspot.com/ to https://blog.apdu.fr/ . Why? I wanted to move away from Blogger (owne...

Wednesday, January 9, 2013

MUSCLE mailing list statistics for 2012

A new year is a good time for analysis of the past. As I did in 2009, 2010 and 2011 I propose some statistics of the MUSCLE mailing list usage.

Year Total number of messages Progression
2009603
2010718+19%
2011999+39%
2012207-79%



You can notice a huge drop in the number of messages.

I have no real explanation in this drop of number of messages:
  • Maybe PC/SC on Unix is mature enough and problems are now solved (or with solutions available from the mailing list archives, blogs, etc.).
  • Maybe PC/SC is a dead API, smart card is a dying technology and people are moving to something else/newer/more fun like NFC
  • I also note that the activity of the PC/SC workgroup is very limited. Microsoft is no more a member of the PC/SC workgroup. Do not expect many changes in the Windows PC/SC layer.
If you have an explanation to the decrease of messages please add a comment to this article.

Statistics from 3.1.2012 to 11.12.2012
for muscle@lists.musclecard.com



People who have written most messages:


 Author  Msg  Percent
1ludovic.rousseau@gmail.com6631.88 %
2jmpoure@gooze.eu136.28 %
3helpcrypto@gmail.com125.80 %
4frank@apsu.be104.83 %
5martin@martinpaljak.net62.90 %
6muscle-bounces@lists.musclecard.com62.90 %
7mvogt1@googlemail.com52.42 %
8richter@ecos.de52.42 %
9godfreyhkchung@gmail.com41.93 %
10quannguyen@mbm.vn41.93 %
11opensc@secure-edge.com41.93 %
1200cpxxx@gmail.com41.93 %
13gladion89@live.com31.45 %
14s.ferey@wanadoo.fr31.45 %
15s4ms0n0v@gmail.com31.45 %
16diegobravoestrada@hotmail.com31.45 %
17james@thesouthwells.com31.45 %
18john@darrington.wattle.id.au31.45 %
19sebastien@lorquet.fr31.45 %
20mstjohns@comcast.net20.97 %
21h0wdyd3wdy@gmail.com20.97 %
22mvogt1@gmail.com20.97 %
23amiad.salton@gmail.com20.97 %
24folkert@vanheusden.com20.97 %
25raghavendhra.chowdary@geodesic.com20.97 %
26jcristiano.c@gmail.com20.97 %
27deengert@anl.gov20.97 %
28detlef.graef@yahoo.de10.48 %
29anze.stojilkovic@policija.si10.48 %
30guilherme.a.welter@gmail.com10.48 %
other2813.53 %

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


 Author  KBytes
1ludovic.rousseau@gmail.com375.8
2iulian.roman@gmail.com288.9
3jmpoure@gooze.eu113.1
4helpcrypto@gmail.com71.0
5frank@apsu.be64.2
6muscle-bounces@lists.musclecard.com51.3
7rns_course@yahoo.com27.9
8cyberurchin@gmail.com26.0
9richter@ecos.de25.6
10martin@martinpaljak.net24.1
11mvogt1@gmail.com21.2
12raghavendhra.chowdary@geodesic.com21.0
13deengert@anl.gov19.8
14mikko.hurskainen@notava.com18.8
15gladion89@live.com18.4
16quannguyen@mbm.vn17.4
17marti@juffo.org14.6
18roger.brown@snapper.co.nz14.5
19mstjohns@comcast.net12.5
20s.ferey@wanadoo.fr12.2
21diegobravoestrada@hotmail.com11.9
22sebastien@lorquet.fr11.5
23h0wdyd3wdy@gmail.com11.5
24dani.nicolo@gmail.com11.1
25godfreyhkchung@gmail.com10.1
26mvogt1@googlemail.com9.6
27amiad.salton@gmail.com9.0
28folkert@vanheusden.com8.9
29james@thesouthwells.com8.8
30guilherme.a.welter@gmail.com7.9

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


 Author  bytes
1iulian.roman@gmail.com295863
2rns_course@yahoo.com28619
3cyberurchin@gmail.com26609
4mikko.hurskainen@notava.com19284
5marti@juffo.org14903
6roger.brown@snapper.co.nz14797
7dani.nicolo@gmail.com11336
8mvogt1@gmail.com10862
9raghavendhra.chowdary@geodesic.com10765
10deengert@anl.gov10139
11jmpoure@gooze.eu8908
12muscle-bounces@lists.musclecard.com8760
13guilherme.a.welter@gmail.com8050
14pakorodri@gmail.com7962
15frank@apsu.be6575
16mstjohns@comcast.net6410
17gladion89@live.com6269
18helpcrypto@gmail.com6055
19andreas.schwier@cardcontact.de5889
20h0wdyd3wdy@gmail.com5873
21ludovic.rousseau@gmail.com5830
22Shilpa.Shilpa@shell.com5571
23rivoli.durand@laposte.net5491
24richter@ecos.de5252
25detlef.graef@yahoo.de4831
26fmauraton@insidefr.com4679
27amiad.salton@gmail.com4584
28folkert@vanheusden.com4544
29quannguyen@mbm.vn4460
30goister@gmail.com4290

Table showing the most successful subjects:


 Subject  Msg  Percent
1[Muscle] acsccid 1.0.3 Released125.80 %
2[Muscle] Is there a way to know if a reader is contactless?115.31 %
3[Muscle] CryptoStick (OpenPGP card) fail with USB 3.094.35 %
4[Muscle] Re: WriteUSB() write failed (2/85): -4 No such device73.38 %
5[Muscle] [PATCH] fix deadlock in PCSC-Lite62.90 %
6[opensc-devel] [Muscle] Ubuntu 12.04 smartcard reader install?52.42 %
7[Muscle] pcscd: Misleading error message41.93 %
8[Muscle] Compiling ccid-1.4.5 under Mac OS X Lion41.93 %
9[Muscle] "Reader name too long" + suggested workaround41.93 %
10[Muscle] pcscd is not launched autmatically41.93 %
11[Muscle] MUSCLE mailing list disruption. Now back to normal.41.93 %
12[Muscle] Re: Android Smartcard reader for Smasung Galaxy31.45 %
13[Muscle] Gemalto smartcard31.45 %
14[Muscle] Puzzling limit on number of created threads in PCSC:31.45 %
15[Muscle] ANY possibilities of using google chrome with cac reader?31.45 %
16[Muscle] Problem with PCSC reader from dealextreme31.45 %
17[Muscle] Frequency of polling by PCSCD31.45 %
18[Muscle] Starting pcscd hang when KOBIL KAAN SIM III is connected31.45 %
19[Muscle] Remove of token fails (was: Starting pcscd hang when31.45 %
20[Muscle] How to identify a smartcard reader serial number31.45 %
21[Pcsclite-muscle] Insufficient buffer error message31.45 %
22[Muscle] Gemalto USB Shell Token and OS X 10.720.97 %
23[Muscle] Error loading MuscleCard Applet20.97 %
24[Muscle] Problem encountered on SCardEstablishContext20.97 %
25[Muscle] Hang when using SCardCancel? (Ubuntu 10.04.04)20.97 %
26[Muscle] Submission on pcsc-lite 1.8.2 to backports20.97 %
27[MUSCLE] encryption problems20.97 %
28[Muscle] IfdHandler Lun parameter20.97 %
29[Muscle] IfdHandler Lun parameter

20.97 %
30[Muscle] Any advise running a farm with 77 readers attached20.97 %
other8943.00 %

Most used email clients:


 Mailer  Msg  Percent
1(unknown)13665.70 %
2Mozilla/5.x3717.87 %
3Evolution 3.2.2-1 94.35 %
4Zarafa 7.0.4-3123552.42 %
5Mutt52.42 %
6QUALCOMM Windows Eudora20.97 %
7Evolution 3.2.2-1+b1 20.97 %
8Microsoft Outlook 14.020.97 %
9Apple Mail (2.1257)20.97 %
10Loom/3.14 (http://gmane.org/)10.48 %
11Evolution 3.4.3 (3.4.3-1.fc17)10.48 %
12Evolution 3.4.3-1 10.48 %
13slrn/0.9.9p1 (FreeBSD)10.48 %
14YahooMailWebService/0.8.123.46010.48 %
15Evolution 3.4.4-1 10.48 %
other10.48 %

Table of maximal quoting:


 Author  Percent
1james@thesouthwells.com74.83 %
2mathieu.renversade@hmn.aphp.fr67.11 %
3fgrieu@gmail.com45.89 %
400cpxxx@gmail.com43.30 %
5dimitris.zenios@gmail.com30.15 %
6godfreyhkchung@gmail.com29.94 %
7martin@martinpaljak.net29.44 %
8h0wdyd3wdy@gmail.com28.88 %
9diegobravoestrada@hotmail.com28.32 %
10xoanteis@gmail.com25.67 %
11anze.stojilkovic@policija.si24.73 %
12Shilpa.Shilpa@shell.com24.36 %
13cyriltan@digisafe.com23.73 %
14gladion89@live.com23.02 %
15s.ferey@wanadoo.fr22.35 %
16s4ms0n0v@gmail.com22.14 %
17opensc@secure-edge.com21.63 %
18mvogt1@googlemail.com20.74 %
19mstjohns@comcast.net20.33 %
20pika1021@gmail.com18.12 %
21raghavendhra.chowdary@geodesic.com17.60 %
22corcordt@me.com16.70 %
23saper@saper.info16.32 %
24jmpoure@gooze.eu16.13 %
25deengert@anl.gov15.02 %
26goister@gmail.com14.77 %
27dani.nicolo@gmail.com14.34 %
28frank.r.peters@gmx.net13.88 %
29muscle-bounces@lists.musclecard.com13.78 %
30andreas.schwier@cardcontact.de13.58 %
average11.06 %

Graph showing number of messages written during hours of day:


msgs3
|
2
|
1
|
0
|
0
|
1
|
1
|
2
|
4
|
19
|
17
|
12
|
15
|
18
|
22
|
18
|
21
|
9
|
13
|
7
|
5
|
9
|
4
|
3
|
hour 01234567891011121314151617181920212223

Warning: 1 message(s) not counted.


Graph showing number of messages written during days of month:


msgs4
|
3
|
8
|
5
|
14
|
8
|
11
|
4
|
8
|
4
|
13
|
7
|
1
|
4
|
0
|
5
|
4
|
12
|
6
|
5
|
6
|
8
|
7
|
8
|
7
|
8
|
4
|
11
|
8
|
6
|
7
|
day 12345678910111213141516171819202122232425262728293031

Warning: 1 message(s) not counted.


Graph showing number of messages written during days of week:


msgs21
|
50
|
31
|
48
|
28
|
16
|
12
|

MonTueWedThuFriSatSun

Warning: 1 message(s) not counted.


Maximal quoting:


Author : james@thesouthwells.com
Subject : [Muscle] Fwd: pcscd / firefox / ubuntu on android

Date : Wed, 17 Oct 2012 14:09:58 -0400

Quote ratio: 86.35% / 30237 bytes

Longest message:


Author : iulian.roman@gmail.com
Subject : [Pcsclite-muscle] Insufficient buffer error message
Date : Tue, 11 Dec 2012 13:02:44 +0100
Size : 296927 bytes

Most successful subject:


Subject : [Muscle] acsccid 1.0.3 Released
No. of msgs: 12
Total size : 105652 bytes

Final summary:


Total number of messages: 207
Total number of different authors: 57
Total number of different subjects: 105
Total size of messages (w/o headers): 1662908 bytes
Average size of a message: 8033 bytes



Input file last updated: Wed Jan 9 14:43:34 2013Generated by MailListStat v1.3

Wednesday, November 28, 2012

New version of pcsc-lite: 1.8.7

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

Changes:
pcsc-lite-1.8.7: Ludovic Rousseau
28 November 2012
  • Fix a problem when a reader is unplugged (and the reader is still in use)

Friday, November 23, 2012

New UI design for the online ATR parser

I made some graphical design (using CSS) for my Smart card ATR parsing online application.

I am not a web designer (you may have noticed). But I tried to make the interface nicer.

The new interface looks like:


If you want to work on a better design you are welcome. Contact me.

Related articles:

Friday, November 2, 2012

PCSC sample in lua

To continue the list of PC/SC wrapper initiated more than two years ago with "PC/SC sample in different languages" I now present a PC/SC sample in lua.

In a previous blog article "cardpeek: A tool to read the contents of smartcards" I presented an application using the lua language to interact with smart cards.

PC/SC access from lua

Cardpeek is a complete application and not a PC/SC wrapper. The cardpeek author implemented only what was needed for the application instead of a general PC/SC wrapper.

The card functions available from lua are:
  • connect
  • disconnect
  • warm_reset
  • last_atr
  • info
  • send
  • set_command_interval
  • make_file_path

One important missing function is an equivalent of SCardListReaders(). The list of available readers and selection of the reader to use is not available from the lua code. The reader selection is done by the cardpeek application using C code directly.

Some work is missing in order to have a complete PC/SC wrapper for lua.

Source code

function hex_tostring(data)
 local r = ""
 local i
 for i=0,#data-1 do
  r = r .. string.char(data[i]) 
 end 
 return r
end

if card.connect() then
 card.tree_startup("ATR")

 -- Select applet
 select = bytes.new(8, "00 A4 04 00 0A A0 00 00 00 62 03 01 0C 06 01")
 sw, resp = card.send(select)
 print(string.format("SW: %X", sw))
 print(resp)

 -- Send command
 command = bytes.new(8, "00 00 00 00")
 sw, resp = card.send(command)
 print(string.format("SW: %X", sw))
 print(hex_tostring(resp))

 card.disconnect()
end

Remarks

The output is sent to the console using the lua print() statement. You could also send the output to cardpeek using log.print() instead.

Output

In the console


SW: 9000

SW: 9000
Hello world!

In cardpeek




Conclusion

I reported some improvements for cardpeek (issues 13, 14, 15 and 16). One month after, the issues are still open and the proposed patches not applied or reviewed. A bad news concerning the state of the cardpeek project :-(.

This pseudo-wrapper is the 12th wrapper for PC/SC. What will be the next language?