diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-02-03 17:23:44 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:42 +0100 |
commit | db76ae5299f3650385f66e4c596b18fd54250d38 (patch) | |
tree | ed61a9ec409ff1431ed49b7ddb7dfd40216d96d5 /include/stick20_commands.h | |
parent | 767e24572db2bbc4b9837c32ffc0bab4e1ad0b81 (diff) | |
download | libnitrokey-db76ae5299f3650385f66e4c596b18fd54250d38.tar.gz libnitrokey-db76ae5299f3650385f66e4c596b18fd54250d38.tar.bz2 |
Allow users to lock encrypted volumes specifically
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/stick20_commands.h')
-rw-r--r-- | include/stick20_commands.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/stick20_commands.h b/include/stick20_commands.h index a3f1609..b887636 100644 --- a/include/stick20_commands.h +++ b/include/stick20_commands.h @@ -26,9 +26,12 @@ namespace nitrokey { public PasswordCommand<CommandID::UNLOCK_USER_PASSWORD, PasswordKind::Admin> {}; class EnableEncryptedPartition : public PasswordCommand<CommandID::ENABLE_CRYPTED_PARI> {}; - class DisableEncryptedPartition : public PasswordCommand<CommandID::DISABLE_CRYPTED_PARI> {}; class EnableHiddenEncryptedPartition : public PasswordCommand<CommandID::ENABLE_HIDDEN_CRYPTED_PARI> {}; + + //FIXME the volume disabling commands do not need password + class DisableEncryptedPartition : public PasswordCommand<CommandID::DISABLE_CRYPTED_PARI> {}; class DisableHiddenEncryptedPartition : public PasswordCommand<CommandID::DISABLE_CRYPTED_PARI> {}; + class EnableFirmwareUpdate : public PasswordCommand<CommandID::ENABLE_FIRMWARE_UPDATE> {}; class ChangeUpdatePassword : Command<CommandID::CHANGE_UPDATE_PIN> { |