From 53a2893ee725e4ad678b2060fd71729ff55e6cee Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 6 Jan 2019 00:10:44 +0100 Subject: 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. --- nitrocli/doc/nitrocli.1.pdf | Bin 14041 -> 14203 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'nitrocli/doc/nitrocli.1.pdf') diff --git a/nitrocli/doc/nitrocli.1.pdf b/nitrocli/doc/nitrocli.1.pdf index 5127435..4a3528f 100644 Binary files a/nitrocli/doc/nitrocli.1.pdf and b/nitrocli/doc/nitrocli.1.pdf differ -- cgit v1.2.1