aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-12-12 15:22:11 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2016-12-12 15:22:11 +0100
commit58c15291c3c758bc79adc8e65d471b1f5dded136 (patch)
treeafedffcb5dc4a076b295fc962932a74a7785fb48 /include
parent5e02e1e198c1c4051f15c45dfeb67b9be2cd5aa1 (diff)
downloadlibnitrokey-58c15291c3c758bc79adc8e65d471b1f5dded136.tar.gz
libnitrokey-58c15291c3c758bc79adc8e65d471b1f5dded136.tar.bz2
Remove changes to Pro 0.7 stick commands
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include')
-rw-r--r--include/stick10_commands.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/stick10_commands.h b/include/stick10_commands.h
index 5ae2591..f02fd70 100644
--- a/include/stick10_commands.h
+++ b/include/stick10_commands.h
@@ -48,7 +48,6 @@ class EraseSlot : Command<CommandID::ERASE_SLOT> {
public:
struct CommandPayload {
uint8_t slot_number;
- uint8_t temporary_admin_password[25];
bool isValid() const { return !(slot_number & 0xF0); }
std::string dissect() const {
@@ -138,7 +137,6 @@ class WriteToHOTPSlot : Command<CommandID::WRITE_TO_SLOT> {
};
class WriteToTOTPSlot : Command<CommandID::WRITE_TO_SLOT> {
- //admin auth
public:
struct CommandPayload {
uint8_t slot_number;
@@ -184,7 +182,6 @@ class WriteToTOTPSlot : Command<CommandID::WRITE_TO_SLOT> {
};
class GetTOTP : Command<CommandID::GET_CODE> {
- //user auth
public:
struct CommandPayload {
uint8_t slot_number;
@@ -615,7 +612,6 @@ class PasswordSafeSendSlotViaHID : Command<CommandID::PW_SAFE_SEND_DATA> {
// TODO "Device::passwordSafeSendSlotDataViaHID"
class WriteGeneralConfig : Command<CommandID::WRITE_CONFIG> {
- //admin auth
public:
struct CommandPayload {
union{