x/crypto/acme: Directory.AuthzURL isn't checked for pre-auth support, in client.Authorize() #40839
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
|
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: