Dick wrote:
The field for entering the Yubikey ID in the new configuration tool has the following language below the entry box:
"Yubikey ID: The fixed, unique first 12 chars of the OTP"
From this one might expect that one should enter 12 modhex digits in this box which would become the Yubikey ID. However, according to this thread one is to enter 6 ASCII characters to produce a OTP (with a 12 character modhex unique ID) and up to 12 ASCII characters to produce a static password with a longer unique ID. (Would 12 ASCII characters produce a 24 modhex character unique ID?)
The field for entering the Yubikey AES Key has the following language below the entry box:
"Yubikey AES Key: Enter new AES key for your Yubico token"
That box will only accept 16 characters. However, the AES key shown in the Yubico Management Service database shows three versions of each secret key--a 24 character b64 key, a 32 character hex key, and a 32 character modhex key.
It appears that the terms Yubikey ID and Yubikey AES Key are being used differently in the configuration tool than in the YMS and I believe this causes confusion. At least it does for me. Perhaps this is more obvious to others, but I think it would be helpful to use the terms consistently.
This is further complicated by the fact that the entry box for adding a YK to the YMS requests the Yubikey tokenID in base64 but will only function if it's entered in modhex. The "AES Secret" box doesn't specify the format, but apparently also only functions with modhex.
This leads to the question--If I want to reprogram a YK for OTP use and enter its information into the YMS, how do I determine its AES Key in a format that I can enter into the YMS? I realize that YKs are read only so I assume that I have to determine the key during the programming.
Thanks.
Dick
Thanks for your valuable inputs!
There are some inconsistencies with the "YubiKey ID" and "YubiKey AES Key" terms used in the Yubico Management Server and the Yubico Personalization Tool.
We will fix these issues in the next release of the Yubico Management Server and the Yubico Personalization Tool.
We have to enter the "YubiKey tokenID" field in the modhex format and the "AES Secret" field in the base64 format, when we add the new YubiKey to the Yubico Management Server.