AGENT-1514: Add ML-KEM verification test for IRI registry - #6003
Conversation
Add TestIRIController_VerifyMLKEMSupport to verify that the IRI registry supports X25519MLKEM768 hybrid key exchange for post-quantum readiness. This test uses openssl s_client to explicitly request ML-KEM key exchange and verifies that: - TLS 1.3 connection succeeds - X25519MLKEM768 key exchange is negotiated The test fulfills OpenShift 4.22 PQC requirements for TLS endpoints by providing explicit CI coverage for ML-KEM support on the IRI registry. Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@rwsu: This pull request references AGENT-1514 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/test e2e-agent-compact-ipv4-iso-no-registry |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThe pull request expands IRI registry test coverage by adding ML-KEM (post-quantum key exchange) support verification. It introduces import adjustments for dynamic certificate path construction and adds a new test function that confirms IRI registry capability for X25519MLKEM768 TLS group usage. ChangesML-KEM Support Testing
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 10 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (10 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.1)Command failed Comment |
|
/test unit |
|
/lgtm |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andfasano, rwsu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required |
|
@rwsu: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@rwsu: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
AGENT-1514: Add ML-KEM verification test for IRI registry
AGENT-1514: Add ML-KEM verification test for IRI registry
- What I did
Added a new e2e test TestIRIController_VerifyMLKEMSupport that verifies the IRI registry supports ML-KEM post-quantum key exchange (X25519MLKEM768) as required for OpenShift 4.22+. The test connects to the registry via api-int using the IRI CA cert and openssl s_client, explicitly requesting the X25519MLKEM768 key exchange group, then asserts that TLS 1.3 was negotiated and the ML-KEM group was used.
- How to verify it
Run on cluster with NoRegistryClusterInstall feature gate:
go test ./test/e2e-iri/... -run TestIRIController_VerifyMLKEMSupport -v -timeout 5m
Expected output:
Negotiated TLS1.3 group: X25519MLKEM768
New, TLSv1.3, Cipher is TLS_AES_128_GCM_SHA256
--- PASS: TestIRIController_VerifyMLKEMSupport
- Description for the changelog
Add e2e test to verify IRI registry supports ML-KEM (X25519MLKEM768) post-quantum key exchange over TLS 1.3.
Summary by CodeRabbit