Skip to content

test(ssh): adapt tests for x/crypto v0.59.0 ValidPrincipals requirement - #522

Merged
kke merged 1 commit into
mainfrom
test/cert-fixture-principals
Nov 19, 2026
Merged

kke merged 1 commit into
mainfrom
test/cert-fixture-principals

Conversation

@kke

@kke kke commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

golang.org/x/crypto v0.59.0 makes Certificate.SignCert reject certificates without ValidPrincipals (CVE-2024-7594 hardening, golang/crypto@8483352eef)

Test-only change; unblocks #520.

golang.org/x/crypto v0.59.0 makes Certificate.SignCert reject a
certificate with no ValidPrincipals (CVE-2024-7594 hardening, matching
OpenSSH 10.3), which broke the cert signer tests and blocks #520.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke changed the title test(ssh): give certificate fixtures a principal test(ssh): adapt tests to x/crypto v0.59.0 ValidPrincipals requirement Nov 19, 2026
@kke kke changed the title test(ssh): adapt tests to x/crypto v0.59.0 ValidPrincipals requirement test(ssh): adapt tests for x/crypto v0.59.0 ValidPrincipals requirement Nov 19, 2026
@kke
kke merged commit 97e43cb into main Nov 19, 2026
23 of 24 checks passed
@kke
kke deleted the test/cert-fixture-principals branch November 19, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant