It takes 8-9 secs until pinentry asks for the PIN of the OpenPGP card

Matthias Apitz guru at unixarea.de
Thu May 16 08:18:00 CEST 2024


El día jueves, mayo 16, 2024 a las 03:00:52 +0900, NIIBE Yutaka escribió:

> Hello,
> 
> I wonder if it taks always 8-9 secs, or it's only for the first time.
> 
> Matthias Apitz <guru at unixarea.de> wrote:
> > /tmp/scdaemon-debug.log:
> [...]
> > 2024-05-15 11:07:58 scdaemon[16983] DBG: chan_7 <- SERIALNO
> >
> > It takes 8 secs until scdaemon detects the reader, waht does this maen?
> >
> > 2024-05-15 11:08:06 scdaemon[16983] detected reader 'L5 built-in SmartCard Reader 00 00'
> > 2024-05-15 11:08:06 scdaemon[16983] detected reader 'L5 built-in SmartCard Reader 00 01'
> 
> The scdaemon dynamically loads PC/SC shared library and asks PC/SC
> service for available card readers.  PC/SC service is invoked, if not
> there.  Then, PC/SC service dynamically loads serial driver
> (libccidtwin.so).  And it's the serial driver which accesses the card
> access chip (IIUC, it's STM32L4xx).  That's what is going on.
> 
> But 8 seconds are too much.  Something is going wrong...

purism at pureos:~$ date ; scp foo $ua:. ; date
Thu 16 May 2024 08:10:56 AM CEST
foo                                           100%    0     0.0KB/s   00:00
Thu 16 May 2024 08:11:11 AM CEST

15 secs (~4-5 of them to enter the PIN)

purism at pureos:~$ date ; scp foo $ua:. ; date
Thu 16 May 2024 08:11:22 AM CEST
foo                                           100%    0     0.0KB/s   00:00
Thu 16 May 2024 08:11:30 AM CEST

8 secs (~4-5 of them to enter the PIN)

purism at pureos:~$ date ; scp foo $ua:. ; date
Thu 16 May 2024 08:11:42 AM CEST
foo                                           100%    0     0.0KB/s   00:00
Thu 16 May 2024 08:11:49 AM CEST

7 secs (~4-5 of them to enter the PIN)

purism at pureos:~$ date ; scp foo $ua:. ; date
Thu 16 May 2024 08:12:33 AM CEST
foo                                           100%    0     0.0KB/s   00:00
Thu 16 May 2024 08:12:41 AM CEST

8 secs  (~4-5 of them to enter the PIN)

It seems that the first time is longer. I will increase the debug-level
for scdaemon.

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.  Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.



More information about the Gnupg-users mailing list