Skip to content

Skipping crypto tests with expired certificate #1360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

grantnelson-wf
Copy link
Collaborator

@grantnelson-wf grantnelson-wf commented Feb 10, 2025

Problem

Master started failing CI because TestVerifyConnection and TestResumptionKeepsOCSPAndSCT failed with "bad certificate". Digging into the problem revealed that testRSACertificateIssuer, a hardcoded byte array of a certificate, expired in 2025-01-01. The last update to those that certificate for go1.19.13 is in 2019-06-20, so they gave it 6 years before expiring.

Solution

Added overrides to skip those tests with a comment to check in future versions.

It appears that the same string in go1.23.1 but have added code to those tests to update the time stamp on the certificates, so as we hit go1.20 and beyond we should check if we can stop skipping these tests or not.

@grantnelson-wf grantnelson-wf self-assigned this Feb 10, 2025
@grantnelson-wf grantnelson-wf marked this pull request as ready for review February 10, 2025 19:10
@grantnelson-wf grantnelson-wf merged commit 8e75705 into gopherjs:master Feb 10, 2025
10 checks passed
@grantnelson-wf grantnelson-wf deleted the cryptoAgain branch February 10, 2025 20:24
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.

2 participants