Nitrokey / nitrokey-storage-firmware

Firmware for the Nitrokey Storage device
GNU General Public License v3.0
54 stars 19 forks source link

Better sygnalize the EV unlocking #75

Open szszszsz opened 5 years ago

szszszsz commented 5 years ago

In case we are using MBR (main partition in /dev/sdb1 instead of using directly /dev/sdb), if we unlock the key, only /dev/sdb appears.

We have to try to mount /dev/sdb (which is not possible) and then the linux kernel start to see /dev/sdb1 (!).

The block device for the EV (Encrypted Volume) is always available to the OS, but its data are only after the device's unlocking (and only then the partition is available). OS is not refreshing the block device contents, until the 'mount' command is called.

Better synchronization with the OS in that matter would be desired.

szszszsz commented 5 years ago
szszszsz commented 5 years ago

Note: see setting block device capacity to '0'.