Skip to contentSkip to conversation

fix Changes.rst errors in 2.5.3 and 2.5.5 announcement

PATCH Superseded Gert Doering 2 participants 5 messages Dec 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix Changes.rst errors in 2.5.3 and 2.5.5 announcement

- 2.5.3 had a typo in the CVE ID (CVE-2121-3606 should be -2021-)
- 2.5.5 had windows paths with backslashes, which need to be doubled

(CVE ID typo also reported by "@attritionorg" in Github PR 165)

---
 Changes.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Changes.rst +3 -3
index b6f98d51..3d484318 100644
@@ -18,8 +18,8 @@ New features
 - Windows build: use CFG and Spectre mitigations on MSVC builds
 
 - bring back OpenSSL config loading to Windows builds.
-  OpenSSL config is loaded from %installdir%\SSL\openssl.cfg
-  (typically: c:\program files\openvpn\SSL\openssl.cfg) if it exists.
+  OpenSSL config is loaded from %installdir%\\SSL\\openssl.cfg
+  (typically: c:\\program files\\openvpn\\SSL\\openssl.cfg) if it exists.
 
   This is important for some hardware tokens which need special
   OpenSSL config for correct operation.  Trac #1296
@@ -102,7 +102,7 @@ Overview of changes in 2.5.3
 ============================
 Bugfixes
 --------
-- CVE-2121-3606
+- CVE-2021-3606
   see https://community.openvpn.net/openvpn/wiki/SecurityAnnouncements
 
   OpenVPN windows builds could possibly load OpenSSL Config files from
Signature · 1 line
2.26.3
#1 lore raw

Hi

Quoted 16 lines · Gert Doering

- 2.5.3 had a typo in the CVE ID (CVE-2121-3606 should be -2021-)
- 2.5.5 had windows paths with backslashes, which need to be doubled

(CVE ID typo also reported by "@attritionorg" in Github PR 165)

---
 Changes.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Changes.rst +0 -0
index b6f98d51..3d484318 100644

Changes.rst New features · line 22

Quoted 7 lines
Changes.rst +2 -2
@@ -18,8 +18,8 @@ New features
 - Windows build: use CFG and Spectre mitigations on MSVC builds
 
 - bring back OpenSSL config loading to Windows builds.
-  OpenSSL config is loaded from %installdir%\SSL\openssl.cfg
-  (typically: c:\program files\openvpn\SSL\openssl.cfg) if it exists.
+  OpenSSL config is loaded from %installdir%\\SSL\\openssl.cfg
+  (typically: c:\\program files\\openvpn\\SSL\\openssl.cfg) if it exists.

"openssl.cfg" --> "openssl.cnf" please (x2)

Also, we use "ssl" instead of "SSL" in the source (win32.c). If the installer also creates the folder as "ssl" it is arguably "more correct" to use the lowercase name in documentation as that's how it will show up in the file system. I haven't checked what case the installer uses. Just nit-picking.

Selva

#2 lore raw

PATCH v2 1/1 fix Changes.rst errors in 2.5.3 and 2.5.5 announcement

In reply to Gert Doering

- 2.5.3 had a typo in the CVE ID (CVE-2121-3606 should be -2021-)
- 2.5.5 had windows paths with backslashes, which need to be doubled

(CVE ID typo also reported by "@attritionorg" in Github PR 165)

v2: SSL -> ssl, and .cfg -> .cnf

---
 Changes.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Changes.rst +3 -3
index b6f98d51..4e4f2018 100644
@@ -18,8 +18,8 @@ New features
 - Windows build: use CFG and Spectre mitigations on MSVC builds
 
 - bring back OpenSSL config loading to Windows builds.
-  OpenSSL config is loaded from %installdir%\SSL\openssl.cfg
-  (typically: c:\program files\openvpn\SSL\openssl.cfg) if it exists.
+  OpenSSL config is loaded from %installdir%\\ssl\\openssl.cnf
+  (typically: c:\\program files\\openvpn\\ssl\\openssl.cnf) if it exists.
 
   This is important for some hardware tokens which need special
   OpenSSL config for correct operation.  Trac #1296
@@ -102,7 +102,7 @@ Overview of changes in 2.5.3
 ============================
 Bugfixes
 --------
-- CVE-2121-3606
+- CVE-2021-3606
   see https://community.openvpn.net/openvpn/wiki/SecurityAnnouncements
 
   OpenVPN windows builds could possibly load OpenSSL Config files from
Signature · 1 line
2.26.3
Acked-by on v2 1/1
#3 lore raw
Quoted 29 lines · Gert Doering

- 2.5.3 had a typo in the CVE ID (CVE-2121-3606 should be -2021-)
- 2.5.5 had windows paths with backslashes, which need to be doubled

(CVE ID typo also reported by "@attritionorg" in Github PR 165)

v2: SSL -> ssl, and .cfg -> .cnf

---
 Changes.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Changes.rst +2 -2
index b6f98d51..4e4f2018 100644
@@ -18,8 +18,8 @@ New features
 - Windows build: use CFG and Spectre mitigations on MSVC builds
 
 - bring back OpenSSL config loading to Windows builds.
-  OpenSSL config is loaded from %installdir%\SSL\openssl.cfg
-  (typically: c:\program files\openvpn\SSL\openssl.cfg) if it exists.
+  OpenSSL config is loaded from %installdir%\\ssl\\openssl.cnf
+  (typically: c:\\program files\\openvpn\\ssl\\openssl.cnf) if it exists.
 
   This is important for some hardware tokens which need special
   OpenSSL config for correct operation.  Trac #1296

Changes.rst Overview of changes in 2.5.3 · line 108

Quoted 8 lines
Changes.rst +1 -1
@@ -102,7 +102,7 @@ Overview of changes in 2.5.3
 ============================
 Bugfixes
 --------
-- CVE-2121-3606
+- CVE-2021-3606
   see https://community.openvpn.net/openvpn/wiki/SecurityAnnouncements
 
   OpenVPN windows builds could possibly load OpenSSL Config files from

--
Selva

#4 lore raw
In reply to Gert Doering

Patch has been applied to the release/2.5 branch.

commit e3bac09f6a128260e23d94463862757b576a12c3

Author: Gert Doering
Date:   Mon Dec 27 21:16:16 2021 +0100
     fix Changes.rst errors in 2.5.3 and 2.5.5 announcement

     Signed-off-by: Gert Doering <[email protected]...>
     Acked-by: Selva Nair <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/search?l=mid&[email protected]...
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering