fips: enforce FIPS-compliant TLS ciphers in FIPS mode (#20131)

This commit enforces FIPS-compliant TLS ciphers in FIPS mode
by importing the `fipsonly` module.

Otherwise, MinIO still accepts non-FIPS compliant TLS connections.
This commit is contained in:
Andreas Auernhammer
2024-07-23 12:11:25 +02:00
committed by GitHub
parent b3a94c4e85
commit 4f5dded4d4
4 changed files with 3 additions and 51 deletions
+2
View File
@@ -20,4 +20,6 @@
package fips
import _ "crypto/tls/fipsonly"
const enabled = true