mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
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:
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user