~nitrokey/nitrokey/+git/libnitrokey:storage-v0.54-tests

Last commit made on 2019-06-24
Get this branch:
git clone -b storage-v0.54-tests https://git.launchpad.net/~nitrokey/nitrokey/+git/libnitrokey

Branch merges

Branch information

Name:
storage-v0.54-tests
Repository:
lp:~nitrokey/nitrokey/+git/libnitrokey

Recent commits

a8028a7... by Szczepan

Remove last TOTP slot to make the tests pass for Storage v0.54

Signed-off-by: Szczepan Zalega <email address hidden>

b1b8516... by Szczepan

Cleanup: replace magic numbers. Correct copyright dates.

Signed-off-by: Szczepan Zalega <email address hidden>

77f9214... by Szczepan

Add simple CLI tool to enable firmware update mode on NK Storage

Signed-off-by: Szczepan Zalega <email address hidden>

3ede630... by Szczepan

Merge branch 'otp_tests'

Add OTP tests:
- complete writing and reading codes
- test edge slots of TOTP and HOTP

1fed3fd... by Szczepan

Collect received OTP codes for all slots and print them

Signed-off-by: Szczepan Zalega <email address hidden>

926909f... by Szczepan

Add another test for reading and writing OTP slots

Signed-off-by: Szczepan Zalega <email address hidden>

89187c7... by Szczepan

Test writing edge OTP slots

This tests encountered bug in the Storage v0.54 RC.
Write either TOTP15 or HOTP1, and try to access the other.

Signed-off-by: Szczepan Zalega <email address hidden>

3fc4193... by Szczepan

Merge branch 'backward_compatibility'

Do the HOTP slot counter conversion from ASCII to binary only for
Storage v0.53 and lower. Storage v0.54 returns binary counter.

12c4198... by Szczepan

Add HOTP counter tests

Signed-off-by: Szczepan Zalega <email address hidden>

2ca5deb... by Szczepan

Add function reading HOTP slot details

Signed-off-by: Szczepan Zalega <email address hidden>