diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-06-05 20:17:52 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-06-05 20:17:52 +0200 |
commit | 7a89b3dbf2f8d8f882edb6298d011cdd3d7add3c (patch) | |
tree | c90e6ef59ccf8304721c9ba8f656a00e6ab4e82b /src/lib.rs | |
parent | d61a89e08b6d1d807e26329538f358130a22b4e2 (diff) | |
download | nitrokey-rs-7a89b3dbf2f8d8f882edb6298d011cdd3d7add3c.tar.gz nitrokey-rs-7a89b3dbf2f8d8f882edb6298d011cdd3d7add3c.tar.bz2 |
Add tests with different TOTP time windows
While 30 seconds is the default time step for TOTP, arbitrary values are
possible. Yet the RFC does only provide test cases for the default time
window. This patch adds tests where these test cases are applied for a
time window of 60 seconds (if both the current time and the time window
double, the resulting TOTP code is the same).
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions