Attention is currently required from: Frank Lichtenheld, Steffan Karger.

Arne Schwabe 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:

(2 comments)

File src/openvpn/crypto.c:

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


https://gerrit.openvpn.net/c/openvpn/+/2080/comment/c9cd59e5_e9dfda86?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 no […]
Yeah it is better to use memcmp_constant_time here. External input is only TLS 
EKM generated keys and there might be a theorectical problem indeed.

The old code didn't do a constant check but I don't think that gave a useful 
side channel attack vector since this check is only done once.



--
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: Steffan Karger <[email protected]>
Gerrit-Attention: Frank Lichtenheld <[email protected]>
Gerrit-Comment-Date: Mon, 02 Nov 2026 13:21:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Steffan Karger <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to