#rustls #pem

rustls-pemfile

Basic .pem file parser for keys and certificates

4 releases (1 stable)

1.0.0 Apr 14, 2022
0.3.0 Feb 5, 2022
0.2.1 Apr 17, 2021
0.2.0 Dec 28, 2020
0.1.0 Dec 28, 2020

#34 in Cryptography

Download history 92581/week @ 2022-01-24 87632/week @ 2022-01-31 109488/week @ 2022-02-07 118469/week @ 2022-02-14 112929/week @ 2022-02-21 131907/week @ 2022-02-28 133075/week @ 2022-03-07 149034/week @ 2022-03-14 161047/week @ 2022-03-21 167992/week @ 2022-03-28 177316/week @ 2022-04-04 192869/week @ 2022-04-11 223676/week @ 2022-04-18 233903/week @ 2022-04-25 241836/week @ 2022-05-02 238356/week @ 2022-05-09

949,088 downloads per month
Used in 643 crates (100 directly)

MIT/Apache/ISC

15KB
201 lines

rustls-pemfile

This is a basic parser for PEM-encodings commonly used for storing keys and certificates at rest.

It doesn't support reading encrypted keys: the cryptography standardised for this is typically very poor and doing so doesn't address a meaningful threat model.

Build Status Crate Documentation

Release history

  • 1.0.0 (2022-04-14)
    • Initial stable release. No API changes.
  • 0.3.0 (2022-02-05)
    • Add SEC1 EC key format support (ie, "EC PRIVATE KEY" sections) thanks to @farcaller.
    • Make Item enum non-exhaustive.
  • 0.2.1 (2021-04-17)
    • Performance improvements thanks to @zz85.
  • 0.2.0 (2020-12-28)
    • Initial release.

License

rustls-pemfile is distributed under the following three licenses:

  • Apache License version 2.0.
  • MIT license.
  • ISC license.

These are included as LICENSE-APACHE, LICENSE-MIT and LICENSE-ISC respectively. You may use this software under the terms of any of these licenses, at your option.

Dependencies

~175KB