Currently, we determine the firmware version with NK_get_major_firmware_version
and NK_get_minor_firmware_version
, issuing two commands to the Nitrokey device. This could be replaced by a single command.
To implement this, we should move the implementation from
src/device/mod.rs
to the device modules. For Librem and Pro devices, we can useget_status()?.firmware_version
. For Storage devices, we can useget_storage_status()?.firmware_version
.