Yubikeys and GnuPG 2.2/2.3

Werner Koch wk at gnupg.org
Mon Jan 10 14:05:18 CET 2022

On Fri,  7 Jan 2022 16:23, Marko Božiković said:

> My scdaemon.conf has a single line:
> card-timeout 1

Please remove this at least for testing.

> log-file <path to log file>
> debug-level basic
> verbose

Please change the 

  debug-level ...


  debug ipc,app,cardio

Actually you should have seen a debug line "Yubikey: config=" due to the
verbose option.   The "cardio" above returns all commands (so-called
APDUs) send to the card.  This should help to reveal the problem.

> 2022-01-07 15:53:58 scdaemon[9960] pcsc_connect failed: sharing violation
> (0x8010000b)

Some other process is accessing the Yubikey.  But as you already know


is a good workaround here which usually works fine.  You may send me the
log by PM if it is too large



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20220110/99301f50/attachment.sig>

More information about the Gnupg-users mailing list