aboutsummaryrefslogtreecommitdiff
path: root/include/command_id.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-12-11 18:40:00 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-02-23 15:42:29 +0100
commit99ac7ee964bf273708441a3012ba89c7729ceadb (patch)
tree53b625350fb93b0bd586f4f23c1c27670623edd9 /include/command_id.h
parent102ee60cd8ee9e5ce263de1d4a775acf29f37fbc (diff)
downloadlibnitrokey-99ac7ee964bf273708441a3012ba89c7729ceadb.tar.gz
libnitrokey-99ac7ee964bf273708441a3012ba89c7729ceadb.tar.bz2
Add new commands for Storage v0.49
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/command_id.h')
-rw-r--r--include/command_id.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/command_id.h b/include/command_id.h
index 7608201..1092ea9 100644
--- a/include/command_id.h
+++ b/include/command_id.h
@@ -124,6 +124,13 @@ enum class CommandID : uint8_t {
CHANGE_UPDATE_PIN = 0x20 + 26,
+ //added in v0.48.5
+ ENABLE_ADMIN_READONLY_UNCRYPTED_LUN = 0x20 + 28,
+ ENABLE_ADMIN_READWRITE_UNCRYPTED_LUN = 0x20 + 29,
+ ENABLE_ADMIN_READONLY_ENCRYPTED_LUN = 0x20 + 30,
+ ENABLE_ADMIN_READWRITE_ENCRYPTED_LUN = 0x20 + 31,
+ CHECK_SMARTCARD_USAGE = 0x20 + 32,
+
GET_PW_SAFE_SLOT_STATUS = 0x60,
GET_PW_SAFE_SLOT_NAME = 0x61,
GET_PW_SAFE_SLOT_PASSWORD = 0x62,