<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 29, 2021 at 11:08 PM Ingo Klöcker <<a href="mailto:kloecker@kde.org">kloecker@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Montag, 29. März 2021 15:09:02 CEST J Rt via Gnupg-users wrote:<br>
> Hi all,<br>
> <br>
> I am using several smartcards with the same private key for redundancy in<br>
> case I lose one of them. I have been doing so for several years, and<br>
> occasionally changing which card I use has always been a bit of a hazzle<br>
> (in the lines of for example the discussion here:<br>
> <a href="https://sven-seeberg.de/wp/?p=967" rel="noreferrer" target="_blank">https://sven-seeberg.de/wp/?p=967</a> ).<br>
> <br>
> This is not a super big deal, I can fix this easily with a method similar<br>
> to what is explained on the blog, but still, it is a bit annoying to need<br>
> to fix things by hand.<br>
> <br>
> My questions are:<br>
> <br>
> - is there a better / simpler way to register several cards that are<br>
> interchangeable?<br>
> - if not, any hope this may be added some day / where could I ask for such<br>
> a feature / is there some WIP already working on this?<br>
<br>
The upcoming GnuPG 2.3 (which is currently in beta testing) supports using <br>
several smartcards with the same private key. gpg simply checks if any of the <br>
inserted smartcards provide the secret key and then uses this smartcard. If no <br>
inserted smartcard provides the secret key, then gpg will ask for the <br>
smartcard registered in the stub file. But you can insert any card providing <br>
the key. gpg does not insist on using the smartcard listed in the stub file.<br>
<br>
This may or may not work with a recent version of gpg 2.2 already because <br>
quite a few things were backported to the 2.2 series.<br>
<br>
What gpg 2.3 does not do is register multiple smartcards in the stub files <br>
and, consequently, gpg does not ask for all smartcards that provide the secret <br>
key. It's up to you to keep track of which of your multiple smartcards provide <br>
the needed secret key.<br>
<br>
Regards,<br>
Ingo<br>
_______________________________________________<br>
Gnupg-users mailing list<br>
<a href="mailto:Gnupg-users@gnupg.org" target="_blank">Gnupg-users@gnupg.org</a><br>
<a href="http://lists.gnupg.org/mailman/listinfo/gnupg-users" rel="noreferrer" target="_blank">http://lists.gnupg.org/mailman/listinfo/gnupg-users</a></blockquote><div><br></div><div>Ok, many thanks for the explanation! Then this means that I should "just" wait for 2.3 :) . Hope this</div><div>comes to the next Ubuntu LTS release :) .<br></div></div></div>