diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-06-06 15:34:21 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-06-06 15:34:21 +0200 |
commit | c595fecc9cb857c41d6a90fe24fdb5c18f3e8958 (patch) | |
tree | 1c13c47ce5628ffa9d392fd9adad535145818909 /src/tests/pws.rs | |
parent | f8a9c031ff6c0d543318e0f88be48e945d115514 (diff) | |
download | nitrokey-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/tests/pws.rs')
0 files changed, 0 insertions, 0 deletions