Nitrokey / nitrokey-storage-firmware

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

Creation/unlocking of hidden volume not possible after sleep #40

Open szszszsz opened 7 years ago

szszszsz commented 7 years ago

Description

Creation of hidden volume is not possible: device returns status: 6. In the firmware's source code it is defined as:

#define OUTPUT_CMD_STICK20_STATUS_NO_USER_PASSWORD_UNLOCK   6

After device reinsertion creation of hidden volume works. My guess is this is caused by Smartcard being powered off during PC's sleep mode stage or some other power management issue.

Environment

Storage v0.46 OSX Sierra 10.12.3 / 10.12.5 (latest) Macbook Pro Nitrokey App v1.1

Scenario

It looks like this is reproducible by following scenario: Precond:

Currently this will result in device responding with status 6. Reinserting the device fixes the issue.

Expected behaviour

Expected behaviour is to unlock/create the hidden volume without issues.

szszszsz commented 6 years ago

To retest on latest Nitrokey App.

szszszsz commented 6 years ago

Issue is still occurring. Tested also on older Nitrokey App version - v0.6.3.