Commit 869ca672 authored by Jan Včelák's avatar Jan Včelák 🚀
Browse files

keymgr, update documentation on tsig generate algorithm

parent b11a3348
......@@ -233,9 +233,9 @@ List private keys in the key store.
.SS tsig commands
.INDENT 0.0
.TP
\fBtsig\fP \fBgenerate\fP \fIname\fP [\fBhmac\fP \fIalgorithm\fP] [\fBsize\fP \fIbits\fP]
\fBtsig\fP \fBgenerate\fP \fIname\fP [\fBalgorithm\fP \fIid\fP] [\fBsize\fP \fIbits\fP]
Generate new TSIG key and print it on the standard output. The HMAC algorithm
defaults to \fIsha256\fP\&. The default key size is determined optimally based
defaults to \fIhmac\-sha256\fP\&. The default key size is determined optimally based
on the selected algorithm.
.UNINDENT
.SH EXAMPLES
......@@ -348,7 +348,7 @@ Generate a TSIG key named \fIoperator.key\fP:
.sp
.nf
.ft C
$ keymgr tsig generate operator.key hmac sha512
$ keymgr tsig generate operator.key algorithm hmac\-sha512
.ft P
.fi
.UNINDENT
......
......@@ -198,9 +198,9 @@ file-based key store is supported. This command is subject to change.
tsig commands
.............
**tsig** **generate** *name* [**hmac** *algorithm*] [**size** *bits*]
**tsig** **generate** *name* [**algorithm** *id*] [**size** *bits*]
Generate new TSIG key and print it on the standard output. The HMAC algorithm
defaults to *sha256*. The default key size is determined optimally based
defaults to *hmac-sha256*. The default key size is determined optimally based
on the selected algorithm.
Examples
......@@ -253,7 +253,7 @@ Examples
8. Generate a TSIG key named *operator.key*::
$ keymgr tsig generate operator.key hmac sha512
$ keymgr tsig generate operator.key algorithm hmac-sha512
See Also
--------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment