summaryrefslogtreecommitdiff
path: root/rand/rand_pcg/LICENSE-MIT
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-06 00:10:44 +0100
committerDaniel Mueller <deso@posteo.net>2019-01-13 18:36:58 -0800
commit53a2893ee725e4ad678b2060fd71729ff55e6cee (patch)
tree0d17667568b8f6fcb19fa111cc5efd8a7c16df13 /rand/rand_pcg/LICENSE-MIT
parent091e01ba40e488dfd68b43db56fc0693a350510a (diff)
downloadnitrocli-53a2893ee725e4ad678b2060fd71729ff55e6cee.tar.gz
nitrocli-53a2893ee725e4ad678b2060fd71729ff55e6cee.tar.bz2
Add the --format option to otp set to select the secret format
This patch introduces the -f/--format options for the otp set subcommand to specify the format of the OTP secret. Previously, the default format was hexadecimal and ASCII format could be selected using the --ascii option. The new --format option takes the argument hex or ascii, defaulting to hex, and replaces the --ascii option. This patch does not remove the --ascii option but marks it as deprecated. It may not be set together with --format, and a warning is printed if it is set. It should be deleted with the next minor release. This patch prepares the addition of a new format, base32.
Diffstat (limited to 'rand/rand_pcg/LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions