[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:       Juanjo via Gnupg-users <gnupg-users () gnupg ! org>
Date:       2023-07-07 10:26:20
Message-ID: CANRz7yXybdojRLocN6HuLwBLYrOsXGH3R4TtgPLuQ2jGGZ51yQ () mail ! gmail ! com
[Download RAW message or body]

On Fri, Jul 7, 2023 at 12:07 PM Ingo Klöcker <kloecker@kde.org> wrote:
>
> 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`).

I have already tried this with no success.

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

I will take a look at this.

> Regards,
> Ingo

Thanks for your fast response Ingo.

Regards,
Juanjo

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

_______________________________________________
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