Skip to content

Fix HTTPS thumbprint lookup test#51152

Merged
marcoandredinis merged 1 commit intomasterfrom
marco/fix_thumbprint_test
Jan 17, 2025
Merged

Fix HTTPS thumbprint lookup test#51152
marcoandredinis merged 1 commit intomasterfrom
marco/fix_thumbprint_test

Conversation

@marcoandredinis
Copy link
Copy Markdown
Contributor

Go 1.23.5 changed the certificate (added another host), and the thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate is changed again.

Go 1.23.5 changed the certificate (added another host), and the
thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented
certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate
is changed again.
@marcoandredinis marcoandredinis added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v15 backport/branch/v17 labels Jan 17, 2025
@marcoandredinis marcoandredinis added this pull request to the merge queue Jan 17, 2025
Merged via the queue into master with commit b748f90 Jan 17, 2025
@marcoandredinis marcoandredinis deleted the marco/fix_thumbprint_test branch January 17, 2025 12:08
@public-teleport-github-review-bot
Copy link
Copy Markdown

@marcoandredinis See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed
branch/v17 Create PR

marcoandredinis added a commit that referenced this pull request Jan 17, 2025
Go 1.23.5 changed the certificate (added another host), and the
thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented
certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate
is changed again.
marcoandredinis added a commit that referenced this pull request Jan 17, 2025
Go 1.23.5 changed the certificate (added another host), and the
thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented
certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate
is changed again.
@codingllama
Copy link
Copy Markdown
Contributor

Many thanks for the quick fix, Marco!

marcoandredinis added a commit that referenced this pull request Jan 17, 2025
Go 1.23.5 changed the certificate (added another host), and the
thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented
certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate
is changed again.
github-merge-queue Bot pushed a commit that referenced this pull request Jan 17, 2025
* Fix HTTPS thumbprint lookup test (#51152)

Go 1.23.5 changed the certificate (added another host), and the
thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented
certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate
is changed again.

* fix panic
github-merge-queue Bot pushed a commit that referenced this pull request Jan 17, 2025
* Fix HTTPS thumbprint lookup test (#51152)

Go 1.23.5 changed the certificate (added another host), and the
thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented
certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate
is changed again.

* fix panic
mvbrock pushed a commit that referenced this pull request Jan 18, 2025
Go 1.23.5 changed the certificate (added another host), and the
thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented
certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate
is changed again.
carloscastrojumo pushed a commit to carloscastrojumo/teleport that referenced this pull request Feb 19, 2025
Go 1.23.5 changed the certificate (added another host), and the
thumbprint is now different.
Instead of updating the thumbprint, we now rely on the presented
certificate by the TLS Server.

This should ensure the test doesn't break again if the test certificate
is changed again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants