aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-01-24 15:17:22 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:39 +0100
commit02ac032b7493749bfd64533fe0c7f1e8ff46fe75 (patch)
tree18f69271e4ffec1179bd3bb4ec4fa9bd4d4ec872 /NitrokeyManager.cc
parent4f0ae6f59bc086f5ac9a1af14195b54c397641b2 (diff)
downloadlibnitrokey-02ac032b7493749bfd64533fe0c7f1e8ff46fe75.tar.gz
libnitrokey-02ac032b7493749bfd64533fe0c7f1e8ff46fe75.tar.bz2
Remove support for new authorization protocol for storage
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index e0e6ae3..09a0def 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -610,7 +610,7 @@ namespace nitrokey{
//authorization command is supported for versions equal or below:
auto m = std::unordered_map<DeviceModel , int, EnumClassHash>({
{DeviceModel::PRO, 7},
- {DeviceModel::STORAGE, 43},
+ {DeviceModel::STORAGE, 99},
});
return get_minor_firmware_version() <= m[device->get_device_model()];
}