Feature request: use existing key in --full-gen-key (was: gpg --card-status always create proxy private keys)

NIIBE Yutaka gniibe at fsij.org
Tue Feb 21 04:07:39 CET 2017


The patch is committed and pushed.

Alon Bar-Lev <alon.barlev at gmail.com> wrote:
> It is working perfectly with the custom scd, I can use the existing
> key as primary key and then add existing keys as subkeys.
> One minor issue, not sure it worth fixing, I must execute gpg
> --card-status for gnupg to find the key.

I think you mean that doing "gpg --card-status" is required to
have the shadowed private key in .gnupg/private-keys-v1.d.

Or by "gpg", do you mean different version of GnuPG (1.4 or 2.0)?
Yes, for those versions, it is required to associate keys
on smartcard and .gnupg/seckey.gpg.

More information about the Gnupg-devel mailing list