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

Xuelei Fan xuelei.fan at oracle.com
Wed Aug 1 02:48:45 UTC 2018


Looks fine to me.

Xuelei

On 7/31/2018 7:34 PM, Weijun Wang wrote:
> 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