#pgp

pgp-cleartext

PGP cleartext framework implementation

8 breaking releases

0.9.0 Jul 24, 2023
0.7.0 Apr 8, 2023
0.6.0 Mar 19, 2023
0.5.0 Dec 30, 2022
0.1.0 Jan 3, 2022

#1158 in Cryptography

Download history 141/week @ 2023-06-13 178/week @ 2023-06-20 149/week @ 2023-06-27 159/week @ 2023-07-04 141/week @ 2023-07-11 184/week @ 2023-07-18 191/week @ 2023-07-25 179/week @ 2023-08-01 233/week @ 2023-08-08 157/week @ 2023-08-15 119/week @ 2023-08-22 125/week @ 2023-08-29 142/week @ 2023-09-05 113/week @ 2023-09-12 97/week @ 2023-09-19 108/week @ 2023-09-26

489 downloads per month
Used in 3 crates (via debian-packaging)

MPL-2.0 license

28KB
410 lines

pgp-cleartext

pgp-cleartext is a library crate implementing support for the PGP cleartext framework (RFC 4880 Section 7) using the pgp crate.

The functionality in this crate is nominally part of the pgp crate itself. This feature is tracked at https://github.com/rpgp/rpgp/issues/122.


lib.rs:

PGP cleartext framework

The PGP cleartext framework is a mechanism to store PGP signatures inline with the cleartext data that is being signed.

The cleartext framework is defined by RFC 4880 Section 7 and this implementation aims to be conformant with the specification.

PGP cleartext signatures are text documents beginning with -----BEGIN PGP SIGNED MESSAGE-----. They have the form:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: <digest>

<normalized signed content>
-----BEGIN PGP SIGNATURE-----
<headers>

<signature data>
-----END PGP SIGNATURE-----

Dependencies

~13–45MB
~699K SLoC