Using a different OpenPGP card/subkeys with same master key

Hauke Laging mailinglisten at
Tue Aug 14 05:26:55 CEST 2012

Am Di 14.08.2012, 01:11:52 schrieb Olivier Mehani:
> The card is properly detected, and the signature key (for this example)
> that I usually use at home is properly listed, but whenever I try to
> sign something, GPG asks for the other card.
> This seems to be related to the problem listed at [0].

But the solution given there does not work?

> More generally, I could not work out a reliable way to get a fresh OS
> install/user account to recognise an already-initialised OpenPGP card
> without copying over the full .gnupg/ from the machine where the card was
> initialised.

So you first imported the public key, read the card via --card-status then. 
What is the output of "gpg --list-secret-key" afterwards?

PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 555 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20120814/2872d17c/attachment.pgp>

More information about the Gnupg-users mailing list