Support external EC cert/key using --management-external-xxx
Get series with b4
b4 am [email protected]...Versions newest first
- v1 Latest3 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Refactor ssl_openssl.c in prep for external EC key supportsrc/ | +41 | 2 replies | |
| 2/3 | Allow external EC key through --management-external-keysrc/ src/ src/ | +202 | 24 replies | |
| 3/3 | Document management request >ECDSA_SIGN and response ecdsa-sigdoc/ | +30 | 5 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Arne Schwabe |
|---|---|
| 1/3 | |
| 2/3 | T-b A-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Openvpn-devel] [PATCH 0/3] Support external EC cert/key using --management-external-xxx
From: Selva Nair <[email protected]...>
Hi,
For now this is only for openssl 1.1.0+. With some ifdefs and compat functions could be back ported to 1.0.2.
For 1.0.1 hacks like duplicating internal ECDSA_METHOD struct or linking to internal headers appears to be required. Not interesting unless there is a strong demand.
For mbedtls I've no idea how to hook into the ecdsa signing methods.
Tested on linux/openssl-1.1.0g by manually passing the signature to management, with signature generated on command line by
'echo $rsa_sig_cut_n_paste | base64 -d | openssl pkeyutl -inkey keyfile | base64'
Doing something similar for cryptoapicert is in the works (actually that was the objective, but this was obviously easier to test, lather, rinse)
Selva
Selva Nair (3):
Refactor ssl_openssl.c in prep for external EC key support Allow external EC key through --management-external-key Document management request >ECDSA_SIGN and response ecdsa-sig
doc/management-notes.txt | 30 ++++++ src/openvpn/manage.c | 30 ++++++ src/openvpn/manage.h | 3 + src/openvpn/ssl_openssl.c | 234 +++++++++++++++++++++++++++++++++++++++++----- 4 files changed, 273 insertions(+), 24 deletions(-)
Signature · 1 line
2.1.4