aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/docker
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-23 02:08:47 +0100
committerDaniel Mueller <deso@posteo.net>2018-12-24 18:15:28 -0800
commit1630c7872631f5f7e5bab599121df1fed26e47da (patch)
treed831a9029f970731534cfdef9c05bb9196fe096a /libc/ci/docker
parent86b3170b1dd4c1955e540f5c914a317302754be1 (diff)
downloadnitrocli-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 'libc/ci/docker')
0 files changed, 0 insertions, 0 deletions