]> git.ipfire.org Git - thirdparty/openvpn.git/commit
auth-gen-token: Generate an auth-token per client
authorDavid Sommerseth <davids@openvpn.net>
Fri, 28 Oct 2016 19:48:42 +0000 (21:48 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Mon, 31 Oct 2016 11:06:12 +0000 (12:06 +0100)
commit270dc91164013eb7ace34d7b098fa11a97aef847
tree81bdce74be425f7a18d546e23a68c53da62c3b6f
parent58066d04036bf29107f67ca38c6e964ec11f9dfd
auth-gen-token: Generate an auth-token per client

When --auth-gen-token is used a random token key is generated for
each client after a successful user/password authentication.  This
token is expected to be returned in the password field on the
following authentications.

The token is 256 bits long and BASE64 encoded before it is stored.

  v2 - Fix Doxygen comment typo
     - Don't exceed 80 chars line length

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <1477684124-26083-4-git-send-email-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg12820.html
src/openvpn/ssl.c
src/openvpn/ssl_common.h
src/openvpn/ssl_verify.c