Closed kasparsd closed 7 years ago
Can confirm. After disabling OTP Mode on my YubiKey 4 it is no longer detected by the Personalization Tool.
how did you fix this? My Yubikey 4 isn't being recognized by the Personalization tool.
@omrltfm You need to enable the OTP mode by clicking "Change connection mode".
This is by design. OTP mode need to be enabled for this tool to be able to recognise the device. Please note that YubiKey Manager is able to recognise the device in all modes as well as perform the most common slot-based configuration tasks (when OTP is enabled).
@dagheyman However, it is confusing for the user that the tool can't find a Yubikey that's actually plugged in the computer. A better UX would be to tell the users to "enable the OTP mode" to start the personalization.
It checks the following NEO device PIDs during yk_open_first_key()
which calls yk_open_key()
:
and all of them require OTP. Same with Yubikey 4 PIDs.
Could we introduce another method such as yk_detect_key()
which checks for the presence of either PID?
I had disabled the OTP connection mode which made the Personalization Tool to not recognize the key.
I realize that without the OTP mode there is very little to configure but users might still expect it to be recognized.