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
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| RSA public keys with exponent 1 are accepted on the Nettle and OpenSSL backends | RUSTSEC-2026-0612 | from 0.0.0-0 before 2.5.0 | Fixed in 2.5.0 | |
| User IDs and notation data are displayed without escaping control characters | RUSTSEC-2026-0614 | from 0.0.0-0 before 2.5.0 | Fixed in 2.5.0 | |
| Degenerate DSA keys are accepted on the Nettle and OpenSSL backends | RUSTSEC-2026-0609 | from 0.0.0-0 before 2.5.0 | Fixed in 2.5.0 | |
| Argon2 string-to-key parameters are not limited by StandardPolicy | RUSTSEC-2026-0613 | from 0.0.0-0 before 2.5.0 | Fixed in 2.5.0 | |
| ASCII armor parsing buffers a line without a length limit | RUSTSEC-2026-0610 | from 0.0.0-0 before 2.5.0 | Fixed in 2.5.0 | |
| Tolerant ASCII armor parsing can select a different block than a strict parser | RUSTSEC-2026-0611 | from 0.0.0-0 before 2.5.0 | Fixed in 2.5.0 | |
| Ed25519 identity and other low-order public keys are accepted for signature verification | RUSTSEC-2026-0615 | from 0.0.0-0 before 2.5.0 | Fixed in 2.5.0 | |
| Sequoia PGP has Subtraction Overflow when aes_key_unwrap function is provided ciphertext that is too short | GHSA-v6x3-9r38-r27q | before 2.1.0 | Fixed in 2.1.0 | Rated Moderate |
| Underflow in aes_key_unwrap function | RUSTSEC-2025-0136 | from 0.0.0-0 before 2.1.0 | Fixed in 2.1.0 | |
| Low severity (DoS) vulnerability in sequoia-openpgp | GHSA-9344-p847-qm5c | from 1.13.0 before 1.21.0 | Fixed in 1.21.0 | Rated Low |
| Low severity (DoS) vulnerability in sequoia-openpgp | RUSTSEC-2024-0345 | from 1.13.0 before 1.21.0 | Fixed in 1.21.0 | |
| sequoia-openpgp vulnerable to out-of-bounds array access leading to panic | GHSA-25mx-8f3v-8wh7 | before 1.1.1; from 1.2.0 before 1.8.1; from 1.9.0 before 1.16.0 | Fixed in 1.1.1, 1.8.1, 1.16.0 | Rated Low |
| Out-of-bounds array access leads to panic | RUSTSEC-2023-0038 | from 1.9.0 before 1.16.0 | Fixed in 1.16.0 |
10 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Ed25519 identity and other low-order public keys are accepted for signature verification | NMN-2026-0194 | 3 December 2026 | |
| User IDs and notation data are displayed without escaping control characters | NMN-2026-0192 | 3 December 2026 | |
| Argon2 string-to-key parameters are not limited by StandardPolicy | NMN-2026-0189 | 3 December 2026 | |
| RSA public keys with exponent 1 are accepted on the Nettle and OpenSSL backends | NMN-2026-0187 | 3 December 2026 | |
| Tolerant ASCII armor parsing can select a different block than a strict parser | NMN-2026-0185 | 3 December 2026 | |
| ASCII armor parsing buffers a line without a length limit | NMN-2026-0183 | 3 December 2026 | |
| Degenerate DSA keys are accepted on the Nettle and OpenSSL backends | NMN-2026-0182 | 3 December 2026 | |
| Underflow in aes_key_unwrap function | NMN-2026-0180 | 3 December 2026 | |
| Low severity (DoS) vulnerability in sequoia-openpgp | NMN-2026-0178 | 3 December 2026 | |
| Out-of-bounds array access leads to panic | NMN-2026-0177 | 3 December 2026 |
Reviewed 3 December 2026
Sources
- crates.io metadata for sequoia-openpgpcrates.ioRetrieved 3 December 2026
- sequoia-openpgp 2.5.1 README on crates.iocrates.ioRetrieved 3 December 2026
- sequoia-openpgp documentation: crypto/enum.PublicKeyAlgorithmdocs.rsRetrieved 3 December 2026
- sequoia-openpgp documentation: crypto/enum.HashAlgorithmdocs.rsRetrieved 3 December 2026
- sequoia-openpgp documentation: crypto/enum.SymmetricAlgorithmdocs.rsRetrieved 3 December 2026
Full record
- Package
- sequoia-openpgp
- Ecosystem
- crates.io
- Role
- Protocol
- Repository
- gitlab.com/sequoia-pgp/sequoia
- 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.