You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wrong implementation of ACME spec: Orders should transition to "invalid", not "deactivated" #300
// An order is deactivated if **any** of its authzs are deactivated
if authzStatuses[acme.StatusDeactivated] > 0 {
return acme.StatusDeactivated, nil
}
This is not a correct implementation of the ACME spec. The Order object does not have a "deactivated" state. The spec states it should transition to "invalid".
The order also moves to the "invalid"
state if it expires or one of its authorizations enters a final state
other than "valid" ("expired", "revoked", or "deactivated")
changed the title [-]wrong implementation of ACME spec[/-][+]wrong implementation of ACME spec: Orders should transition to "invalid", not "deactivated"[/+]on Feb 22, 2020
Good catch. Thanks for reporting it, and my apologies that you spent so much time trying to track it down. I've uploaded a fix at #301. Want to try that out and let me know if it fixes the issue for you?
Activity
[-]wrong implementation of ACME spec[/-][+]wrong implementation of ACME spec: Orders should transition to "invalid", not "deactivated"[/+]jsha commentedon Feb 24, 2020
Good catch. Thanks for reporting it, and my apologies that you spent so much time trying to track it down. I've uploaded a fix at #301. Want to try that out and let me know if it fixes the issue for you?
jvanasco commentedon Feb 24, 2020
Thanks, @jsha looks much better than the patch i put together. i'll run it through my test suite tomorrow or the day after.
I'm actually glad this happened - my code should have been written to catch potentially malformed/incorrect responses.
Orders don't have a "deactivated" status. (letsencrypt#301)