You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing PEM will now error for PEM sections larger than 256 MB in size, to avoid running out of memory during parsing. The limit was chosen based on historical data from large certificate revocation lists from the web PKI.
What's Changed
Remove mention of rustls-pemfile from docs by @ranile in #103
Fuse PEM iterators as soon as an IO error is seen. This ensures errors are returned when decoding multiple PEM items from an std::io::Read which permanently returns errors. This includes use of pem_file_iter() and pem_reader_iter() against directories. Fixes #98.
Fixed an issue where we failed to read PEM objects from slices without trailing newline. This failed in the PEM decoder introduced in rustls-pki-types 1.9.0 whereas it worked in rustls-pemfile 2.12.0. We now include a test to make sure this case doesn't regress again.