You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mozilla updated their TLS configuration guidelines to v6.0, which includes:
- Removed legacy "old" profile (preserved v5.7 definition for backwards compatibility)
- Changed cipher list format from "ciphers.go" to "ciphers.iana"
- Added X25519MLKEM768 post-quantum hybrid curve
- Fixed cipher constant names (CHACHA20_POLY1305_SHA256)
Updated update-tls-profiles.sh to handle the new JSON structure and
added X25519MLKEM768 curve support to tlsprofiles package.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
// Verify intermediate profile contains X25519MLKEM768 (new in Mozilla v6.0)
176
+
require.Contains(t, intermediateTLSProfile.curves.curveNums, X25519MLKEM768, "intermediate profile should include X25519MLKEM768 curve")
177
+
require.Contains(t, intermediateTLSProfile.curves.curveNums, X25519, "intermediate profile should include X25519 curve")
178
+
179
+
// Verify intermediate profile has TLS 1.2 ciphers
180
+
require.NotEmpty(t, intermediateTLSProfile.ciphers.cipherNums, "intermediate profile should have ciphers")
181
+
require.Greater(t, len(intermediateTLSProfile.ciphers.cipherNums), len(modernTLSProfile.ciphers.cipherNums), "intermediate profile should have more ciphers than modern")
182
+
}
183
+
184
+
funcTestOldProfileContents(t*testing.T) {
185
+
// Verify old profile is preserved from Mozilla v5.7 (does NOT include X25519MLKEM768)
186
+
require.NotContains(t, oldTLSProfile.curves.curveNums, X25519MLKEM768, "old profile should NOT include X25519MLKEM768 (preserved from v5.7)")
187
+
require.Contains(t, oldTLSProfile.curves.curveNums, X25519, "old profile should include X25519 curve")
188
+
189
+
// Verify old profile has legacy ciphers
190
+
require.NotEmpty(t, oldTLSProfile.ciphers.cipherNums, "old profile should have ciphers")
191
+
require.Greater(t, len(oldTLSProfile.ciphers.cipherNums), len(intermediateTLSProfile.ciphers.cipherNums), "old profile should have more ciphers than intermediate")
0 commit comments