diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2020-02-25 14:10:30 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2020-02-26 12:26:39 +0100 |
commit | 55f9b7293c22bbedd5a972fa8f1946dfd57d9c7a (patch) | |
tree | 9eb28a9c2dd53f29280972d1fe2499e3ae8e5537 /unittest/constants.py | |
parent | b0550556c02625e59c11212421c4b81d9cddc961 (diff) | |
download | libnitrokey-55f9b7293c22bbedd5a972fa8f1946dfd57d9c7a.tar.gz libnitrokey-55f9b7293c22bbedd5a972fa8f1946dfd57d9c7a.tar.bz2 |
Data retention test. Refactoring. Helper functions.
Diffstat (limited to 'unittest/constants.py')
-rw-r--r-- | unittest/constants.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/unittest/constants.py b/unittest/constants.py index b73dfe8..4047f59 100644 --- a/unittest/constants.py +++ b/unittest/constants.py @@ -18,10 +18,7 @@ along with libnitrokey. If not, see <http://www.gnu.org/licenses/>. SPDX-License-Identifier: LGPL-3.0 """ - -from misc import to_hex - - +from misc import to_hex, bb RFC_SECRET_HR = '12345678901234567890' RFC_SECRET = to_hex(RFC_SECRET_HR) # '31323334353637383930...' @@ -61,4 +58,5 @@ class LibraryErrors: HOTP_slot_count = 3 -TOTP_slot_count = 15
\ No newline at end of file +TOTP_slot_count = 15 +PWS_SLOT_COUNT = 16 |