Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentscrates.io

sequoia-openpgp

OpenPGP (RFC 9580 and RFC 4880) implementation with RSA, DSA, ECDSA, ECDH, EdDSA, X25519 and X448 keys, post-quantum ML-KEM, ML-DSA and SLH-DSA algorithms, AES and SHA-1, SHA-2 and SHA-3 hashes.

In short

What to know.

Algorithms
RSA signatures, RSA encryption, DSA, ECDSA on P-256 and 18 more11 of 22 would be broken by a large quantum computer.
Advisories
13 in the storeOSV last read 3 December 2026, 16:52 UTC.
What to do
Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from RSA signatures, RSA encryption, DSA, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448 before large quantum computers exist.

13 in the store

Advisories

Advisories for sequoia-openpgp
AdvisoryIdAffected versionsFixed inSource's rating
RSA public keys with exponent 1 are accepted on the Nettle and OpenSSL backendsRUSTSEC-2026-0612from 0.0.0-0 before 2.5.0Fixed in 2.5.0
User IDs and notation data are displayed without escaping control charactersRUSTSEC-2026-0614from 0.0.0-0 before 2.5.0Fixed in 2.5.0
Degenerate DSA keys are accepted on the Nettle and OpenSSL backendsRUSTSEC-2026-0609from 0.0.0-0 before 2.5.0Fixed in 2.5.0
Argon2 string-to-key parameters are not limited by StandardPolicyRUSTSEC-2026-0613from 0.0.0-0 before 2.5.0Fixed in 2.5.0
ASCII armor parsing buffers a line without a length limitRUSTSEC-2026-0610from 0.0.0-0 before 2.5.0Fixed in 2.5.0
Tolerant ASCII armor parsing can select a different block than a strict parserRUSTSEC-2026-0611from 0.0.0-0 before 2.5.0Fixed in 2.5.0
Ed25519 identity and other low-order public keys are accepted for signature verificationRUSTSEC-2026-0615from 0.0.0-0 before 2.5.0Fixed in 2.5.0
Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too shortGHSA-v6x3-9r38-r27qbefore 2.1.0Fixed in 2.1.0Rated Moderate
Underflow in aes_key_unwrap functionRUSTSEC-2025-0136from 0.0.0-0 before 2.1.0Fixed in 2.1.0
Low severity (DoS) vulnerability in sequoia-openpgpGHSA-9344-p847-qm5cfrom 1.13.0 before 1.21.0Fixed in 1.21.0Rated Low
Low severity (DoS) vulnerability in sequoia-openpgpRUSTSEC-2024-0345from 1.13.0 before 1.21.0Fixed in 1.21.0
sequoia-openpgp vulnerable to out-of-bounds array access leading to panicGHSA-25mx-8f3v-8wh7before 1.1.1; from 1.2.0 before 1.8.1; from 1.9.0 before 1.16.0Fixed in 1.1.1, 1.8.1, 1.16.0Rated Low
Out-of-bounds array access leads to panicRUSTSEC-2023-0038from 1.9.0 before 1.16.0Fixed in 1.16.0

10 listed

Findings

Reviewed 3 December 2026

Sources

Full record

Package
sequoia-openpgp
Ecosystem
crates.io
Role
Protocol
Status
Not marked deprecated by its registry or maintainers.
Notes
Which algorithms work depends on the cryptographic backend chosen at build time. ML-KEM and ML-DSA appear as composites with X25519/X448 and Ed25519/Ed448. Legacy algorithms such as ElGamal, IDEA, CAST5 and MD5 are also recognized.
Reviewed
Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
Advisories read
Last read from OSV 3 December 2026, 16:52 UTC
Findings
10 listed above.

Algorithms it provides

  • RSA signatures signatureClassical public keyBroken by Shor's algorithm
  • RSA encryption public-key-encryptionClassical public keyBroken by Shor's algorithm
  • DSA signatureClassical public keyBroken by Shor's algorithm
  • ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
  • ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
  • ECDSA on P-521 signatureClassical public keyBroken by Shor's algorithm
  • ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
  • Ed25519 signatureClassical public keyBroken by Shor's algorithm
  • Ed448 signatureClassical public keyBroken by Shor's algorithm
  • X25519 key-exchangeClassical public keyBroken by Shor's algorithm
  • X448 key-exchangeClassical public keyBroken by Shor's algorithm
  • ML-KEM kemPost-quantumDesigned to resist
  • X25519MLKEM768 kemHybridHybrid
  • ML-DSA signaturePost-quantumDesigned to resist
  • SLH-DSA signaturePost-quantumDesigned to resist
  • AES cipherSymmetricWeakened by Grover's search
  • AES-GCM aeadSymmetricWeakened by Grover's search
  • SHA-1 hashHashWeakened by Grover's search
  • SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
  • SHA-3 and SHAKE hashHashWeakened by Grover's search
  • RIPEMD-160 hashHashWeakened by Grover's search
  • Argon2 password-hashSymmetricWeakened by Grover's search

What a large quantum computer would change

  • Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.RSA signatures, RSA encryption, DSA, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448
  • Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-KEM, ML-DSA, SLH-DSA
  • HybridCombines a classical scheme with a post-quantum one, so an attacker has to break both parts.X25519MLKEM768
  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.AES, AES-GCM, SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), SHA-3 and SHAKE, RIPEMD-160, Argon2

Notes describe algorithm families, not any one project.