diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-23 02:08:47 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2018-12-24 18:15:28 -0800 |
commit | 1630c7872631f5f7e5bab599121df1fed26e47da (patch) | |
tree | d831a9029f970731534cfdef9c05bb9196fe096a /rand/rand_os/src | |
parent | 86b3170b1dd4c1955e540f5c914a317302754be1 (diff) | |
download | nitrocli-1630c7872631f5f7e5bab599121df1fed26e47da.tar.gz nitrocli-1630c7872631f5f7e5bab599121df1fed26e47da.tar.bz2 |
Implement the otp set subcommand
This patch implements the `otp set` subcommand that configures an OTP
slot. There are two ways to specify an OTP secret: as a hexadecimal
string (that means that every two characters are interpreted as a
hexadecimal representation of one byte of the secret) or as an ASCII
string (that means that the ASCII code of every character is interpreted
as one byte of the secret). As the HOTP RFC mentions both
representations, this implementation supports both.
Diffstat (limited to 'rand/rand_os/src')
0 files changed, 0 insertions, 0 deletions