Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ACME (RFC 8555) § 8.2 Challenge Retries #242
base: master
Are you sure you want to change the base?
ACME (RFC 8555) § 8.2 Challenge Retries #242
Changes from 27 commits
6fdbd85
40d7c42
66b2c4b
f9779d0
8d43567
8fb558d
f56c449
5e6a020
9af4dd3
bdadea8
9518ba4
8326632
2d0a00c
a857c45
9f18882
089e3ae
2514b58
84af2ad
8556d45
794725b
8ae32f5
609e131
b061d0a
976c8f8
5354906
5e5a76c
b8b3ca2
c378e00
f022818
deacbdc
d5f95de
9103880
0f63e43
d54f963
0578055
6c39439
112fc59
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be misunderstanding the code, but if the status is
invalid
we still return a 200, right? So shouldn't we have another case here? Not really sure what you'd verify -- maybe that those fields aren't set? But just having the case with a "do nothing" will help to clarify.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think I need to add the case for "invalid" here. Good catch. These tests pass though, so I don't think we're actually testing that path, currently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But that would happen below. If the challenge is processing up here we return the challenge in the processing state with retryafter information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I was just saying 1) it would be nice to have a case for invalid, and 2) it would be nice to have an invalid test.