[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: "gpg --card-edit" with multiple card readers (Yubikey)
From:       Ingo =?ISO-8859-1?Q?Kl=F6cker?= <kloecker () kde ! org>
Date:       2023-07-07 10:05:23
Message-ID: 13309951.uLZWGnKmhe () daneel
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Freitag, 7. Juli 2023 11:19:47 CEST Juanjo via Gnupg-users wrote:
> I'm using "gpg (GnuPG) 2.3.3" on AlmaLinux 9 and it works fine with a
> single "YubiKey 5 USB (5.4.3) [CCID]".
> 
> The issue comes when I plug more than one Yubikey.
> 
> I can use "gpg --card-status all" to retrieve the information of all
> connected Yubikeys or "gpg --card-status ID" (where ID is the value from
> field "Application ID") to retrieve the information of a pacific Yubikey.
> 
> I have tried to do the same with "gpg --card-edit" but this command does
> not support passing the ID of a specific Yubikey and it always selects the
> last plugged Yubikey.
> 
> So, is there a way to select a specific Yubikey for the "gpg --card-edit"
> command?

You may have luck with setting a specific reader-port (see `man scdaemon`).

But, unless you need to use the command line, it's probably much easier to use 
Kleopatra which supports multiple card readers and multiple card apps 
(OpenPGP, PIV) per reader out of the box. Kleopatra doesn't support everything 
`gpg --card-edit` or the new gpg-card tool support.

Regards,
Ingo

["signature.asc" (application/pgp-signature)]

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic