stevefink wrote:
I'm interested in having a backup Yubico 4 device that I lock in a safe in the event I ever lose mine and need access to my accounts.
I have a couple of questions in regards to this.
1) How do I setup a new Yubico key to act as a 'backup' to my current key? I'm assuming there's some private data embedded on my key that would need to be transferred to another key. I'm mostly using U2F mode as my second form of auth. I'm not sure how that would impact a backup key.
2) In the event my key is ever lost, once I regain access to my accounts with a backup key, I'm guessing I'll need to do something to invalidate the existing keys and "rebuild/reseed" the current keys so my lost one becomes useless. Is there documentation suggesting how this is done anywhere?
Thanks!
By design it's not possible to retrieve private data from a yubikey, the only way is to you program both keys with the same secret, to do that you most know the secret beforehand. Since you can't program U2F (only enable/disable) you can't create a backup with exact same secret, that being said, most sites (I can only guarantee google, dropbox and github) accept multiple keys, I myself have 2 U2F registered on them, if you lost one the keys just go and revoke on every site where you registered.
Now a backup of Yubico OTP can be done, but to do so you need generate a new AES key and program it on the both keys, then upload the key to
https://upload.yubico.com/. To avoid "locking yourself out", first create the backup and change the old key from services you use, them overwrite the old secret from your every day key.
On 2014 Yubico shutdown the YubiRevoke service, and so there is no more way to revoke a AES key from Yubicloud. The reasons of why they done this can be found here:
https://www.yubico.com/2014/06/lost-yubikey-practices/