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

Werner Koch via Gnupg-devel <[email protected]> Tue, 30 Jun 2026 14:00:19 +0200
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
--===============5358914649934320315==
Content-Type: multipart/signed; boundary="=LRTS_ASIO_Shootout_HTCIA_smugglers_data_haven_SLIP_Disaster_manageme";
	micalg=pgp-sha512; protocol="application/pgp-signature"

--=LRTS_ASIO_Shootout_HTCIA_smugglers_data_haven_SLIP_Disaster_manageme
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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.=20

Better have a macro then to check for similar behaviour.


Shalom-Salam,

   Werner



=2D-=20
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

--=LRTS_ASIO_Shootout_HTCIA_smugglers_data_haven_SLIP_Disaster_manageme
Content-Type: application/pgp-signature; name="openpgp-digital-signature.asc"

-----BEGIN PGP SIGNATURE-----

iJ8EARYKAEcWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCakOv0xsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDINHHdrQGdudXBnLm9yZwAKCRAZzByeCFsQelI4AQDd
g3jE7tsvSFMd4lxstccSVV8oZ1YwJCeYv5h36mIcqQD/T7jorifvgEZ5eNm0Exjy
Ch5UAuHjgqcuGIQTo0PTdAw=
=y8k+
-----END PGP SIGNATURE-----
--=LRTS_ASIO_Shootout_HTCIA_smugglers_data_haven_SLIP_Disaster_manageme--



--===============5358914649934320315==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel

--===============5358914649934320315==--