summaryrefslogtreecommitdiff
path: root/src/otp.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-06-06 15:34:21 +0200
committerRobin Krahl <robin.krahl@ireas.org>2018-06-06 15:34:21 +0200
commitc595fecc9cb857c41d6a90fe24fdb5c18f3e8958 (patch)
tree1c13c47ce5628ffa9d392fd9adad535145818909 /src/otp.rs
parentf8a9c031ff6c0d543318e0f88be48e945d115514 (diff)
downloadnitrokey-rs-c595fecc9cb857c41d6a90fe24fdb5c18f3e8958.tar.gz
nitrokey-rs-c595fecc9cb857c41d6a90fe24fdb5c18f3e8958.tar.bz2
Adapt TOTP test cases for Nitrokey Storage
The current Nitrokey Storage firmware does not support timestamps that do not fit into an unsigned integer. Therefore, the tests totp_pin and totp_no_pin are restricted to 32-bit timestamps. New tests totp_pin_64 and totp_no_pin_64 are introduced for 64-bit timestamps. These are expected to panic for the Nitrokey Storage.
Diffstat (limited to 'src/otp.rs')
0 files changed, 0 insertions, 0 deletions