Re: Typical smartcard response times

Ludovic Rousseau <[email protected]> Sun, 9 Feb 2020 13:53:46 +0100
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <CAGstE8C7dRp5S6fcZqVbC902ibGXtELqpggNreJiV=gwuNBd-Q@mail.gmail.com>
Le dim. 9 févr. 2020 à 10:25, Marian Ďurkovič <[email protected]> a écrit :
>
> Hi all,

Hello,

> during experiments with Slovak eID cards it became apparent, that every single operation takes > 500 msec.
>
> When the eID is not inserted in USB reader, everything works quite fast:
>
> time pkcs11-tool --module /Library/OpenSC/lib/pkcs11-spy.so -L
> Available slots:
> Slot 0 (0x0): Gemalto PC Twin Reader
>   (empty)
>
> real    0m0.060s
> user    0m0.007s
> sys     0m0.009s
>
> However, as soon as the eID is inserted, it changes significantly:
>
> real    0m2.586s
> user    0m0.053s
> sys     0m0.046s
>
> Spy library shows, that with inserted eID, every single operation (C_Initialize, C_GetSlotList, C_GetSlotInfo, C_GetTokenInfo) takes > 500 msec. The same happens with official drivers.
>
> As a result, the whole procedure to e.g. pull a certificate from this eID takes about 7 seconds...
>
> Is this expected behaviour? What are typical response times for other smartcards?

The speed depends on many factors. One of them is the speed between
the card and the reader.
Some cards are faster than others.
Some readers are faster than others.

What is the ATR of your cards?

Bye

-- 
 Dr. Ludovic Rousseau


_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel