Open
Description
Gnupg is having some issue with the current openpgp implementation. I suspect it's something small in the "Application Related Data" (006e).
Steps to reproduce.
- Generate a key with gpg2
gpg2 --expert --full-generate-key
Select (1) RSA and RSA. 2048 bit RSA key.
- Write key to card.
gpg2 --expert --edit-key <key-id>
Then:
key 1
keytocard
It should prompt for the admin PIN, and then fail with "gpg: KEYTOCARD failed: General error".
I was able to get traces of the APDUs with Wireshark using this script, and also just running pcscd
in the foreground: sudo pcscd -f -T -a
.
Metadata
Metadata
Assignees
Labels
No labels