Skip to content

Bump @noble/hashes to v2 and add browser checks - #30

Merged
mattgle merged 1 commit into
devfrom
feat/platform-neutrality-proof
Jul 31, 2026
Merged

mattgle merged 1 commit into
devfrom
feat/platform-neutrality-proof

Conversation

@mattgle

@mattgle mattgle commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Aligns @noble/hashes with the rest of the SDK.
Cryptography and curves are already on v2, and verifies the package resolves for the browser.

  • @noble/hashes 1.8 → 2.2. v2 publishes only .js subpaths, so import specifiers carry the extension.
  • sha512HMAC gains RFC 4231 vectors, including two 131-byte-key cases covering key pre-hashing above SHA-512's 128-byte block. The previous over-length-key test asserted only digest length, which a silently truncated key would also satisfy.
  • The @railgun-reloaded/0zk-addresses lockfile pin was frozen at a commit predating that package's node:assert/strict removal, so the resolved dependency graph still contained a Node builtin. Refreshed to current dev.
  • check:browser and check:package added and wired into CI.

@mattgle mattgle self-assigned this Jul 30, 2026
@mattgle
mattgle requested a review from bhflm July 30, 2026 16:27
@mattgle
mattgle marked this pull request as ready for review July 30, 2026 16:27
@mattgle
mattgle force-pushed the feat/platform-neutrality-proof branch from 6b24c51 to c670973 Compare July 31, 2026 14:20
@mattgle
mattgle merged commit c670973 into dev Jul 31, 2026
1 check passed
@mattgle
mattgle deleted the feat/platform-neutrality-proof branch July 31, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants