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

Alon Bar-Lev alon.barlev at gmail.com
Tue Feb 21 06:19:39 CET 2017


On 21 February 2017 at 05:07, NIIBE Yutaka <gniibe at fsij.org> wrote:
>
> Hello,
>
> 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.

Yes, the user experience should be:
1. run gpg --card-status
2. generate key based on existing one

I was wondering if this is intentional or we can have this
automatically when trying to use existing key, worse case no card.

Thanks for your work!
Alon



More information about the Gnupg-devel mailing list