le-store-SPEC.js says that email is optional in setKeypair #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Readme suggests that email will always be provided in setKeypair but the template branch says that opts.email is optional.
In addition, the in-memory implementation validates that an email has been provided.
Which is correct?
Given that a valid email needs to be provided with a domain that has a valid MX record, this suggests that email is mandatory
Registration
Technically the email is optional according to the ACME protocol spec.
However, changing the current implementation of Greenlock to make that true is probably not worth the effort.
Registration vs Renewal
You may write an implementation in which you can look up what you need to by using other information (such as the domain itself, or cert or key thumbprint) without the email.
In this sense, the email is still optional for a renewal, even though it is required for registration.
In fact, someone may not have the email available at the time of renewal because in their implementation they may need to look up the email address based on the domain.