I have the OPEN PGP SMARTCARD V2.1 and there I have a signature key, a encryption key and a authentication key stored. The last 8 digits of the signature key is for example: 1234 5678. Now I want to copy these keys to my Yubikey Neo for backup purpose. I was trying this:
- Plug in Smartcard and remove Yubikey
gpg -a -o seckey.asc --export-secret-key 12456789
- Plug in Yubikey and remove Smartcard
gpg --edit-key 12456789 - here I get: "Secret key is available"
and my keys are listedtoggle then:
gpg> keytocard Really move the primary key? (y/N) y Please select where to store the key: (1) Signature key (3) Authentication key Your selection? 1 gpg: KEYTOCARD failed: Unusable secret key