# ProtonMail/gopenpgp

A high-level OpenPGP library

Repository: https://github.com/ProtonMail/gopenpgp
Canonical: https://ross.abutalabs.com/products/gopenpgp
Homepage: https://gopenpgp.org
Language: Go
License: MIT
License Family: permissive
Last push: 2026-07-23T15:12:43+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 81, longevity 100
- inputs: {"age_days": 2668, "days_push": 41, "days_rel": 126, "gap_med": 0.0, "n_releases_24m": 35}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1239, forks 140 (observed 2026-08-28T04:04:06.004065+00:00)

## What it is
GopenPGP is a high-level OpenPGP wrapper library for Go, developed by Proton Mail and built on a fork of the golang crypto library. It provides a simple API for key generation, encryption, decryption, signing, and verification, and is compatible with go-mobile.

## Use cases
- encrypt and decrypt data with PGP keys or passwords in Go
- generate OpenPGP key pairs programmatically
- sign messages with detached, inline, or cleartext signatures
- add PGP encryption to a mobile app via go-mobile
- implement RFC 9580 compliant OpenPGP encryption
- verify signed PGP messages in a Go backend

## When to choose
- you need an easy-to-use, well-maintained OpenPGP library in Go
- you want RFC 9580 support and security-audited crypto primitives
- you need PGP functionality on mobile platforms through go-mobile

## When to avoid
- you need low-level control over OpenPGP packet handling
- you are not working in Go or a go-mobile target
- you require backward compatibility with the V2 API without migration

## Facets
- artifact type: library
- maturity: stable
- function: cryptography, security, sdk
- domain: security, privacy, developer-tools
- platform: go, cross-platform
- tags: openpgp, pgp, encryption, signing, go-mobile, rfc9580, mobile

## Member repositories
- ProtonMail/gopenpgp (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.004065+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-30T05:09:55.677768+00:00, confidence not recorded.
  - readme: https://github.com/ProtonMail/gopenpgp (fetched 2026-08-28T04:04:06.004065+00:00, sha b9906b0004a4)
  - homepage: https://gopenpgp.org (fetched 2026-08-29T12:20:33.509786+00:00, sha 681446f0e29f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
