-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/crypto/acme: support subproblems #38978
Comments
Change https://golang.org/cl/233165 mentions this issue: |
/cc @FiloSottile @x1ddos |
Since this changes an API, marking it as a proposal. CL 233165 proposes the following API addition/change:
|
Based on the discussion above, this proposal seems like a likely accept. |
No change in consensus, so accepted. 🎉 |
Add support for RFC 8555 subproblems. The type naming is real bike-shed territory, but I think I've mostly matched the existing style of the package. In a similar vein the format of how to print subproblems when stringing an acme.Error is up for debate (it could just be completely ignored, and require clients to inspect Error.Subproblems themselves). Fixes golang/go#38978 Change-Id: Ice803079bab621ae9410de79e7e75e11c1af21b6 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/233165 Trust: Roland Shoemaker <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Russ Cox <[email protected]>
Add support for RFC 8555 subproblems. The type naming is real bike-shed territory, but I think I've mostly matched the existing style of the package. In a similar vein the format of how to print subproblems when stringing an acme.Error is up for debate (it could just be completely ignored, and require clients to inspect Error.Subproblems themselves). Fixes golang/go#38978 Change-Id: Ice803079bab621ae9410de79e7e75e11c1af21b6 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/233165 Trust: Roland Shoemaker <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Russ Cox <[email protected]>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Called
AuthorizeOrder
to request a new ACMEv2 Order with identifiers rejected by the CAWhat did you expect to see?
An
acme.Error
populated with RFC 8555 subproblemsWhat did you see instead?
An
acme.Error
with no subproblems available.This limits the information clients can provide to users and prevents automated corrections to the invalid Order, such as by removing the the rejected identifiers and requesting a new Order.
The text was updated successfully, but these errors were encountered: