[12] RFR 8208602: Cannot read PEM X.509 cert if there is whitespace after the header or footer

Weijun Wang weijun.wang at oracle.com
Wed Aug 1 02:34:05 UTC 2018


Please take a review at

   http://cr.openjdk.java.net/~weijun/8208602/webrev.00/

https://tools.ietf.org/html/rfc7468#section-3 explicitly allows WSP after the header/footer:

  textualmsg = preeb *WSP eol 
               *eolWSP 
               base64text 
               posteb *WSP [eol]

  preeb      = "-----BEGIN " label "-----" ;...
                                           ;...
  posteb     = "-----END " label "-----"   ;...

Thanks
Max




More information about the security-dev mailing list