node-forge
Pure JavaScript cryptography and PKI toolkit: RSA signing and encryption, Ed25519, AES (including GCM), DES and RC2, SHA-1, SHA-2, MD5, HMAC, PBKDF2, a Fortuna-based random generator, X.509, PKCS formats and a TLS implementation.
In short
What to know.
- Algorithms
- RSA signatures, RSA encryption, Ed25519, AES and 6 more3 of 10 would be broken by a large quantum computer.
- Advisories
- 37 in the storeOSV last read 3 December 2026, 16:48 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, Ed25519 before large quantum computers exist.
37 in the store
Advisories
15 listed
Findings
Reviewed 3 December 2026
Sources
- npm registry metadata for node-forgeregistry.npmjs.orgRetrieved 3 December 2026
- forge READMEgithub.comRetrieved 3 December 2026
Full record
- Package
- node-forge
- Ecosystem
- npm
- Role
- Implementation
- Repository
- github.com/digitalbazaar/forge
- 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:48 UTC
- Findings
- 15 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
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- 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
- HMAC macSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened by Grover's search
- Cryptographically strong random number generation rngOtherNot applicable
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, Ed25519
- 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), HMAC, PBKDF2
- Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation
Notes describe algorithm families, not any one project.