ACME clients can make an empty request to /acme/acct for their reg object. wfe.Account handled a truly empty request correctly, but misrouted empty JSON objects to updateAccount. This only happened to work because UpdateRegistration takes an entire Registration and returns it even if unchanged.
This preserves ACMEv1 backwards compatibility when the updateAccount flow is simplified.
ACME clients can make an empty request to
/acme/acct
for their reg object.wfe.Account
handled a truly empty request correctly, but misrouted empty JSON objects toupdateAccount
. This only happened to work becauseUpdateRegistration
takes an entireRegistration
and returns it even if unchanged.This preserves ACMEv1 backwards compatibility when the
updateAccount
flow is simplified.