Skip to content

chore(deps): bump @noble/ciphers from 1.3.0 to 2.2.0#67

Merged
cdrn merged 2 commits into
mainfrom
dependabot/npm_and_yarn/noble/ciphers-2.2.0
Jul 8, 2026
Merged

chore(deps): bump @noble/ciphers from 1.3.0 to 2.2.0#67
cdrn merged 2 commits into
mainfrom
dependabot/npm_and_yarn/noble/ciphers-2.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 8, 2026

Copy link
Copy Markdown
Contributor

Bumps @noble/ciphers from 1.3.0 to 2.2.0.

Release notes

Sourced from @​noble/ciphers's releases.

2.2.0

  • March 2026 self-audit (all files): no major issues found
    • Audited for spec compliance and security
    • Fix: ctr from webcrypto submodule used wrong counter wrapping
    • Fix: MAC no longer corrupts oversized outputs
    • Align CMAC API to other MACs
  • Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
    • TS 5.6 has Uint8Array, while TS 5.9+ made it generic Uint8Array<ArrayBuffer>
    • This creates incompatibility of code between versions
    • Previously, it was hard to use and constantly emitted errors similar to TS2345
    • See typescript#62240 for more context
  • Fix compilation issues on TypeScript v6
  • Zeroization improvements by @​ChALkeR in paulmillr/noble-ciphers#67, paulmillr/noble-ciphers#68
  • Make package Big Endian friendly. All tests pass on s390x
  • Improve tree-shaking, reduce bundle sizes
  • Add massive amounts of documentation everywhere

Full Changelog: paulmillr/noble-ciphers@2.1.1...2.2.0

2.1.1

  • Implement AES-SIV by @​overheadhunter in paulmillr/noble-ciphers#62
    • AES-SIV (RFC 5297) is different from AES-GCM-SIV (RFC 8452)
    • Deprecate old siv export in aes.js because it was an alias to gcmsiv
  • Publish provenance statement, missed in 2.0.1 due to GitHub bugs

New Contributors

Full Changelog: paulmillr/noble-ciphers@2.0.1...2.1.0

2.0.1

  • Disable extension-less imports. If you've used /chacha, switch to /chacha.js now. See 2.0.0 for more details.
  • package.json: specify exported submodules to ensure typescript autocompletion

GitHub Immutable Releases

This GH release does not include NPM & JSR attestations, until we fix bugs related to newly added GitHub Immutable Releases

Full Changelog: paulmillr/noble-ciphers@2.0.0...2.0.1

2.0.0

High-level

  • The package is now ESM-only. ESM can finally be loaded from common.js on node v20.19+
    • Node v20.19 is now the minimum required version
    • Package imports now work correctly in bundler-less environments, such as browsers
    • Reduces npm package size (traffic consumed): 118KB => 99KB
    • Reduces unpacked npm size (on-disk space): 753KB => 458KB
  • Make bundle sizes smaller, compared to v1.x
  • .js extension must be used for all modules

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​noble/ciphers since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

Dep tree changes

Added

@noble/ciphers@2.2.0

Removed

@noble/ciphers@1.3.0

Upgraded

  • @noble/ciphers: 1.3.02.2.0

Posted by lockfile-diff workflow.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/noble/ciphers-2.2.0 branch from 45decaf to 483eedc Compare July 8, 2026 02:14
Bumps [@noble/ciphers](https://github.com/paulmillr/noble-ciphers) from 1.3.0 to 2.2.0.
- [Release notes](https://github.com/paulmillr/noble-ciphers/releases)
- [Commits](paulmillr/noble-ciphers@1.3.0...2.2.0)

---
updated-dependencies:
- dependency-name: "@noble/ciphers"
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/noble/ciphers-2.2.0 branch from 483eedc to 76c0bdd Compare July 8, 2026 02:51
@cdrn

cdrn commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Reviewed and verified: full suite passes untouched (sigil is ESM with .js subpaths, so v2's packaging shift is a no-op). Cross-version check done by hand since round-trip tests can't prove it: v1.3.0 and v2.2.0 produce byte-identical XChaCha20-Poly1305 ciphertext for the same key/nonce, and v2 cleanly decrypts a v1-sealed blob — existing keyfiles remain decryptable. Pushed a pinned known-answer vector so future cipher-dep bumps self-verify in CI.

Same reasoning as the argon2id vector: round-trip tests seal and open
with the same library version, so a dependency bump that changed cipher
output would pass CI while bricking every keyfile on disk. Vector
computed with @noble/ciphers 1.3.0; verified byte-identical (encrypt)
and cleanly decrypting under 2.2.0 before this bump merges.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cdrn
cdrn merged commit 32f924d into main Jul 8, 2026
2 checks passed
@cdrn
cdrn deleted the dependabot/npm_and_yarn/noble/ciphers-2.2.0 branch July 8, 2026 02:52
cdrn added a commit that referenced this pull request Jul 9, 2026
Notable changes since 0.0.11:
  * SECURITY FIX: the ward hooks now honor what the threat model claims.
    BIP-39 seed phrases are redacted from tool output (checksum-validated,
    so prose is untouched), and secret-named env assignments
    (PRIVATE_KEY= / MNEMONIC= / SEED_PHRASE= / SECRET_KEY=) have their
    values stripped — so reading a .env no longer leaks key material into
    context while keeping ordinary config readable. The path blocker's
    deliberate (and tested) choice not to block .env/*.pem is now
    documented correctly rather than overclaimed. Reported privately by
    Ugur Ozer, AI Risk Management. (#71)
  * sigil rpc init — one-command JSON-RPC signing-proxy setup. (#63)
  * fix: canonical r/s encoding in signed-tx RLP — a signature whose r or
    s had a leading zero byte produced a tx some nodes rejected. (#59)
  * fix: portal-qr error correction raised L→M for scan reliability. (#62)
  * SECURITY.md added; ESLint + Prettier in CI; Dependabot + refreshed
    action pins; TypeScript 6; @noble/hashes + @noble/ciphers on 2.x
    (KDF/cipher output pinned by known-answer vectors). (#72, #68, #64, #69, #66, #67)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant