fix(fips): flaky fips blackbox test and add missing curves (#3732)

2 unrelated issues:
See https://github.com/project-zot/zot/actions/runs/21336958408/job/61410298444?pr=3731 for details.
Also add missing fips curves https://cs.opensource.google/go/go/+/refs/tags/go1.25.6:src/crypto/tls/defaults_fips140.go;l=33

Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>
This commit is contained in:
Andrei Aaron
2026-01-26 13:45:03 +02:00
committed by GitHub
parent bf619c570e
commit e82aac8409
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -123,6 +123,11 @@ function verify_auth_and_push() {
zot_port=`cat ${BATS_FILE_TMPDIR}/zot.port`
# Disable TLS for regctl to avoid X25519 issues when regctl runs in FIPS mode
# This must be done before regctl registry login, as login automatically pings the registry
run regctl registry set localhost:${zot_port} --tls disabled
[ "$status" -eq 0 ]
# anonymous authn is set for zot, so all auth is ignored for the /v2/ ping
run regctl registry login localhost:${zot_port} -u ${user} -p ${pass}
[ "$status" -eq 0 ]