[PATCH gnupg] scd: Add Nitrokey 3 to pcsc-shared interference detection

Werner Koch wk at gnupg.org
Tue Jun 30 14:00:19 CEST 2026


On Tue, 30 Jun 2026 11:41, Robin Krahl said:
> Hi,
>
> there are multiple functions other than the PCSC connection handling
> that have special cases for CARDTYPE_YUBIKEY. I fear that treating a
> Nitrokey as a Yubikey could cause new problems unless these functions
> are reviewed carefully.

For example in card_get_dispserialno we use a formatting depening on how
Yubico prints it on their tokes.  It is unlikley that Nitrokey does the
same.

We also print the card type in the gpg-card output. 

Better have a macro then to check for similar behaviour.


Shalom-Salam,

   Werner



-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 284 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20260630/446c1e0a/attachment.sig>


More information about the Gnupg-devel mailing list