Skip to content

Commit

Permalink
Disable data v3 implementation
Browse files Browse the repository at this point in the history
The current data v3 implementation does not take into account
that GCM should only used a certain number of blocks.

Signed-off-by: Arne Schwabe <arne@openvpn.net>
  • Loading branch information
schwabe committed Sep 23, 2024
1 parent 033180a commit db45d98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openvpn/ssl/proto.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1104,8 +1104,10 @@ class ProtoContext : public logging::LoggingMixin<OPENVPN_DEBUG_PROTO,
| IV_PROTO_AUTH_FAIL_TEMP
| IV_PROTO_PUSH_UPDATE;

if (proto_v3_support)
iv_proto |= IV_PROTO_DATA_V3;
/* Note, this is disabled until OpenVPN3 implements data v3 support
* with epoch key rotation */
/* if (proto_v3_support)
iv_proto |= IV_PROTO_DATA_V3; */

if (CryptoAlgs::lookup("SHA256") != CryptoAlgs::NONE && CryptoAlgs::lookup("AES-256-CTR") != CryptoAlgs::NONE)
iv_proto |= IV_PROTO_DYN_TLS_CRYPT;
Expand Down

0 comments on commit db45d98

Please sign in to comment.