slowz3r wrote:
:oops: So I've done my fair share of searching and haven't really come to a conclusion. I Have my PGP key setup on my yubikey. I can encrypt and decrypt as intended, when I try to decrypt with my yubikey removed it doesn't work, awesome.
Now what I'm wondering is how do I go about using this on say another machine. Obviously PGP must be installed. Is there a way I can use my yubikey to encrypt/decrypt information on this secondary machine? Do I need to completely take my private key and import it to this new machine in order to have my yubikey function as it does on my primary machine I used to set it up.
No, you simply import the public key (or use fetch if you have configured the URL on YubiKey):
gpg --import < pubkey.txt (or whatever filename you used for the public key)
Then insert the card and verify it by:
gpg --card-status
Finally trust the public key:
--edit-key YOUR KEY ID
trust
choose 5 = I trust ultimately
confirm with Y
then quit
You're good to go on the new computer