aboutsummaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-06-05 20:17:52 +0200
committerRobin Krahl <robin.krahl@ireas.org>2018-06-05 20:17:52 +0200
commit7a89b3dbf2f8d8f882edb6298d011cdd3d7add3c (patch)
treec90e6ef59ccf8304721c9ba8f656a00e6ab4e82b /TODO.md
parentd61a89e08b6d1d807e26329538f358130a22b4e2 (diff)
downloadnitrokey-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 'TODO.md')
-rw-r--r--TODO.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index c2096f7..dea7144 100644
--- a/TODO.md
+++ b/TODO.md
@@ -36,3 +36,4 @@
- Fix generic connection (`get_connected_device`).
- More specific error checking in the tests.
- Differentiate empty strings and errors (see `result_from_string`).
+- Check integer conversions.