Decryption w/o public key does not work in GnuPG 2.3.2

Thomas Cage thomas.cage at hotmail.com
Wed Aug 25 23:36:29 CEST 2021


Hi,

I have installed the new 2.3.2 version which supports "decryption w/o public key but with correct card inserted" with commit 50293ec2eb.

I have tried it out with a couple files encrypted with a public key that got lost recently but the private key remains in my smart card. $ gpg --card-status can list the keys when I insert my smart card, but $ gpg --decrypt [FILE] returns the foollwing as if the private key never detected:
```
gpg: encrypted with RSA key, ID 9AEE7E2751187094
gpg: public key decryption failed: No secret key
gpg: decryption failed: No secret key
```

Am I using this feature in the correct way? I just hope my files won't get lost forever. Thanks a lot!

Regards,
Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20210825/ec0c9494/attachment-0001.html>


More information about the Gnupg-users mailing list