diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-11-08 17:03:48 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-11-26 20:21:21 +0100 |
commit | 130d7f12e42505a33f41073983d868ca0c3c78d1 (patch) | |
tree | 1e7067147c6aef95799a9b627dfbe23d18baf968 /include/command_id.h | |
parent | f60f2cf0144a91769a5fc00fac1314d2e00cdf0d (diff) | |
download | libnitrokey-130d7f12e42505a33f41073983d868ca0c3c78d1.tar.gz libnitrokey-130d7f12e42505a33f41073983d868ca0c3c78d1.tar.bz2 |
Fix for auth issue in NK Pro
for commands EraseSlot, WriteToSlot, GetCode + tests
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/command_id.h')
-rw-r--r-- | include/command_id.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/command_id.h b/include/command_id.h index a3806f0..1f7affc 100644 --- a/include/command_id.h +++ b/include/command_id.h @@ -65,6 +65,7 @@ enum class CommandID : uint8_t { FACTORY_RESET = 0x13, CHANGE_USER_PIN = 0x14, CHANGE_ADMIN_PIN = 0x15, + WRITE_TO_SLOT_2 = 0x16, ENABLE_CRYPTED_PARI = 0x20, DISABLE_CRYPTED_PARI = 0x20 + 1, //@unused |