Yubico Forum
https://forum.yubico.com/

[QUESTION] Multiple Yubikey NEOs with same OTP secrets?
https://forum.yubico.com/viewtopic.php?f=26&t=2600
Page 1 of 1

Author:  marco1475 [ Tue Mar 14, 2017 11:00 pm ]
Post subject:  [QUESTION] Multiple Yubikey NEOs with same OTP secrets?

Hi,

Before I set up my new Yubikey NEO I would like to figure out how to create a duplicate / backup Yubikey. I understand that U2F logins cannot be duplicated, so for those webpages I will need to add both of the Yubikeys separately.

However, for OATH-TOTP would it be possible to store the same secret (i.e., QR code provided by the webpage) on two different Yubikeys using two different Yubi Authenticators?

The steps would be:
  1. Have webpage generate QR code.
  2. Scan QR code on device A with Yubi Authenticator and touch Yubikey 1 to the NFC antenna to store the secret.
  3. Scan QR code again, this time on device B with a different Yubi Authenticator and touch Yubikey 2 to the NFC antenna to store the secret.

Shouldn't both Yubikeys now generate the same OTPs, regardless which Yubi Authenticator is used?

Thanks,
Marek

Author:  ChrisHalos [ Wed Mar 15, 2017 5:13 am ]
Post subject:  Re: [QUESTION] Multiple Yubikey NEOs with same OTP secrets?

Yes, with OATH-TOTP (since it's time-based) you can store the same secret on multiple YubiKeys. It doesn't matter which instance of Yubico Authenticator you use. Yubico Authenticator provides the current time to the YubiKey, which in turn provides the current time-based code for all TOTPs stored on that YubiKey.

Author:  Sevo [ Wed Mar 15, 2017 9:34 am ]
Post subject:  Re: [QUESTION] Multiple Yubikey NEOs with same OTP secrets?

Yes, that works just as it does with multiple software TOTP authenticators. Both the secret and the state information (time) are known outside the hardware key, and the secret can be installed multiple times. At least provided that you did not forget to save it or initialise all devices at once - many sites do only show a 2D graphic representation during the initialisation process, to discourage careless key management. So you may have to make a screen copy or convert the 2D code to text for storage and internal distribution.

U2F is unique to each hardware key, but all sites I've come across support (and suggest) adding at least one backup key.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/