Between simulator, decoder, and me getting my yubikey's AES key, I have learned a few things about reconfiguration. If a key ever does get used up fully, that is ALL 32767 Inserts, then you would have to reconfigure the key. I have indeed reconfigured mine, such that no one else can destroy any of the settings in my key now. You can only do this, so that it will still work on yubico server, if and ONLY if you know your AES key, as well as a few other important fields.
(And I do have a suggestion for the decoder. Decode the modhex public identifier, as well as show that identifier in all decode results.)
It is not enough to just go into the config tool, to set a password only. (Could we request that for the next firmware revision?). You must indeed configure everything else at once. This means you need to decode an existing passcode, to get the Secret ID, so that it can be set to that exact ID. You have to translate the first 12 characters of your existing OTP from modhex to hex, and set that as the public ID. If you are doing this, set Cur password as blank, if it has not been set before, and set new password to something that you WILL remember, or otherwise have written down some place secure. Set up the flags, so that everything is false except ykFLAK_APPEND_CR, and if you wish to allow capslock trigger, ykFLAG_ALLOW_HIDTRIG.
The other reason you need to decode an existing passcode, preferably a fresh one, is to see what your current counter is. You DO NOT want to be doing this configuration, with a high counter. The reason for that, is when you do configure a yubikey, the insert counter is reset back to 1. (which why you only have 32767 inserts.) Once that is done, follow these steps.
1. Open notepad, and make sure it is the focus of key stroke input. 2. Insert yubikey. 3. Press button, and wait for yubikey OTP to be typed. (This step is NOT optional. If you remove the yubikey before retrieving an OTP, the counter will NOT go up by one.) 4. Remove yubikey. 5. Lather. 6. Rinse. 7. Repeat Steps 2-7 until insert counter is back up to where it was. This means if your counter is up at 100, then you have to do this 100 times, or if it is up at 1000, then you have to do this 1000 times.
|