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

Import my old GPG private key in Yubikey Neo
https://forum.yubico.com/viewtopic.php?f=26&t=1324
Page 2 of 2

Author:  j4pe [ Tue Feb 25, 2014 6:18 pm ]
Post subject:  Re: Import my old GPG private key in Yubikey Neo

It works! Again, thank you very much for your help. I am also inspired by this tutorial https://we.riseup.net/debian/using-the- ... th-subkeys .
Step 7 was very important for me because I never did a "key 1".

Quote:
7. move the encryption key above to the card:

$ gpg --edit-key $KEYID
Command> toggle [this sets you into secret key mode]
Command> key $NUMBER [select the encryption key above, it'll be the last one if you just generated it, and this command puts a * next to it]
Command> keytocard
Please select where to store the key:
(2) Encryption key
Your selection? 2
Command> save

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