Gnupg 2.1.7 can't decrypt using smartcard key.
NIIBE Yutaka
gniibe at fsij.org
Fri Sep 11 11:50:22 CEST 2015
On 09/11/2015 10:41 AM, perillamint wrote:
> gpg: public key decryption failed: Invalid ID
> gpg: decryption failed: No secret key
Could you please try 'gpg --card-status' and see 'General key info'?
In my case, it's like:
==================
General key info..: pub rsa2048/4CA7BABE 2010-10-15 NIIBE Yutaka <gniibe at fsij.org>
sec> rsa2048/4CA7BABE created: 2010-10-15 expires: never
card-no: F517 00000001
ssb> rsa2048/084239CF created: 2010-10-15 expires: never
card-no: F517 00000001
ssb> rsa2048/5BB065DC created: 2010-10-22 expires: never
card-no: F517 00000001
==================
It shows the connection between stub on host PC and key on the card.
I guess that there is some problem in your situation, and
you can see what's going on by the --card-status.
--
More information about the Gnupg-users
mailing list