# NK3a mini corruption?

**URL:** <https://support.nitrokey.com/t/nk3a-mini-corruption/7799>\
**Category:** FIDO2 / Nitrokey 3\
**Created:** [October 28, 2026, 10:00pm UTC](https://support.nitrokey.com/t/nk3a-mini-corruption/7799 "2026-10-28T22:00:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deimos](https://support.nitrokey.com/user_avatar/support.nitrokey.com/deimos/32/1554_2.png) [@deimos](https://support.nitrokey.com/u/deimos)\
**Post date:** [October 28, 2026, 10:00pm UTC](https://support.nitrokey.com/t/nk3a-mini-corruption/7799/1 "2026-10-28T22:00:18Z")

</div>

As seen in matrix, it seems my nitrokey 3a mini has encountered [this bug](https://github.com/Nitrokey/nitrokey-3-firmware/issues/728). At 2026-10-27T16:11:49, I shutdown my laptop at client site and went out for a meal and to explore the area. The laptop with NK inserted (as it always is) was left in my hotel room. I returned and powered on the laptop at 2026-10-27T20:31:09 and the nitrokey was enumerated on boot. I noticed the lightdm login screen didn’t have the usual “touch token to login”, but typed in password and checked on a few things. At 2026-10-27T23:31:07 I tried to ssh into a host accessible only via the non-resident nitrokey (ed25519-sk) and it failed:

`sign_and_send_pubkey: signing failed for ED25519-SK "/path/to/private_key" device not found`

The private key is fully intact and untouched for almost a year.

SSH is `ssh -V OpenSSH_10.6p1, OpenSSL 3.6.5 29 Sep 2026`

My nitrokey is seen correctly:

```bash
fido2-token -L
/dev/hidraw4: vendor=0x20a0, product=0x42b2 (Nitrokey Nitrokey 3)

```

Initially, I thought it was some update to arch linux that broke fido/u2f or pam, here’s what [updated](https://agglutino.zw.is/txt/aw7mse1m/) before the 16:11:49 shutdown. After a few hours of debugging and examination, that’s not the case. The CTAP2 setup seems to be there as in I can see the passkeys and openssh key I have setup, but none of them work.

Further, ssh debug shows:

```bash
debug1: check_sk_options: option uv is unknown
debug1: sk_try: fido_dev_get_assert: FIDO_ERR_NO_CREDENTIALS
debug1: ssh_sk_sign: failed to find sk

```

I reset the entire u2f config, and now sudo works via nitrokey. For added fun, my client’s drive is unable to be unlocked:

```bash
sudo cryptsetup open --token-only /dev/drive luks-uuid-here
Please touch the FIDO authenticator.
Enter token PIN:
Command failed with code -1 (wrong or missing parameters).

```

I then tested the key in OpenBSD and FreeBSD machines. SSH worked, but upon further examination, it worked because there is a non-sk sshkey setup so the sk keys fail and the non-sk works, giving me access to the test machine. If I test with the BSDs again, but with only the sk-keys configured, it fails with the same ssh error. This is not an OS problem now.

The remote hosts are setup with two nitrokeys, the daily carry key and a backup. There are no non-nitrokey options to ssh in at this point. Clearly need to setup a secure way to store a non-hardware-backed ssh key for emergencies.

They 3a mini seems to think itself is ok:

```auto
fido2-token -I /dev/hidraw4
proto: 0x02
major: 0x00
minor: 0x00
build: 0x00
caps: 0x05 (wink, cbor, msg)
version strings: U2F_V2, FIDO_2_0, FIDO_2_1
extension strings: credProtect, hmac-secret, thirdPartyPayment
transport strings: usb
aaguid: 2cd2f727f6ca44da8f485c2e5da000a2
options: rk, up, noplat, credMgmt, clientPin, nolargeBlobs, pinUvAuthToken, makeCredUvNotRqd
attestation formats strings: packed, none
fwversion: 0x0
maxmsgsiz: 3072
maxcredcntlst: 10
maxcredlen: 255
maxcredblob: 0
maxlargeblob: 0
pin protocols: 2, 1
pin retries: 8
pin change required: false
uv retries: undefined
long touch for reset: false

```

By enforced policy, non-OS python isn’t allowed, so I can’t run nitropy to do the test, but the NitroKey App 2 works fine and says init is ok. I can add a new credential and that works, but past credentials do not work at all. I’m running firmware 1.0.9.

```auto
cat /sys/bus/usb/devices/1-1/bcdDevice
0109

```

I can’t email support because that email is behind a FIDO credential tied to this nitrokey and a backup.

In fact, none of my stored passkeys on the device work anymore. The browser tells me to insert the correct key for this site. Luckily, I have TOTP setup tied to an open source app as a 2FA backup.

The backup nitrokey is roughly 3000 km away "_in the bottom of a locked filing cabinet stuck in a **disused lavatory** with a sign on the door saying **Beware of the Leopard**.”_ — Douglas Adams, The Hitchhiker’s Guide to the Galaxy (1979)

It seems like something was corrupted on the key and all my credentials are still listed, but not actually there.

I guess I’m taking an emergency trip to the leopard lavatory to retrieve the spare key.

Thank you for reading this far and your positive comments.

Edit: Adding that I don’t have a github account nor can I agree to their ToS, hence my post here.

---

<div class="post-metadata">

**Author:** ![deimos](https://support.nitrokey.com/user_avatar/support.nitrokey.com/deimos/32/1554_2.png) [@deimos](https://support.nitrokey.com/u/deimos)\
**Post date:** [October 28, 2026, 10:37pm UTC](https://support.nitrokey.com/t/nk3a-mini-corruption/7799/2 "2026-10-28T22:37:52Z")

</div>

I think I have a patch and explanation based on the source code, as I understand it. I’ve been working on this all day, fwiw. Since I can’t do any other work.
