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

Switch to using upstream golang.org/x/crypto #2422

Merged
merged 3 commits into from Dec 10, 2019

Conversation

munnerz
Copy link
Member

@munnerz munnerz commented Dec 3, 2019

What this PR does / why we need it:

Switch to using upstream golang.org/x/crypto/acme package.

Since this now supports ACMEv2, we can (finally!) switch back to upstream! The structure of the package is basically the same, with a few slightly different variable/method names.

Release note:

Switch to using upstream `golang.org/x/crypto/acme` ACME client library

/area acme
/kind cleanup

@jetstack-bot jetstack-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. area/acme Indicates a PR directly modifies the ACME Issuer code dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Dec 3, 2019
@jetstack-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: munnerz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 3, 2019
@@ -90,7 +89,8 @@ func lookupClient(spec *cmacme.ACMEIssuer, pk *rsa.PrivateKey) *acmecl.Client {
HTTPClient: buildHTTPClient(spec.SkipTLSVerify),
Key: pk,
DirectoryURL: spec.Server,
UserAgent: util.CertManagerUserAgent,
// TODO: re-enable setting user agent
Copy link
Member Author

Choose a reason for hiding this comment

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

This needs fixing before merge

/hold

@jetstack-bot jetstack-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 3, 2019
Signed-off-by: James Munnelly <james@munnelly.eu>
Signed-off-by: James Munnelly <james@munnelly.eu>
Signed-off-by: James Munnelly <james@munnelly.eu>
@munnerz
Copy link
Member Author

munnerz commented Dec 3, 2019

/hold cancel

@jetstack-bot jetstack-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 3, 2019
@munnerz
Copy link
Member Author

munnerz commented Dec 3, 2019

/assign @JoshVanL

@munnerz munnerz added this to In progress in v0.13 via automation Dec 3, 2019
@munnerz munnerz added this to the v0.13 milestone Dec 3, 2019
@munnerz munnerz moved this from In progress to Review in progress in v0.13 Dec 5, 2019
@JoshVanL
Copy link
Collaborator

/lgt

@JoshVanL
Copy link
Collaborator

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 10, 2019
@jetstack-bot jetstack-bot merged commit 901d7e0 into cert-manager:master Dec 10, 2019
v0.13 automation moved this from Review in progress to Done Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/acme Indicates a PR directly modifies the ACME Issuer code dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
No open projects
v0.13
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants