aboutsummaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2020-01-27 18:19:24 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2020-02-26 12:26:14 +0100
commitfdce2aee7dacbbfaad300fd6bef6dd70c0766604 (patch)
tree37fdbbedac9e2f0aeb658ae44577e531876fb162 /unittest
parent4d6a01cd2f2ec6440f5dd2c02048cbb413f91f5d (diff)
downloadlibnitrokey-fdce2aee7dacbbfaad300fd6bef6dd70c0766604.tar.gz
libnitrokey-fdce2aee7dacbbfaad300fd6bef6dd70c0766604.tar.bz2
Change too short password to default, but short of 1 letter
Diffstat (limited to 'unittest')
-rw-r--r--unittest/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittest/constants.py b/unittest/constants.py
index 9e04701..1ba52fa 100644
--- a/unittest/constants.py
+++ b/unittest/constants.py
@@ -41,7 +41,7 @@ class DefaultPasswords:
UPDATE_TEMP = b'123update123'
UPDATE_LONG = b'1234567890'*2
UPDATE_TOO_LONG = UPDATE_LONG + b'x'
- UPDATE_TOO_SHORT = b'1234567'
+ UPDATE_TOO_SHORT = UPDATE_LONG[:7]
class DeviceErrorCode: