openpgp
OpenPGP.js, a JavaScript implementation of OpenPGP (RFC 9580): RSA, DSA, ECDSA and ECDH on NIST, brainpool and secp256k1 curves, Ed25519, Ed448, X25519 and X448, AES with GCM, OCB and EAX, and Argon2 key derivation.
In short
What to know.
- Algorithms
- RSA signatures, RSA encryption, DSA, ECDSA on P-256 and 12 more12 of 16 would be broken by a large quantum computer.
- Advisories
- 6 in the storeOSV last read 3 December 2026, 16:49 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, ECDSA on secp256k1, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448 before large quantum computers exist.
6 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| OpenPGP.js's message signature verification can be spoofed | GHSA-8qff-qr5q-5pr8 | from 5.0.1 before 5.11.3; from 6.0.0-alpha.0 before 6.1.1 | Fixed in 5.11.3, 6.1.1 | Rated High |
| Cleartext Signed Message Signature Spoofing in openpgp | GHSA-ch3c-v47x-4pgp | before 4.10.11; from 5.0.0 before 5.10.1 | Fixed in 4.10.11, 5.10.1 | Rated Moderate |
| OpenPGP 1.2.0 and earlier decrypts arbitrary messages | GHSA-qmvq-f3fj-m3wg | before 1.3.0 | Fixed in 1.3.0 | Rated High |
| Invalid Curve Attack in openpgp | GHSA-77jf-fjjf-xcww | before 4.3.0 | Fixed in 4.3.0 | Rated Moderate |
| Message Signature Bypass in openpgp | GHSA-qwqc-28w3-fww6 | before 4.2.0 | Fixed in 4.2.0 | Rated High |
| Improper Key Verification in openpgp | GHSA-hfmf-q43v-2ffj | before 4.2.0 | Fixed in 4.2.0 | Rated High |
6 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| Message Signature Bypass in openpgp | NMN-2026-0075 | Severity High | 3 December 2026 |
| OpenPGP 1.2.0 and earlier decrypts arbitrary messages | NMN-2026-0074 | Severity High | 3 December 2026 |
| Improper Key Verification in openpgp | NMN-2026-0073 | Severity High | 3 December 2026 |
| Cleartext Signed Message Signature Spoofing in openpgp | NMN-2026-0071 | Severity Moderate | 3 December 2026 |
| OpenPGP.js's message signature verification can be spoofed | NMN-2026-0069 | Severity High | 3 December 2026 |
| Invalid Curve Attack in openpgp | NMN-2026-0068 | Severity Moderate | 3 December 2026 |
Reviewed 3 December 2026
Sources
- npm registry metadata for openpgpregistry.npmjs.orgRetrieved 3 December 2026
- OpenPGP.js READMEgithub.comRetrieved 3 December 2026
- OpenPGP.js v6.3.3 public-key algorithm sourcesgithub.comRetrieved 3 December 2026
Full record
- Package
- openpgp
- Ecosystem
- npm
- Role
- Protocol
- Repository
- github.com/openpgpjs/openpgpjs
- Status
- Not marked deprecated by its registry or maintainers.
- 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:49 UTC
- Findings
- 6 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
- ECDSA on secp256k1 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
- AES cipherSymmetricWeakened by Grover's search
- AES-GCM aeadSymmetricWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) 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, ECDSA on secp256k1, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.AES, AES-GCM, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), Argon2
Notes describe algorithm families, not any one project.