PEM file line size

Matthias Buehlmann Matthias.Buehlmann at mabulous.com
Thu Feb 25 10:57:25 UTC 2021


„Parsers MAYhandle other line sizes.These requirements are consistent
with PEM [RFC1421 <https://tools.ietf.org/html/rfc1421>].“


It‘s not a bug, it‘s undefined behaviour.

On Wed, 24 Feb 2021 at 20:20 Frank Liu <gfrankliu at gmail.com> wrote:

> Hi,
>
> I noticed openssl 1.0.1 and 1.0.2 can't read a certificate PEM file with
> base64 line size of multiples of 1265. Any other line size seems to be
> fine, even though rfc7468 says "exactly 64 characters except for the final
> line".
>
> The same pem file can be read fine with latest openssl 1.1.1j. Does
> anybody know the bug or PR when that was fixed?
>
> Thanks!
> Frank
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20210225/63660265/attachment-0001.html>


More information about the openssl-users mailing list