Re: Typical smartcard response times
"Marian Ďurkovič" <[email protected]> Tue, 11 Feb 2020 08:25:41 +0100
| Newsgroups | gmane.comp.encryption.opensc.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 10 Feb 2020 21:36:18 +0100, Ludovic Rousseau wrote > Have you tried what Peter wrote in a previous email: > 1. using OPENSC_DEBUG=255 -> exact timing of APDUs > > Compare a log generated on macOS with a log generated on Linux for the > same command, like "pkcs11-tool -login -O" > > It would be nice to known what parts are slower on macOS than on Linux. > Maybe it is the APDU processing, maybe not. Quick look shows APDU processing seems to be OK - also starting from 6 msec: P:4574; T:0x140736015000448 08:01:24.955 [opensc-pkcs11] reader-pcsc.c:298:pcsc_transmit: Outgoing APDU (5 bytes): 00 B0 00 00 19 ..... P:4574; T:0x140736015000448 08:01:24.955 [opensc-pkcs11] reader-pcsc.c:216:pcsc_internal_transmit: called P:4574; T:0x140736015000448 08:01:24.961 [opensc-pkcs11] reader-pcsc.c:307:pcsc_transmit: Incoming APDU (27 bytes): A8 06 30 04 04 02 40 08 A0 06 30 04 04 02 40 00 [email protected]...@. A4 06 30 04 04 02 40 04 00 90 00 ..0...@.... P:4574; T:0x140736015000448 08:01:24.962 [opensc-pkcs11] apdu.c:382:sc_single_transmit: returning with: 0 (Success) Need to work on it further. Thanks & kind regards, MD