-
Notifications
You must be signed in to change notification settings - Fork 18k
x/crypto/acme: Directory.AuthzURL isn't checked for pre-auth support, in client.Authorize() #40839
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
Comments
/cc @FiloSottile @x1ddos per owners. |
// AuthzURL is used to initiate identifier pre-authorization flow.
// Empty string indicates the flow is unsupported by the CA.
AuthzURL string |
@x1ddos , in this file : https://github.com/golang/crypto/blob/123391ffb6de/acme/acme.go#L466 , you can see :
there is a discovery made, but … nothing is done with the directory, and the next instruction is to do a my point is : |
This issue is about Dev Experience , not cryptography, not RTFM. I already read the manual and I read also the RFC, how can @x1ddos may guess that ? the Dev Experience issue is the error but go is not a one-person side-project. English is not my native language, and I live with a brain injury (traumatic injury) that make those kind of social interaction really difficult in any language. I don't ask any favor, I just expect a reply compatible with https://golang.org/conduct
|
Change https://go.dev/cl/661675 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes, with any release of crypto/acme with ACMEv2 support
What did you do?
What did you expect to see?
What did you see instead?
this obscure error is returned because
AuthzURL
is empty for letsencrypt staging v2, and AuthzURL is not tested before calling POST.The text was updated successfully, but these errors were encountered: