Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentsnpm

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

Advisories for openpgp
AdvisoryIdAffected versionsFixed inSource's rating
OpenPGP.js's message signature verification can be spoofedGHSA-8qff-qr5q-5pr8from 5.0.1 before 5.11.3; from 6.0.0-alpha.0 before 6.1.1Fixed in 5.11.3, 6.1.1Rated High
Cleartext Signed Message Signature Spoofing in openpgpGHSA-ch3c-v47x-4pgpbefore 4.10.11; from 5.0.0 before 5.10.1Fixed in 4.10.11, 5.10.1Rated Moderate
OpenPGP 1.2.0 and earlier decrypts arbitrary messagesGHSA-qmvq-f3fj-m3wgbefore 1.3.0Fixed in 1.3.0Rated High
Invalid Curve Attack in openpgpGHSA-77jf-fjjf-xcwwbefore 4.3.0Fixed in 4.3.0Rated Moderate
Message Signature Bypass in openpgpGHSA-qwqc-28w3-fww6before 4.2.0Fixed in 4.2.0Rated High
Improper Key Verification in openpgpGHSA-hfmf-q43v-2ffjbefore 4.2.0Fixed in 4.2.0Rated High

6 listed

Findings

Findings for openpgp
FindingIdSeverityUpdated
Message Signature Bypass in openpgpNMN-2026-0075Severity High3 December 2026
OpenPGP 1.2.0 and earlier decrypts arbitrary messagesNMN-2026-0074Severity High3 December 2026
Improper Key Verification in openpgpNMN-2026-0073Severity High3 December 2026
Cleartext Signed Message Signature Spoofing in openpgpNMN-2026-0071Severity Moderate3 December 2026
OpenPGP.js's message signature verification can be spoofedNMN-2026-0069Severity High3 December 2026
Invalid Curve Attack in openpgpNMN-2026-0068Severity Moderate3 December 2026

Reviewed 3 December 2026

Sources

  1. npm registry metadata for openpgpregistry.npmjs.orgRetrieved 3 December 2026
  2. OpenPGP.js READMEgithub.comRetrieved 3 December 2026
  3. OpenPGP.js v6.3.3 public-key algorithm sourcesgithub.comRetrieved 3 December 2026

Full record

Package
openpgp
Ecosystem
npm
Role
Protocol
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.