summaryrefslogtreecommitdiff
path: root/nitrokey/src/tests/mod.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-31 00:06:06 +0100
committerDaniel Mueller <deso@posteo.net>2019-01-01 17:14:43 -0800
commitec298ea1fc7d2339ef44d283644d6ee2ebcd54bd (patch)
treeae93437a53105bf3075c1812d77970ab4e0fc771 /nitrokey/src/tests/mod.rs
parentcf7218436686ed06852836e79e89971ac4f34c8e (diff)
downloadnitrocli-ec298ea1fc7d2339ef44d283644d6ee2ebcd54bd.tar.gz
nitrocli-ec298ea1fc7d2339ef44d283644d6ee2ebcd54bd.tar.bz2
Set the time before generating a TOTP
This patch changes the otp get command to set the Nitrokey's time before generating a one-time password using the TOTP algorithm. Per default, it sets the time to the current system time. If the --time option is set, it uses its value instead. See issue #34 [0] for a discussion of this change. [0] https://github.com/d-e-s-o/nitrocli/issues/34
Diffstat (limited to 'nitrokey/src/tests/mod.rs')
0 files changed, 0 insertions, 0 deletions