nitrocli icon indicating copy to clipboard operation
nitrocli copied to clipboard

NK Storage: enabling firmware update

Open jans23 opened this issue 4 years ago • 2 comments

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.

jans23 avatar Jan 10 '21 11:01 jans23

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.

robinkrahl avatar Jan 10 '21 15:01 robinkrahl

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.

d-e-s-o avatar Apr 30 '22 19:04 d-e-s-o