-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: Don't omit authorization error returned in challenge URL #37340
Comments
/cc @FiloSottile @x1ddos |
@toothrot I see the |
Here's an example of a challenge url formatted this way, for which https://acme-v01.api.letsencrypt.org/acme/chall-v3/3078101936/5w1LuQ we will return this malformed error. You should be able to reproduce by calling This isn't only the case where the domain has a CAA record by the way, I'm just using this one since it's easy to replicate. There's another challenge link I've seen that returns a 202 and looks like the following. There are likely to be other cases as well.
|
Change https://golang.org/cl/220343 mentions this issue: |
Fixes golang/go#37340 Change-Id: I19c4f150b8607ad4a1613cf97ad3362f4b779d7c GitHub-Last-Rev: 4215964b4a680b135301695ccd56cff88a8ffb26 GitHub-Pull-Request: golang/crypto#121 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/220343 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Fixes golang/go#37340 Change-Id: I19c4f150b8607ad4a1613cf97ad3362f4b779d7c GitHub-Last-Rev: 4215964b4a680b135301695ccd56cff88a8ffb26 GitHub-Pull-Request: golang/crypto#121 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/220343 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Fixes golang/go#37340 Change-Id: I19c4f150b8607ad4a1613cf97ad3362f4b779d7c GitHub-Last-Rev: 4215964b4a680b135301695ccd56cff88a8ffb26 GitHub-Pull-Request: golang/crypto#121 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/220343 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Fixes golang/go#37340 Change-Id: I19c4f150b8607ad4a1613cf97ad3362f4b779d7c GitHub-Last-Rev: 4215964b4a680b135301695ccd56cff88a8ffb26 GitHub-Pull-Request: golang/crypto#121 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/220343 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Fixes golang/go#37340 Change-Id: I19c4f150b8607ad4a1613cf97ad3362f4b779d7c GitHub-Last-Rev: 4215964 GitHub-Pull-Request: golang#121 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/220343 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Fixes golang/go#37340 Change-Id: I19c4f150b8607ad4a1613cf97ad3362f4b779d7c GitHub-Last-Rev: 4215964b4a680b135301695ccd56cff88a8ffb26 GitHub-Pull-Request: golang/crypto#121 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/220343 Reviewed-by: Filippo Valsorda <filippo@golang.org>
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?
WaitAuthorization
on a challenge url.200
that looked like this:WaitAuthorization
unmarshals this response into awireAuthz
type; which expects errors to be nested under thechallenges
field.WaitAuthorization
returns this odd looking erroracme: authorization error for :
Identifier
field in the response, we should not return an error message assuming its presence.What did you expect to see?
acme: authorization error: 403 urn:ietf:params:acme:error:caa: CAA record for domain.com prevents issuance
What did you see instead?
acme: authorization error for :
Related PR
Link to a proposed fix over here: golang/crypto#121
The text was updated successfully, but these errors were encountered: