nitrokey-storage-firmware icon indicating copy to clipboard operation
nitrokey-storage-firmware copied to clipboard

Firmware export: report fail if unencrypted volume is read-only

Open alex-nitrokey opened this issue 5 years ago • 1 comments

Expected behaviour

When exporting the firmware, a failed export should be produced if unencrypted volume is set to read-only (=export must fail)

Current behaviour

Successful export is declared, although export wasn't possible because of read-online state of unencrypted volume

alex-nitrokey avatar Aug 27 '18 14:08 alex-nitrokey

Note: in https://github.com/Nitrokey/nitrokey-storage-firmware/issues/83#issuecomment-455564409 user could export the firmware, without setting the UV to R/W mode. The failures in export might have been wrongly assigned to the R/O mode of UV, instead of the double mounting issue. Source code review shows, that device does the writing via own procedure, not honouring at all set access flag for the host.

szszszsz avatar Jan 18 '19 15:01 szszszsz