Skip to content

fix(deps): update dependency @noble/ciphers to v2 - #539

Open
renovate[bot] wants to merge 1 commit into
chore/all-my-stuffsfrom
renovate/noble-ciphers-2.x
Open

renovate[bot] wants to merge 1 commit into
chore/all-my-stuffsfrom
renovate/noble-ciphers-2.x

Conversation

@renovate

@renovate renovate Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
@noble/ciphers (source) ^1.3.0 → ^2.0.0 age confidence

Release Notes

paulmillr/noble-ciphers (@​noble/ciphers)

v2.4.0

Compare Source

  • ChaCha / Salsa: reject output buffers that partially overlap unread input
  • PRG: using after clean now throws
  • Webcrypto: snapshot keys and params
  • FF1: sizing for very large domains

v2.3.0

Compare Source

Hardening
  • AEAD strictness: passing AAD to a cipher that doesn't support it now throws AAD not supported instead of silently ignoring it. Applies to both native ciphers and the WebCrypto wrappers via a new withAAD cipher parameter.
  • CBC/ECB padding failures now surface as a generic aes: bad decrypt instead of a padding-specific message, reducing padding-oracle signal.
  • FF1: minLen now enforces the NIST SP 800-38G minimum of 2 in addition to radix ** minLen >= 100; stricter radix encoding guards.
  • Correctness fixes for big-endian CPUs (POLYVAL tag normalization and AES-CTR partial-block tails).
  • Other minor corrections.
  • Reduce on-disk package size from 710 KB to 531 KB by disabling source maps, which have become less relevant.
  • Boost AES-SIV speed by 20%.

v2.2.0

Compare Source

  • March 2026 self-audit (all files): no major issues found.
    • Audited for specification compliance and security.
    • Fixed the ctr implementation from the webcrypto submodule using incorrect counter wrapping.
    • Fixed MAC corrupting oversized outputs.
    • Aligned the CMAC API with other MACs.
  • Fixed all byte-array types to work properly in both TypeScript 5.6 and TypeScript 5.9+.
    • TypeScript 5.6 has Uint8Array, while TypeScript 5.9+ made it generic: Uint8Array<ArrayBuffer>.
    • This created incompatibilities between TypeScript versions.
    • Previously, usage was difficult and constantly emitted errors similar to TS2345.
    • See TypeScript issue #​62240 for more context.
  • Fixed compilation issues on TypeScript 6.
  • Zeroization improvements by @​ChALkeR in #​67 and #​68.
  • Made the package big-endian friendly. All tests pass on s390x.
  • Improved tree-shaking and reduced bundle sizes.
  • Added extensive documentation throughout the codebase.

v2.1.1

Compare Source

  • Implemented AES-SIV by @​overheadhunter in #​62.
    • AES-SIV (RFC 5297) is different from AES-GCM-SIV (RFC 8452).
    • Deprecated the old siv export in aes.js because it was an alias for gcmsiv.
  • Published the provenance statement that was missed in 2.0.1 due to GitHub bugs.
New Contributors

v2.0.1

Compare Source

  • Disabled extensionless imports. If you used /chacha, switch to /chacha.js. See 2.0.0 for more details.
  • Specified exported submodules in package.json to ensure TypeScript autocompletion.
GitHub Immutable Releases

This GitHub release does not include NPM and JSR attestations due to bugs related to newly added GitHub Immutable Releases.

v2.0.0

Compare Source

High-level changes
  • The package is now ESM-only. ESM can be loaded from CommonJS on Node.js 20.19+.
    • Node.js 20.19 is now the minimum required version.
    • Package imports now work correctly in bundlerless environments, such as browsers.
    • Reduced NPM package size from 118 KB to 99 KB.
    • Reduced unpacked NPM size from 753 KB to 458 KB.
  • Made bundle sizes smaller compared to v1.x.
  • The .js extension must be used for all modules.
    • Old: @noble/ciphers/aes
    • New: @noble/ciphers/aes.js
    • This simplifies native browser usage without transpilers.
Changes
  • Moved randomBytes and managedNonce from WebCrypto to utils.js.
  • Restricted GHASH, Poly1305, and POLYVAL hash inputs to Uint8Array; strings are prohibited.
  • Added abytes to utils and removed ahash and toBytes.
  • Removed the _assert module (use utils), _micro, and crypto (use webcrypto).
  • Upgraded the TypeScript compilation environment to TypeScript 5.9 and ES2022.
  • Made error messages substantially more descriptive.

Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch 2 times, most recently from 0f20b62 to d3f2be6 Compare August 12, 2026 03:34
@sharevb
sharevb force-pushed the chore/all-my-stuffs branch 2 times, most recently from cc0812b to 62ab0bf Compare September 6, 2026 07:59
@sharevb
sharevb force-pushed the chore/all-my-stuffs branch 2 times, most recently from 3ae31a6 to 90b7793 Compare September 27, 2026 20:37
@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch from d3f2be6 to 256c0b7 Compare October 3, 2026 23:16
@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch 3 times, most recently from 30dfe69 to ddebdf5 Compare October 26, 2026 23:37
@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch from ddebdf5 to 75ed8b0 Compare November 5, 2026 20:15
@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch from 75ed8b0 to 461d677 Compare November 11, 2026 21:02
@sharevb
sharevb force-pushed the chore/all-my-stuffs branch from 90225b8 to 91ee2ab Compare November 15, 2026 22:03
@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch 2 times, most recently from 7ee26f3 to c0ddba2 Compare November 20, 2026 23:31
@sharevb
sharevb force-pushed the chore/all-my-stuffs branch 3 times, most recently from 1bc71c8 to 699450c Compare November 22, 2026 20:07
@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch from c0ddba2 to ead1069 Compare November 25, 2026 19:17
@sharevb
sharevb force-pushed the chore/all-my-stuffs branch 2 times, most recently from 7b5ee33 to 4e3b86b Compare November 29, 2026 22:26
@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch from ead1069 to 53e9e10 Compare November 30, 2026 17:39
@renovate
renovate Bot force-pushed the renovate/noble-ciphers-2.x branch from 53e9e10 to 3ca48a6 Compare December 2, 2026 15:16

This branch had an error being deployed

1 failed (outdated) deployment
Preview — 75ed8b09 Deployed Nov 5, 2026 by renovate[bot] via deploy #234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants