Attention is currently required from: Arne Schwabe, Frank Lichtenheld.

Steffan Karger has posted comments on this change by Arne Schwabe. ( 
https://gerrit.openvpn.net/c/openvpn/+/2080?usp=email )

Change subject: Clean up weak key check
......................................................................


Patch Set 2: Code-Review-1

(2 comments)

File src/openvpn/crypto.c:

https://gerrit.openvpn.net/c/openvpn/+/2080/comment/bcd1a988_246b9b9b?usp=email 
:
PS2, Line 1680:      * not a compressive check, but no valid key should fail 
this check */
Comprehensive ?


https://gerrit.openvpn.net/c/openvpn/+/2080/comment/6023c95d_195bfd26?usp=email 
:
PS2, Line 1689:         msg(M_FATAL, "One key in static key/generated key  is 
all zero.");
Not sure we ever trigger this code in response to external input, but in 
general we should better not do memcmp() on secret data, because we might 
somehow leak information through timing side channel. Use 
memcmp_constant_time() instead.



--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2080?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic5cf5ef723a33ad304b080ef19db2e4a0f4bb2eb
Gerrit-Change-Number: 2080
Gerrit-PatchSet: 2
Gerrit-Owner: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-Reviewer: Steffan Karger <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Attention: Frank Lichtenheld <[email protected]>
Gerrit-Comment-Date: Mon, 02 Nov 2026 12:57:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to