Firmware Update With Qubes OS¶
This guide describes how to update Nitrokey 3’s firmware with nitropy in Qubes OS.
Important
please read the general firmware update instructions before! Since for specifc versions there are limitations regarding what data is possible to migrate to the new version.
Setup¶
Install nitropy in a app VM of your choice following the installation instructions.
How to Update¶
Important
Never disconnect the Nitrokey 3 or abort the process while updating, because it will likely render your device unusable!
Run
nitropy nk3 reboot --bootloaderin app VM.Once instructed by
nitropytouch the device to activate the bootloader.This will detach the Nitrokey from the app VM, and the bootloader will apear in sys-usb.
Attach the bootloader to the app VM.
Run
nitropy nk3 updateand follow the instructions.During the finalization the Nitrokey will be detached. Re-attach the Nitrokey back to th app VM to finish the update.
In case of any errors please take the logs from /tmp directory (/tmp/nitropy.log.*).