From: "MaxF (Code Review)" Date: Wed, 5 Nov 2025 00:11:50 +0000 In-Reply-To: References: Reply-To: max@...2606..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="JciPBDCvpvU="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Add option to check tls-crypt-v2 key timestamps List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: flichtenheld , plaisthos , openvpn-devel --JciPBDCvpvU= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. MaxF has posted comments on this change by MaxF. ( http://gerrit.openvpn.ne= t/c/openvpn/+/1304?usp=3Demail ) Change subject: Add option to check tls-crypt-v2 key timestamps ...................................................................... Patch Set 5: (3 comments) File doc/man-sections/tls-options.rst: http://gerrit.openvpn.net/c/openvpn/+/1304/comment/ce9f65dd_da5e5dc5?usp=3D= email : PS4, Line 573: no timestamp. > should add in the description what happen if tls-crypt-v2 client keys are= used that don't use the ti [=E2=80=A6] Not sure what you mean. It says that keys without timestamp are rejected. File src/openvpn/tls_crypt.c: http://gerrit.openvpn.net/c/openvpn/+/1304/comment/6cce571b_0e82e17f?usp=3D= email : PS4, Line 537: msg(M_WARN, "ERROR: Client key doesn't have a timest= amp."); > I would go for the bit more formal form here and use "does not" instead o= f the short form "doesn't" Done http://gerrit.openvpn.net/c/openvpn/+/1304/comment/eb1c0953_574a54a0?usp=3D= email : PS4, Line 541: memcpy(×tamp, metadata + 1, sizeof(int64_t)); > I think we should add a length check here to ensure that the metadata is = long enough. Done -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1304?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I0579d18c784e2ac16973d5553992c28f281a0900 Gerrit-Change-Number: 1304 Gerrit-PatchSet: 5 Gerrit-Owner: MaxF Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Comment-Date: Wed, 05 Nov 2025 00:11:50 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: plaisthos --JciPBDCvpvU= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

View = Change

3 comments:

  • File doc/man-sections/tls-options.= rst:

    • P= atch Set #4, Line 573: = no timestamp.

      should add in the description what ha= ppen if tls-crypt-v2 client keys are used that don't use the ti [=E2=80= =A6]

      Not sure what you mean. It says that keys without tim= estamp are rejected.

  • File src/openvpn/tls_crypt.c:

    • Patch Set #4, Line 537: msg(M_WARN, "ERROR: Client key do= esn't have a timestamp.");

      I would go for th= e bit more formal form here and use "does not" instead of the sho= rt form "doesn't"

      Done

    • Patch Set #4, Line 541: memcpy(&timestamp, metadata + 1, sizeof(int64_t));

      I think we should add a length check here to ensure tha= t the metadata is long enough.

      Done

  • To view, visit change 1304. To unsubscribe, or for help writing mail filter= s, visit setting= s.

    Gerrit-MessageType: comment
    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: I0579d18c784e2ac16973d555399= 2c28f281a0900
    Gerrit-Change-Number: 1304
    Gerrit-PatchSet: 5
    Gerrit-Owner: MaxF <max@...2606...>
    Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
    Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
    Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
    Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
    Gerrit-Comment-Date: Wed, 05 Nov 2025 00:11:50= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: plaisthos <arne-openvp= n@...1227...>
    = --JciPBDCvpvU=--