Long story short: My pureboot cannog generate new HOTP codes, even if I factory-reset/re-ownership Pureboot and Nitrokey.
when I plug-in the nitrokey 3c, pureboot says “device has no listeners, quitting”. However, the key still functions properly (mostly
If I choose to “refresh HOTP/TOTP”, it will properly generate a QR code, and promt me to enter my admin PIN then touch. However, it will return a error saying:
cat: can’t open ‘/boot/kexec_hotp_counter’: no such file or directory
If I attempt to regenerate HOTP/TOTP secret, it would say something strange:
DEBUG: Signature key was created at Wed Jan 1 xx:xx:xx UTC 2070
DEBUG: Admin PIN retry counter is 0
We are not on 2070 (this is a hwclock issue, I guess, not sure if it impacts something), and I just resetted the GPG smartcard. it’s Admin PIN retry counter can’t be 0
I will then got asked for the Admin passphrase, It will proceed, even if I don’t input correct code, and the key will blink. Touching the key will first say touch received , but then:
Error occurred, status code 32: touch was not recognized, or there was other problems with the authentication
ERROR: setting HOTP secret on Librem Key failed!
I don’t know if the detection mechanism is problematic, or is my key malfunctioning, or something else. This has been troubling me for months, and I have tried everything to fix this. Thanks in advance, I’ll provide as much info as I can.
The error messages are typed by hand, if there is minor typos or mismatches, it’s normal.