Auth token patches v3
Get series with b4
b4 am [email protected]...Versions newest first
- v3 Latest7 patches 8 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Write key to stdout if filename is not givensrc/ src/ | +22 | 2 replies | |
| 2/7 | Implement --genkey type keyfile syntax and migrate tls-crypt-v2doc/ src/ src/ +1 more | +131 | 2 replies | |
| 3/7 | Add pem_read_key_file variant that allows a random keysrc/ src/ | +37 | 1 reply | |
| 4/7 | Rewrite auth-token-gen to be based on HMAC based tokensdoc/ src/ src/ +10 more | +626 | 0 replies | |
| 5/7 | Implement a permanent session id in auth-tokendoc/ src/ src/ +6 more | +260 | 0 replies | |
| 6/7 | Sent indication that a session is expired to clientssrc/ src/ src/ +2 more | +24 | 0 replies | |
| 7/7 | Implement unit tests for auth-gen-tokentests/ tests/ | +392 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | David Sommerseth |
|---|---|
| 1/7 | A-b |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Openvpn-devel] [PATCH v3 0/7] Auth token patches v3
This is the v3 of the patch series. I choose to resend all of the patches so they all cleanly apply. Since the patches depend on the changes suggested to --genkey, I made them part of the patch series. The other patches have been updated to incoperate the feedback.
Arne Schwabe (7):
Write key to stdout if filename is not given Implement --genkey type keyfile syntax and migrate tls-crypt-v2 Add pem_read_key_file variant that allows a random key Rewrite auth-token-gen to be based on HMAC based tokens Implement a permanent session id in auth-token
Sent indication that a session is expired to clients Implement unit tests for auth-gen-token
doc/openvpn.8 | 141 ++++++-- src/openvpn/Makefile.am | 1 + src/openvpn/auth_token.c | 387 +++++++++++++++++++++ src/openvpn/auth_token.h | 129 +++++++ src/openvpn/crypto.c | 35 +- src/openvpn/crypto.h | 15 + src/openvpn/init.c | 90 +++-- src/openvpn/manage.c | 4 +- src/openvpn/openvpn.h | 1 + src/openvpn/options.c | 103 ++++-- src/openvpn/options.h | 19 +- src/openvpn/push.c | 70 +++- src/openvpn/push.h | 8 + src/openvpn/ssl.c | 13 +- src/openvpn/ssl_common.h | 56 +-- src/openvpn/ssl_verify.c | 213 ++++++------ src/openvpn/ssl_verify.h | 15 +- src/openvpn/tls_crypt.c | 13 +- tests/unit_tests/openvpn/Makefile.am | 18 +- tests/unit_tests/openvpn/test_auth_token.c | 375 ++++++++++++++++++++ 20 files changed, 1457 insertions(+), 249 deletions(-) create mode 100644 src/openvpn/auth_token.c create mode 100644 src/openvpn/auth_token.h create mode 100644 tests/unit_tests/openvpn/test_auth_token.c
Signature · 1 line
2.21.0