---
title: "node-forge 1.4.4 Breaking Changes on npm | Since.dev"
description: "What each node-forge release removed, renamed or changed: 263 breaking changes in 9 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/node-forge
last_updated: 2026-12-04
---

# node-forge breaking changes

node-forge 1.4.4 (November 23, 2026) is its newest release with breaking changes, 4 of them. The first: RC2 output changes for effective key sizes not a multiple of 8 bits in node-forge 1.4.4. Every breaking API change we have recorded in node-forge on npm: 263 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.4.4`, released November 23, 2026. [Source repository](https://github.com/digitalbazaar/forge)

Its 1.0.0 release requires Node.js 6.13.0 or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.10.0](#v-0-10-0) to [1.4.4](#v-1-4-4): 31 breaking changes in 4 versions.
- From [0.6.0](#v-0-6-0) to [1.4.4](#v-1-4-4): 143 breaking changes in 8 versions.

## node-forge 1.4.4 breaking changes

node-forge 1.4.4, released November 23, 2026: 4 breaking changes.

- **Behavior changed**  

Data encrypted with RC2 effective key sizes that are not multiples of 8 bits by earlier versions no longer decrypts. The default and other multiples of 8 are unchanged. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.4/CHANGELOG.md)
- **Behavior changed** `pki.privateKeyFromAsn1`  

RSAPrivateKey values with multiple primes or a version other than 0 are now rejected with an error instead of loading. Replace multi-prime keys that were used to sign with forge. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.4/CHANGELOG.md)
- **Behavior changed** `pki.privateKeyFromPem`  

RSAPrivateKey values with multiple primes or a version other than 0 are now rejected with an error instead of loading. Replace multi-prime keys that were used to sign with forge. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.4/CHANGELOG.md)
- **Behavior changed** `util.encode64`  

Characters above 0xff are encoded by their low byte, as Node.js does, instead of producing invalid base64. Input should be a binary string; use util.encodeUtf8 for text. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.4/CHANGELOG.md)

## node-forge 1.4.3 breaking changes

node-forge 1.4.3, released November 4, 2026: 2 breaking changes.

- **Behavior changed** `ed25519.verify`  

Signatures verified against small-order public keys, which previously verified, are now rejected. Code that verifies against attacker-chosen keys may see verification failures. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.3/CHANGELOG.md)
- **Behavior changed** `pki.verifyCertificateChain`  

Chains with a non-critical nameConstraints extension that the names below it violate now fail verification. Code that relied on those chains verifying must be checked, and a verify callback can still override errors. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.3/CHANGELOG.md)

## node-forge 1.4.1 breaking changes

node-forge 1.4.1, released October 27, 2026: 9 breaking changes.

- **Behavior changed**  

RSASSA PKCS#1 v1.5 signature verification now requires a canonical DER DigestInfo. Signatures with non-canonical encodings that previously verified now fail. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)
- **Behavior changed** `asn1.fromDer`  

Nested BIT STRING values are now kept undecoded. Code that relied on nested decoding must decode the inner BIT STRING value, after its leading unused bits octet, with asn1.fromDer(). [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)
- **Behavior changed** `asn1.oidToDer`  

OID strings whose first arc is not 0, 1 or 2, or whose second arc is over 39 under 0 or 1, now throw an error. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)
- **Behavior changed** `decipher.finish`  

Data with non-PKCS#7 padding such as ANSI X.923 or ISO 10126 now fails to decrypt. To decrypt it, set decipher.mode.unpad to false before finish() and remove the padding in your code. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)
- **Behavior changed** `pbe.generatePkcs12Key`  

pbe.generatePkcs12Key() and pkcs12.generateKey() now reject iteration counts less than one. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)
- **Behavior changed** `pem.decode`  

A PEM BEGIN line's label is now the shortest one followed by five dashes. Inputs whose labels contain double dashes may now parse differently. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)
- **Behavior changed** `pkcs12.pkcs12FromAsn1`  

PKCS#12 files with a MAC iteration count less than one are now rejected. Files that used zero iterations will no longer load. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)
- **Behavior changed** `pki.verifyCertificateChain`  

Certificate signatures are now verified using the padding scheme and parameters of the certificate's own signature algorithm. Chains that only passed under the issuer's scheme may now fail. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)
- **Behavior changed** `tagLength`  

Zero and other invalid GCM tag lengths now throw an error, and null or undefined now means the 128-bit default. Use a valid tag length and re-encrypt data that was encrypted with an empty tag. [github.com](https://github.com/digitalbazaar/forge/blob/v1.4.1/CHANGELOG.md)

## node-forge 1.0.0 breaking changes

node-forge 1.0.0, released January 5, 2022: 16 breaking changes.

- **Removed** `forge.debug`  

The forge.debug API is removed for security reasons, since it could allow prototype pollution. Code that calls it must stop using it. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Removed** `forge.http.parseUrl`  

The alias for forge.util.parseUrl is removed. Use the WHATWG URL Standard URL class instead. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Removed** `forge.task`  

The undocumented forge.task API is removed. Code that uses it must be changed or moved to other code. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Removed** `forge.util.getQueryVariables`  

Replace it with URLSearchParams and custom code as needed. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Removed** `forge.util.makeLink`  

Replace it with URL and custom code as needed. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Removed** `forge.util.makeRequest`  

Replace it with URL and custom code as needed. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Removed** `forge.util.parseFragment`  

Replace it with URL and custom code as needed. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Removed** `forge.util.parseUrl`  

Use the WHATWG URL Standard URL class instead. Environments without URL support need a polyfill. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Renamed**  

The repository's default branch is now main. Tooling that references master may need updating. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

Versions are now prefixed with v in the release process. Other tools, scripts, or scanners may need to adapt. [github.com](https://github.com/digitalbazaar/forge/blob/v1.0.0/CHANGELOG.md)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## node-forge 0.10.0 breaking changes

node-forge 0.10.0, released September 2, 2020: 66 breaking changes.

- **Removed** `"node-forge".jsbn.BigInteger.square`  

"node-forge".jsbn.BigInteger.square was removed in node-forge 0.10.0 [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.10.0)
- **Removed** `"node-forge".pki.Certificate.getAttribute`  

"node-forge".pki.Certificate.getAttribute was removed in node-forge 0.10.0 [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.10.0)
- **Removed** `util.deletePath`  

util.deletePath was removed as it is not part of the cryptography focus; use lodash unset instead. [github.com](https://github.com/digitalbazaar/forge/blob/0.10.0/CHANGELOG.md)
- **Removed** `util.getPath`  

util.getPath was removed as it is not part of the cryptography focus; use lodash get instead. [github.com](https://github.com/digitalbazaar/forge/blob/0.10.0/CHANGELOG.md)
- **Removed** `util.setPath`  

util.setPath was removed because of a prototype pollution security issue; use lodash set instead. [github.com](https://github.com/digitalbazaar/forge/blob/0.10.0/CHANGELOG.md)
- **Configuration changed**  

Node.js 4 is no longer supported; the code may still work but is not tested. Users on Node.js 4 should upgrade their runtime. [github.com](https://github.com/digitalbazaar/forge/blob/0.10.0/CHANGELOG.md)
- **Signature changed** `"node-forge".cipher.StartOptions.additionalData`  

Was additionalData?: string; now additionalData?: string | undefined. [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.10.0)
- **Signature changed** `"node-forge".cipher.StartOptions.iv`  

Was iv?: util.ByteBuffer | Byte\[\] | Bytes; now iv?: util.ByteBuffer | Byte\[\] | Bytes | undefined. [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.10.0)
- **Signature changed** `"node-forge".cipher.StartOptions.tag`  

Was tag?: util.ByteStringBuffer; now tag?: util.ByteStringBuffer | undefined. [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.10.0)
- **Signature changed** `"node-forge".cipher.StartOptions.tagLength`  

Was tagLength?: number; now tagLength?: number | undefined. [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.10.0)

And 56 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## node-forge 0.9.0 breaking changes

node-forge 0.9.0, released September 5, 2019: 6 breaking changes.

- **Signature changed** `"node-forge".hmac.Algorithm`  

Was type Algorithm = "sha1" | "md5" | "sha256"; now type Algorithm = "sha1" | "md5" | "sha256" | "sha512". [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.9.0)
- **Signature changed** `"node-forge".jsbn.BigInteger.toString`  

Was toString(): string; now toString(b?: number): string. [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.9.0)
- **Signature changed** `"node-forge".pki.decryptRsaPrivateKey`  

Was function decryptRsaPrivateKey(pem: PEM, passphrase?: string): PrivateKey function decryptRsaPrivateKey(pem: PEM, password: string): PrivateKey; now function decryptRsaPrivateKey(pem: PEM, passphrase?: string): rsa.PrivateKey function... [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.9.0)
- **Signature changed** `"node-forge".pki.privateKeyFromPem`  

Was function privateKeyFromPem(pem: PEM): PrivateKey; now function privateKeyFromPem(pem: PEM): rsa.PrivateKey. [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.9.0)
- **Signature changed** `"node-forge".pki.publicKeyFromPem`  

Was function publicKeyFromPem(pem: PEM): PublicKey; now function publicKeyFromPem(pem: PEM): rsa.PublicKey. [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.9.0)
- **Signature changed** `"node-forge".pki.verifyCertificateChain`  

Was function verifyCertificateChain(caStore: CAStore, chain: Certificate\[\], customVerifyCallback?: (verified: boolean | string, depth: number, chain: Certificate\[\]) => boolean): boolean; now function verifyCertificateChain(caStore... [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.9.0)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### node-forge 0.8.0 breaking changes

node-forge 0.8.0, released February 1, 2019: 16 breaking changes.

- **Removed** `"node-forge".pki.ed25519.Key.byteLength`  

"node-forge".pki.ed25519.Key.byteLength was removed in node-forge 0.8.0 [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.8.0)
- **Removed** `"node-forge".pki.ed25519.Key.slice`  

"node-forge".pki.ed25519.Key.slice was removed in node-forge 0.8.0 [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.8.0)

And 14 more in this version.

### node-forge 0.7.0 breaking changes

node-forge 0.7.0, released February 7, 2017: 24 breaking changes.

- **Removed**  

Bower and bundle distribution is no longer provided by this package and now lives in forge-dist. [github.com](https://github.com/digitalbazaar/forge/blob/0.7.0/CHANGELOG.md)
- **Removed** `"node-forge".pki.Key`  

"node-forge".pki.Key was removed in node-forge 0.7.0 [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.7.0)

And 22 more in this version.

### node-forge 0.6.0 breaking changes

node-forge 0.6.0, released June 9, 2014: 120 breaking changes.

- **Removed** `"node-forge".cipher.BlockCipher.mode`  

"node-forge".cipher.BlockCipher.mode was removed in node-forge 0.6.0 [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.6.0)
- **Removed** `"node-forge".cipher.Mode`  

"node-forge".cipher.Mode was removed in node-forge 0.6.0 [npmjs.com](https://www.npmjs.com/package/node-forge/v/0.6.0)

And 118 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
