RFC Errata
RFC 9115, "An Automatic Certificate Management Environment (ACME) Profile for Generating Delegated Certificates", September 2021
Source of RFC: acme (sec)
Errata ID: 7336
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Carsten Bormann
Date Reported: 2023-02-06
Section Appendix A says:
oid = text .regexp "([0-2])((\.0)|(\.[1-9][0-9]*))*"
It should say:
oid = text .regexp "([0-2])((\\.0)|(\\.[1-9][0-9]*))*"
Notes:
Backslashes need to be doubled in CDDL strings (as they are done in Appendix B).
An alternative fix would be to replace \\. by [.]
Note that the equivalent fix is not required for
regtext = text .regexp "([^\*].*)|([\*][^\*].*)|([\*][\*].+)"
as the fact that the single backslashes have no effect is irrelevant here — the backslashes are not needed in the character classes [...].
As an editorial enhancement, the backslashes could be entirely removed from this line.