Yubico Forum
https://forum.yubico.com/

Can't seem to load my PGP key on Yubikey 4
https://forum.yubico.com/viewtopic.php?f=35&t=2525
Page 1 of 1

Author:  sidpost [ Thu Jan 19, 2017 5:19 am ]
Post subject:  Can't seem to load my PGP key on Yubikey 4

I am following the instructions here: https://developers.yubico.com/PGP/Importing_keys.html

When I get to:
gnu>keytocard
enter "y"
enter "1"
I get a reply that I need to enter my secret key in a pop up which I do, and then my Yubikey PIN appears in a pop up to which it responds after entry:
gpg: error writing key to card: bad secret key

I'm taking this to mean my PGP key and not anything with the Yubikey is the problem. Kleopatra has no issue with my PGP key so, I'm confused at this point. When I look at my Yubikey for certificates and such I still only see the original 4 I have always had.

Is my Yubikey miss-configured or incompletely configured? Or, do I have some issue with seeing the USB port at the command line? GPG has the correct key loaded so, I'm confused at this point with where to go from here.

TIA,
Sid

Author:  sidpost [ Sun Jan 22, 2017 5:45 am ]
Post subject:  Re: Can't seem to load my PGP key on Yubikey 4

Problem solved. I was confused with the keys on the Yubikey and the keys for PGP. Turns out the PIV keys were never reset.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/