diff options
author | Daniel Mueller <deso@posteo.net> | 2020-10-04 06:51:10 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-10-04 06:51:10 -0700 |
commit | dc99d8ffabcd51bc549981998c5d53b1fba789e9 (patch) | |
tree | 957909cec79f79d57487938be272e8520701f9e5 /doc | |
parent | 1229dd36306ac43480fcf2bfb91aa47d41ea5e77 (diff) | |
download | nitrocli-dc99d8ffabcd51bc549981998c5d53b1fba789e9.tar.gz nitrocli-dc99d8ffabcd51bc549981998c5d53b1fba789e9.tar.bz2 |
Update man page after change to base32 default OTP format
When we switched the default OTP format from hexadecimal to base32 we
missed that the manual was providing examples of the otp set command
that were implicitly making use of the default format -- leading to a
mismatch between what the example is meant to do and what it actually
does.
This change fixes this oversight in the manual by adjusting the examples
accordingly.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nitrocli.1 | 12 | ||||
-rw-r--r-- | doc/nitrocli.1.pdf | bin | 43324 -> 43299 bytes |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/nitrocli.1 b/doc/nitrocli.1 index 9ea2049..c6d27be 100644 --- a/doc/nitrocli.1 +++ b/doc/nitrocli.1 @@ -417,9 +417,9 @@ the encrypted volume (i.e., 50%) and stretching all the way to its end (100%): .SS One-time passwords Configure a one-time password slot with a hexadecimal secret representation: - $ \fBnitrocli otp set 0 test\-rfc4226 3132333435363738393031323334353637383930 \-\-algorithm hotp\fR - $ \fBnitrocli otp set 1 test\-foobar 666F6F626172 \-\-algorithm hotp\fR - $ \fBnitrocli otp set 0 test\-rfc6238 3132333435363738393031323334353637383930 \-\-algorithm totp \-\-digits 8\fR + $ \fBnitrocli otp set 0 test\-rfc4226 3132333435363738393031323334353637383930 \-\-format hex \-\-algorithm hotp\fR + $ \fBnitrocli otp set 1 test\-foobar 666F6F626172 \-\-format hex \-\-algorithm hotp\fR + $ \fBnitrocli otp set 0 test\-rfc6238 3132333435363738393031323334353637383930 \-\-format hex \-\-algorithm totp \-\-digits 8\fR .P Configure a one-time password slot with an ASCII secret representation: $ \fBnitrocli otp set 0 test\-rfc4226 12345678901234567890 \-\-format ascii \-\-algorithm hotp\fR @@ -427,9 +427,9 @@ Configure a one-time password slot with an ASCII secret representation: $ \fBnitrocli otp set 0 test\-rfc6238 12345678901234567890 \-\-format ascii \-\-algorithm totp \-\-digits 8\fR .P Configure a one-time password slot with a base32 secret representation: - $ \fBnitrocli otp set 0 test\-rfc4226 gezdgnbvgy3tqojqgezdgnbvgy3tqojq \-\-format base32 \-\-algorithm hotp\fR - $ \fBnitrocli otp set 1 test\-foobar mzxw6ytboi====== \-\-format base32 \-\-algorithm hotp\fR - $ \fBnitrocli otp set 0 test\-rfc6238 gezdgnbvgy3tqojqgezdgnbvgy3tqojq \-\-format base32 \-\-algorithm totp \-\-digits 8\fR + $ \fBnitrocli otp set 0 test\-rfc4226 gezdgnbvgy3tqojqgezdgnbvgy3tqojq \-\-algorithm hotp\fR + $ \fBnitrocli otp set 1 test\-foobar mzxw6ytboi====== \-\-algorithm hotp\fR + $ \fBnitrocli otp set 0 test\-rfc6238 gezdgnbvgy3tqojqgezdgnbvgy3tqojq \-\-algorithm totp \-\-digits 8\fR .P Generate a one-time password: $ \fBnitrocli otp get 0 \-\-algorithm hotp\fR diff --git a/doc/nitrocli.1.pdf b/doc/nitrocli.1.pdf Binary files differindex 0edc384..aba1eb0 100644 --- a/doc/nitrocli.1.pdf +++ b/doc/nitrocli.1.pdf |