[pkg-gnupg-maint] Bug#795881: gnupg2: gnupg 2.1 secret keys migration skips keys on smartcard

intrigeri at debian.org intrigeri at debian.org
Mon Aug 17 17:05:12 UTC 2015


Package: gnupg2
Version: 2.1.7-2
Severity: normal

Hi,

after upgrading to 2.1, the import process said (redacted):

gpg: key 0x...: secret key imported

... but the corresponding file (found with --with-keygrip, thanks dkg)
did not exist as a result in ~/.gnupg/private-keys-v1.d/, and any
operation that required my secret key failed with a "no secret key"
message or similar.

My private key material is on a smartcard.

Then, once I've run `gpg --card-status' (thanks NIIBE Yutaka) once
with the smartcard plugged in, everything started working again
just fine.

Thanks for maintaining gnupg2 in Debian!

Cheers,
--
intrigeri



More information about the pkg-gnupg-maint mailing list