Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 4:50 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Oct 05, 2016 1:39 am 
Offline

Joined: Wed Oct 05, 2016 1:20 am
Posts: 2
: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.


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Wed Feb 01, 2017 6:51 pm 
Offline

Joined: Sat Jan 28, 2017 4:02 pm
Posts: 6
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 :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group