RFC Errata
RFC 7468, "Textual Encodings of PKIX, PKCS, and CMS Structures", April 2015
Source of RFC: IETF - NON WORKING GROUPArea Assignment: sec
See Also: RFC 7468 w/ inline errata
Errata ID: 4508
Status: Verified
Type: Technical
Publication Format(s) : TEXT
Reported By: Sean Leonard
Date Reported: 2015-10-20
Verifier Name: Stephen Farrell
Date Verified: 2016-06-10
Section 3 says:
preeb = "-----BEGIN " label "-----" ; unlike [RFC1421] (A)BNF,
; eol is not required (but
posteb = "-----END " label "-----" ; see [RFC1421], Section 4.4)
It should say:
preeb = "-----" %x42.45.47.49.4E " " label "-----"
posteb = "-----" %x45.4E.44 " " label"-----"
; unlike [RFC1421] (A)BNF, eol is not required
; (but see [RFC1421], Section 4.4)
OR:
preeb = %s"-----BEGIN " label "-----" ; unlike [RFC1421] (A)BNF,
; eol is not required (but
posteb = %s"-----END " label "-----" ; see [RFC1421],
; Section 4.4)
...with reference to RFC 7405.
Notes:
The encapsulation boundaries are case-sensitive, including (especially) the BEGIN and END characters. Nearly all implementations enforce the case sensitivity of BEGIN and END on input, and all surveyed implementations output all-caps.
