This was discovered while testing roms produced by linuxboot/heads#1841 (after musl-cross-make version bump)
tested on x230-hotp-maximized (hotp-verification 1.6, nk3a firmware 1.7.2)
- OEM Factory reset/Re-ownership works
- Resetting TPM/sealing TOTP through reverse HOTP fails
Screenshot:

Test output of that nk3a-mini dongle:
user@heads-tests-deb12-nix:~/heads$ nitropy nk3 test
Command line tool to interact with Nitrokey devices 0.4.47
Found 1 Nitrokey 3 device(s):
- Nitrokey 3 at /dev/hidraw0
Running tests for Nitrokey 3 at /dev/hidraw0
[1/5] uuid UUID query SUCCESS EF25D848139028D30000000000000000
[2/5] version Firmware version query SUCCESS v1.7.2
[3/5] status Device status SUCCESS Status(init_status=<InitStatus: 0>, ifs_blocks=238, efs_blocks=465, variant=<Variant.NRF52: 2>)
Running SE050 test: |
[4/5] se050 SE050 SUCCESS SE050 firmware version: 3.1.1 - 1.11, (persistent: (31432,), transient_deselect: (607,), transient_reset: (592,))
Please press the touch button on the device ...
Please press the touch button on the device ...
[5/5] fido2 FIDO2 SUCCESS
5 tests, 5 successful, 0 skipped, 0 failed
Summary: 1 device(s) tested, 1 successful, 0 failed
EDIT: As recommended:
user@heads-tests-deb12-nix:~/heads$ nitropy nk3 secrets reset
Command line tool to interact with Nitrokey devices 0.4.47
Do you want to continue? [y/N]: y
Please touch the device if it blinks
Done
Redoing Heads TPM reset+reverse HOTP sealing of TPMTOTP secret succeeds after nitropy nk3 secrets reset , but I never got this error before. Success:

Ideally, this is not-reproducible/fixed before 2024-11-20 under hotp-verification and Heads pour point to newer fixed commit of hotp-verification as part of linuxboot/heads#1821
@jans23
This was discovered while testing roms produced by linuxboot/heads#1841 (after musl-cross-make version bump)
tested on x230-hotp-maximized (hotp-verification 1.6, nk3a firmware 1.7.2)
Screenshot:

Test output of that nk3a-mini dongle:
EDIT: As recommended:
Redoing Heads TPM reset+reverse HOTP sealing of TPMTOTP secret succeeds after

nitropy nk3 secrets reset, but I never got this error before. Success:Ideally, this is not-reproducible/fixed before 2024-11-20 under hotp-verification and Heads pour point to newer fixed commit of hotp-verification as part of linuxboot/heads#1821
@jans23