# rpgp/rpgp

OpenPGP implemented in pure Rust, permissively licensed

Repository: https://github.com/rpgp/rpgp
Canonical: https://ross.abutalabs.com/products/rpgp
Homepage: https://docs.rs/pgp
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, pgp, cryptography, openpgp
Last push: 2026-08-20T10:25:32+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 78, longevity 100
- inputs: {"age_days": 3276, "days_push": 13, "days_rel": 71, "gap_med": 74.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1063, forks 101 (observed 2026-08-28T04:03:26.323778+00:00)

## What it is
rPGP is a pure Rust implementation of OpenPGP (RFC9580, RFC4880, RFC6637) with a flexible low-level API, published as the `pgp` crate. It supports v3/v4/v6 key formats, AEAD encryption, and all functionality required by the Autocrypt 1.1 email encryption specification.

## Use cases
- sign and verify files or messages with OpenPGP in Rust
- encrypt and decrypt data using PGP keys
- implement email encryption per the Autocrypt specification
- build PGP tooling like password managers or signing enclaves
- verify signatures in package formats like RPM or Debian packages
- use PGP from WebAssembly in the browser

## When to choose
- you need a permissively licensed (MIT/Apache-2.0) OpenPGP implementation in pure Rust
- you want a low-level API to build higher-level PGP tools
- you need modern OpenPGP features like v6 keys and AEAD
- you want to avoid C dependencies like GnuPG

## When to avoid
- you need a ready-made end-user PGP application rather than a library
- you need a high-level opinionated API with minimal boilerplate
- you require full RFC compliance certification for strict environments

## Facets
- artifact type: library
- maturity: active
- function: cryptography, security, serialization
- domain: security, privacy, email, developer-tools
- platform: rust, cross-platform, wasm
- tags: openpgp, pgp, pure-rust, encryption, signing, autocrypt

## Member repositories
- rpgp/rpgp (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.323778+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:56:40.653671+00:00, confidence not recorded.
  - readme: https://github.com/rpgp/rpgp (fetched 2026-08-28T04:03:26.323778+00:00, sha cce67d19c6b5)
  - homepage: https://docs.rs/pgp (fetched 2026-08-29T12:58:19.300451+00:00, sha 47703f6c2ed5)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T12:58:19.316001+00:00, sha 1b1efd93105f)
  - site_page: https://docs.rs/ (fetched 2026-08-29T12:58:19.303477+00:00, sha 607ae64b9953)
  - site_page: https://docs.rs/crate/pgp/latest (fetched 2026-08-29T12:58:19.306030+00:00, sha 296e4f173e40)
  - site_page: https://docs.rs/crate/pgp/latest/features (fetched 2026-08-29T12:58:19.308054+00:00, sha e608eb0d9a9f)
  - site_page: https://docs.rs/about (fetched 2026-08-29T12:58:19.309666+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T12:58:19.311303+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T12:58:19.312755+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T12:58:19.314282+00:00, sha 0dcdccb2b2b2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
