Skip to content

Commit

Permalink
Update man page and changelog to reflect --token-* changes
Browse files Browse the repository at this point in the history
Also, tweak the man page syntax so it is more consistent with how other
options are documented.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
cernekee authored and David Woodhouse committed Mar 25, 2013
1 parent 1568814 commit 47c6a25
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
27 changes: 16 additions & 11 deletions openconnect.8.in
Expand Up @@ -49,8 +49,8 @@ openconnect \- Connect to Cisco AnyConnect VPN
.OP \-\-no\-passwd
.OP \-\-non\-inter
.OP \-\-passwd\-on\-stdin
.OP \-\-token-mode=\fIstoken|totp\fP
.OP \-\-token-secret=\fIsecret\fP
.OP \-\-token-mode mode
.OP \-\-token-secret secret
.OP \-\-reconnect\-timeout
.OP \-\-servercert sha1
.OP \-\-useragent string
Expand Down Expand Up @@ -325,17 +325,22 @@ Do not expect user input; exit if it is required.
.B \-\-passwd\-on\-stdin
Read password from standard input
.TP
.B \-\-token\-mode=\fIstoken|totp\fP
Select the algorithm to use to generate one-time passwords/verification
codes. \fIstoken\fP for RSA SecurID requires libstoken, and \fItotp\fP
for RFC 6238 requires liboath.
.B \-\-token\-mode=MODE
Enable one-time password generation using the
.I MODE
algorithm.
.B \-\-token\-mode=rsa
will call libstoken to generate an RSA SecurID tokencode, and
.B \-\-token\-mode=totp
will call liboath to generate an RFC 6238 password.
.TP
.B \-\-token\-secret[=\fIsecret\fP]
.B \-\-token\-secret=SECRET
The secret to use when generating one-time passwords/verification codes.
If \fIsecret\fP is omitted and \-\-token-mode is \fIstoken\fP, libstoken
will try to use the software token seed stored in \fI~/.stokenrc\fP, if this
file exists. Base 32-encoded TOTP secrets can be specified by specifying
"base32:" at the beginning of the secret.
Base 32-encoded TOTP secrets can be used by specifying "base32:" at the
beginning of the secret. If this option is omitted, and \-\-token\-mode is
"rsa", libstoken will try to use the software token seed saved in
.B ~/.stokenrc
by the "stoken import" command.
.TP
.B \-\-reconnect\-timeout
Keep reconnect attempts until so much seconds are elapsed. The default
Expand Down
1 change: 1 addition & 0 deletions www/changelog.xml
Expand Up @@ -23,6 +23,7 @@
<li>Fix memory leaks on <tt>realloc()</tt> failure.</li>
<li>Fix certificate validation problem caused by hostname canonicalisation.</li>
<li>Add RFC6238 TOTP token support using <a href="http://www.nongnu.org/oath-toolkit/">liboath</a>.</li>
<li>Replace <tt>--stoken</tt> option with more generic <tt>--token-mode</tt> and <tt>--token-secret</tt> options.</li>
</ul><br/>
</li>
<li><b><a href="ftp://ftp.infradead.org/pub/openconnect/openconnect-4.99.tar.gz">OpenConnect v4.99</a></b>
Expand Down

0 comments on commit 47c6a25

Please sign in to comment.