smartcard stub not imported when migrating to gnupg 2.1

Alphazo alphazo at gmail.com
Tue Jul 9 23:05:07 CEST 2013


Hi,

Can someone give me some instructions on how to efficiently report the
issue with the right debugging options ?

Thanks
Alphazo


On Wed, Jul 3, 2013 at 6:40 PM, Alphazo <alphazo at gmail.com> wrote:

> Hi,
>
> I'm running 2.1.0-beta220 and try to import my key to the new keychain.
> Here is how my key is defined:
>
> - One master key for signing with private key material not present
> - One subkey for signing protected by passphrase
> - One subkey for encryption with private key material stored on a
> cryptostick therefore there is a stub here.
>
> I plugged in the CryptoStick and the issued the followed command:
>
> # gpg --import ~/.gnupg/secring.gpg
>
> I only got prompted for the passphrase for the signing key.
>
> Then when I list the private keys I can see them all with a (#) showing
> that the private key material is not there.
>
> gpg --list-secret-keys
> gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
> gpg: It is only intended for test purposes and should NOT be
> gpg: used in a production environment or with production keys!
> /home/alpha/.gnupg/pubring.gpg
> ------------------------------
> sec#  4096R/C23D45E6 2010-11-07
> uid                  Test Key <test at key.com>
> ssb   3072R/4BC5DE67 2010-11-07 [expire : 2014-11-03]
> ssb#  3072R/A45B67C8 2010-11-07 [expire : 2014-11-03]
>
> However when trying to decrypt gnupg returns that there is no private key
> available for this key. It doesn't aks for the cryptostick as well.
>
> I also used the --edit-key and then 'toggle' to see the stub but couldn't
> see it.
>
> Is there a way to transfer a stub over from the previous secring.gpg to
> the new private key storage?
>
> Thanks
> Alphazo
>
> BTW, gpg --card-status works fine.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130709/a8f21df1/attachment.html>


More information about the Gnupg-devel mailing list