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

Remove v1 NewCertificate code path from WFE and RA #5842

Merged
merged 6 commits into from
Dec 14, 2021
Merged

Conversation

aarongable
Copy link
Contributor

@aarongable aarongable commented Dec 8, 2021

The NewCertificate codepath was the ACME v1 API's equivalent of
the modern Finalize endpoint. Remove the bodies of the WFE's and
the RA's NewCertificate functions. Remove the functions which were
called only from those functions. One of the removed functions is the
old checkAuthorizations, so update some tests which were calling
that directly to instead use different entry points.

Part of #5681

@aarongable aarongable requested a review from a team as a code owner December 8, 2021 23:52
Base automatically changed from rm-wfe1-integration to main December 10, 2021 20:40
Copy link
Contributor

@jsha jsha left a comment

Choose a reason for hiding this comment

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

Beautiful! One change.

wfe/wfe.go Outdated Show resolved Hide resolved
@aarongable aarongable requested review from jsha and a team December 10, 2021 21:29
Copy link
Member

@beautifulentropy beautifulentropy left a comment

Choose a reason for hiding this comment

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

Looks great! I just caught a nit and some commented code.

ra/ra.go Outdated Show resolved Hide resolved
ra/ra_test.go Outdated Show resolved Hide resolved
ra/ra_test.go Outdated Show resolved Hide resolved
@jsha jsha merged commit 8da52f7 into main Dec 14, 2021
@jsha jsha deleted the rm-new-certificate branch December 14, 2021 01:45
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.

3 participants