Skip to contentSkip to conversation

Changes.rst: document removal of --keysize

PATCH In review Frank Lichtenheld 2 participants 2 messages Feb 1, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Changes.rst: document removal of --keysize

When reviweing OpenVPN/openvpn#231 I noticed this was missing from Changes.rst.

---
 Changes.rst           | 5 +++++
 src/openvpn/options.c | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)
Changes.rst +5 -0
index 4942a580..dc829032 100644
@@ -176,6 +176,11 @@ TLS 1.0 and 1.1 are deprecated
     a PRNG is better left to a crypto library. So we use the PRNG
     mbed TLS or OpenSSL now.
 
+``--keysize`` has been removed
+    The ``--keysize`` option was only useful to change the key length when using the
+    BF, CAST6 or RC2 ciphers. For all other ciphers the key size is fixed with the
+    chosen cipher. As OpenVPN v2.6 no longer supports any of these variable length
+    ciphers, this option was removed as well to avoid confusion.
 
 Compression no longer enabled by default
     Unless an explicit compression option is specified in the configuration,
src/openvpn/options.c +0 -1
index a5f6d244..34291edf 100644
@@ -4176,7 +4176,6 @@ options_postprocess_pull(struct options *o, struct env_set *es)
  *
  * --cipher
  * --auth
- * --keysize
  * --secret
  * --no-replay
  *
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw

Does what it says on the lid, not much to test here :-)

Your patch has been applied to the master branch.

commit b2e49465e6b837d97ecb3a4edbc06aba00584381 (master) commit c8e94242e31cf94a12f6e897191548be5c4893fe (release/2.6)

Author: Frank Lichtenheld
Date:   Wed Feb 1 14:52:21 2023 +0100
     Changes.rst: document removal of --keysize

     Signed-off-by: Frank Lichtenheld <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg26121.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering