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

YubiHSM stuck in config mode
https://forum.yubico.com/viewtopic.php?f=22&t=1975
Page 1 of 1

Author:  jgoguen [ Wed Jul 22, 2015 7:14 pm ]
Post subject:  YubiHSM stuck in config mode

I set up a new YubiHSM, entering config mode as the manual says except I was using cu from the Linux command line to interact with the HSM. At the end of everything I typed 'exit' and cu locked up hard. But the HSM appeared to be configured. Then I tried to go back into config mode and now it's stuck blinking what I think is the "in config mode, waiting for user input" state and I can't connect to the HSM at all. How do I get it out of config mode so I can interact with it again?

Author:  Tom2 [ Thu Jul 23, 2015 10:27 am ]
Post subject:  Re: YubiHSM stuck in config mode

please provide more details.

which version of HSM is this?
Did you read the manual, there is a section reporting blinking HZ which status does your blinking corresponds to?

Can you ZAP the configuration and restart?

Are you removing the HSM and re-insert it while holding the button pressed?

Author:  jgoguen [ Thu Jul 23, 2015 3:58 pm ]
Post subject:  Re: YubiHSM stuck in config mode

Tom2 wrote:
which version of HSM is this?

YubiHSM 1.5.3. My apologies, I said I set up a new HSM, I didn't realize you could get any other version as a new HSM.

Tom2 wrote:
Did you read the manual

Yes. A few times.

Tom2 wrote:
there is a section reporting blinking HZ which status does your blinking corresponds to?

jgoguen wrote:
now it's stuck blinking what I think is the "in config mode, waiting for user input" state


Tom2 wrote:
Can you ZAP the configuration and restart?

No.
jgoguen wrote:
I can't connect to the HSM at all


Tom2 wrote:
Are you removing the HSM and re-insert it while holding the button pressed?

What button? The user manual doesn't mention a button. I've tried taking it out and putting it back in the same and a different USB port, and I've tried putting it in the same and a different USB port while continuing to hold the touch area (which is how the manual says to enter configuration mode).

Author:  Tom2 [ Mon Jul 27, 2015 9:39 am ]
Post subject:  Re: YubiHSM stuck in config mode

There are two modes of flashing on the HSM - the faster 1Hz flashing
for HSM mode and the slower 0.5 Hz for configuration mode.

test if the device is in HSM mode.

1. Close all instances of programs/terminal emulators
2. Insert the device
3. Fire up a terminal emulator
4. Type a key a couple of times

Does the LED switch to a faster pace (4 Hz) ? This signals "waiting
for more input", which is yielded in HSM mode.

Forcing configuration mode at insert may be a bit less intuitive with
the new form factor. You need to hold it for 3 seconds and then
release. Did you do this?

Let me know.

Author:  jgoguen [ Mon Jul 27, 2015 2:34 pm ]
Post subject:  Re: YubiHSM stuck in config mode

Tom2 wrote:
Does the LED switch to a faster pace (4 Hz) ? This signals "waiting
for more input", which is yielded in HSM mode.

The flashing frequency doesn't change at all. I can't tell for sure what frequency it's flashing at, that's just something I'm bad at. The manual doesn't say anything about 0.5Hz, 1Hz, or 4Hz; the closest frequencies mentioned in the manual are 0.4Hz, 0.8Hz, and 3Hz. From watching the clock on my desktop and watching the blinking, I think it's blinking at 1.6Hz, which according to the manual corresponds to "in config mode, waiting for user input". Like I mentioned.

Tom2 wrote:
Forcing configuration mode at insert may be a bit less intuitive with the new form factor. You need to hold it for 3 seconds and then release. Did you do this?

I realize I wasn't explicit about the number of seconds spent touching the HSM, but I did mention that I tried entering configuration mode according to the manual's directions.
jgoguen wrote:
I've tried putting it in the same and a different USB port while continuing to hold the touch area (which is how the manual says to enter configuration mode).

I've tried for 3 seconds exactly (as near as I can tell watching my desktop clock) and clearly more than 3 seconds. I've also tried putting it in, waiting a second, then touching it. The LED continues blinking at the same frequency.

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