nitrocli
nitrocli copied to clipboard
NK Storage: enabling firmware update
As far as I see nitrocli doesn't support enabling firmware update mode for Nitrokey Storage. It would be great if nitrocli supports such. Afterwards users could perform firmware update by using dfu-programmer.
Bonus: Integrating dfu-programmer library to execute entire firmware update.
We should definetly support enabling the firmware update mode. This is already listed on our task list: https://github.com/d-e-s-o/nitrocli/wiki/Task-List
For reference, here is the documentation on how to use dfu-programmer to perform the firmware update: https://www.nitrokey.com/documentation/firmware-update-storage We could integrate this in nitrocli directly, or add an extension that invokes dfu-programmer.
I think firmware upgrade mode makes sense to add (though I don't have an immediate need). Any plumbing for dfu-programmer does not belong into the core program I'd say. It may, however, fit nicely into an extension.