Skip to content
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

Set test certs explicitly #259

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Set test certs explicitly #259

merged 1 commit into from
Feb 23, 2022

Conversation

jdtw
Copy link
Contributor

@jdtw jdtw commented Feb 23, 2022

Go 1.17.7 changes the internal test cert and broke our tests[1]. Rather than taking a dependency on the internals of the http package, set the expected cert explicitly in the test servier.

[1] https://cs.opensource.google/go/go/+/90860e0c3110ac5898dfe8e0e0fafd0aea8d979a

@jdtw jdtw linked an issue Feb 23, 2022 that may be closed by this pull request
@jdtw jdtw marked this pull request as ready for review February 23, 2022 20:58
Copy link

@mweissbacher mweissbacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdtw jdtw merged commit 9e92473 into master Feb 23, 2022
@jdtw jdtw deleted the jwood/fix-test-cert branch February 23, 2022 21:02
jdtw added a commit to jdtw/certigo that referenced this pull request Jul 25, 2022
* master: (21 commits)
  Update README.md
  Unconditionally add forward slash in OCSP GET requests (square#282)
  Use Go generate instead of a makefile (square#279)
  Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
  Add support for printing SCTs (square#277)
  Update Go version to 1.18 (square#276)
  Update to 1.16 (square#275)
  Fix OCSP checking (square#274)
  Bump github.com/stretchr/testify from 1.7.2 to 1.7.5
  Update go command to install certigo (square#270)
  Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
  Upgrade yaml.v3 version (square#266)
  Allow any ciphersuite in TestConnect (square#268)
  Fix TestConnect on macOS (square#265)
  Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (square#262)
  Bump version string to 1.15.1 (square#263)
  Remove use of the format list in the connect command (square#260)
  Add --leaf flag to view the first cert only, including for json and pem
  Set certs explicitly (square#259)
  Upgrade /x/crypto dependency (square#257)
  ...
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.

Tests take a dependency on an internal test certificate
2 participants