NK3A NFC - cannot update firmware

Hello,

I use Manjaro Linux and am trying to update the firmware on my Nitrokeys 3A NFC. I have Nitrokey App 2.3.0 installed (from flatpak). The app recognizes my Nitrokey and shows its firmware version as v1.6.0, variant LPC55, init status ok.

Check for update shows that firmware v1.7.0 is available. Pressing ok, I get a request to touch the nitrokey. Nothing happens though after I touch the NK. The update process seemingly times out after a few seconds and I get Nitrokey 3 updated failed. No actual download of the new firmware or installation attempt appears to happen (the progress bar never goes above 0%).

Can you try with nitropy as it generates a complete logfile for further troubleshooting?

Same problem on Trisquel 11 but it worked after setting udev rules and rebooting.

I have followed the instructions for setting udev rules and rebooted. I still can’t update my Nitrokey 3’s firmware, neither with the gui app nor with nitropy. The logfile reveals permission errors such as

Permission denied: ‘/dev/hidraw0’
294 DEBUG fido2.hid.linux Failed opening device /dev/hidraw1

Do you get ok output when you execute nitropy nk3 status and nitropy nk3 test ?

I figured it out. I was confused by the error messages nitropy was showing me, but I just needed to follow the instructions anyway and run nitropy again.

Ok, yes the error logs are hard to interpret. However, if the firmware update fails with nitropy, definetely save the quoted log from /tmp/.

Maybe wrong python version?

nitropy requires Python 3.9 or later.