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 Feb 01, 2017 5:29 pm 
Offline

Joined: Sat Jan 28, 2017 4:02 pm
Posts: 6
Hi,

After moving all keys from the local certificate to the YubiKey 4 (according to https://github.com/drduh/YubiKey-Guide/ ... public-key) I would like to have a backup YubiKey stored on a safe location.

Is it possible to do this by any commands or routine?

The only way I see it at the moment is to:
- Delete all existing local keyrings/trust.db
- Import the backed up certificate
- Re-do the procedure (https://github.com/drduh/YubiKey-Guide/ ... public-key) to the new YubiKey

Hopefully there is an easier way...


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Wed Feb 08, 2017 3:55 pm 
Offline

Joined: Fri Mar 20, 2015 4:35 pm
Posts: 4
TheStigh wrote:
Hi,

After moving all keys from the local certificate to the YubiKey 4 (according to https://github.com/drduh/YubiKey-Guide/ ... public-key) I would like to have a backup YubiKey stored on a safe location.

Is it possible to do this by any commands or routine?

The only way I see it at the moment is to:
- Delete all existing local keyrings/trust.db
- Import the backed up certificate
- Re-do the procedure (https://github.com/drduh/YubiKey-Guide/ ... public-key) to the new YubiKey

Hopefully there is an easier way...



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


It's actually the only way, you need to use the gpg --delete-secret-keys command and to import your subkeys again to your new yubikey (after using the gpg --card-status command) (you need to have exported these BEFORE using the keytocard command, otherwise they are lost and you need to revoke those subkeys and generate (and export) new ones, assuming you still have access to your master key.)
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJYmzF6AAoJEKa4nBz3AlIIrzAH/RMuvtMXfwCNlnBJUQ3Ly/ED
Fy+nBJFtNdPQe9/8ndgbRbghtjKDTRr5u9Nzw3H0VAKFxhi5b22VNZ0Xbt8199/Q
O4MjDSUD+lKkmvHtsJdC/xsXk7pkJeQP4h2DzjimZjgWgK5lRlQqXtqW57+CrrSR
ldZ5hIOw8M9W8q3tuEdibD99P5ASw7S08XSum3wxyPx7Yje4KN1xvx+SVAFutYLJ
TtGAx3yv+1Up9AnANhTEgGXqAS0JrxTgCkA/o87vnMplzThD2IspgUzyze7PoIlG
8/3awVMIIpuHYdyb/EfsXui8Ey8y3ZvrDikT4y+Fnk7TthkNXnzsQCvRsLcakQM=
=gnbK
-----END PGP SIGNATURE-----

_________________
---
PGP Fingerprint: DF46 8C79 5D1A 76FF 75B2 C345 4679 EDEF 1B5B B192

Public Key:
https://keybase.io/mathieulh/pgp_keys.asc?fingerprint=df468c795d1a76ff75b2c3454679edef1b5bb192

Proof: https://keybase.io/mathieulh


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