I created a 4096-bit gpg-key consisting of:
the master-key and 3 sub-keys for signing, decrypting, authenticating on a secure offline-PC.
From that key I exported just the 3 subkeys by:
Code:
gpg --export-secret-subkeys [key-ID] > subkeys
copied subkeys to one of my laptops, imported them into my keyring and on that laptop transferred the subkeys to my Yubikey4.
All works fine and I just have to plug in the Yubikey and enter the Yubikey-password to use my keys for decryptpting, signing and ssh-authentication - GREAT!
Now I want to use the same Yubikey with the same same gpg-keys on a second laptop.
I tried to just copy over the whole ~/.gnupg directory from laptop #1 to laptop #2, but gpg-agent reports "secret key not available". The Yubikey is recognised as I can check with
Code:
gpg2 --card-status
Seems there is some additional information missing - please help.
Kind regards,
x11