10 breaking releases

0.11.0 Nov 2, 2024
0.10.0 Nov 3, 2023
0.9.0 Jul 24, 2023
0.6.0 Mar 19, 2023
0.1.0 Jan 3, 2022

#1041 in Cryptography

Download history 89/week @ 2024-11-16 97/week @ 2024-11-23 221/week @ 2024-11-30 129/week @ 2024-12-07 67/week @ 2024-12-14 44/week @ 2024-12-21 28/week @ 2024-12-28 84/week @ 2025-01-04 62/week @ 2025-01-11 49/week @ 2025-01-18 48/week @ 2025-01-25 91/week @ 2025-02-01 73/week @ 2025-02-08 96/week @ 2025-02-15 83/week @ 2025-02-22 53/week @ 2025-03-01

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

MPL-2.0 license

29KB
415 lines

pgp-cleartext

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

As of version 0.13, the pgp crate has built-in PGP cleartext framework support. You should probably use the pgp crate directly instead of using this crate. (This crate predated existence of this feature in the pgp crate.)


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

~17–25MB
~336K SLoC