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

Questions about using more than one Yubikey, and API keys
https://forum.yubico.com/viewtopic.php?f=3&t=755
Page 1 of 1

Author:  mhmediaonline [ Tue Feb 21, 2012 8:11 pm ]
Post subject:  Questions about using more than one Yubikey, and API keys

Hi,

I recently bought my second Yubikey and am now the proud owner of a basic key and an RFID key.

I have an API key for the first (original) key, but want to use my new Yubikey with the same internal name (held as $username in the snippet below):

Code:
if (md5 (substr ($P, 0, 12).":".$username) == $token_id)


Do I need a new API key, or can I use the original one?

Anyone?

Author:  Fredrik-at-Yubico [ Tue Mar 06, 2012 11:00 am ]
Post subject:  Re: Questions about using more than one Yubikey, and API key

The API key only protects the communication between you and the validation server.

You can use the API key with any YubiKey, so you do not need a second API key for your second YubiKey.

/Fredrik

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