diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-31 00:06:06 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-01 17:14:43 -0800 |
commit | ec298ea1fc7d2339ef44d283644d6ee2ebcd54bd (patch) | |
tree | ae93437a53105bf3075c1812d77970ab4e0fc771 /rand/rand_core/src/lib.rs | |
parent | cf7218436686ed06852836e79e89971ac4f34c8e (diff) | |
download | nitrocli-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 'rand/rand_core/src/lib.rs')
0 files changed, 0 insertions, 0 deletions