Skip to content

Releases: forgesworn/range-proof

v2.0.2

12 Apr 20:27

Choose a tag to compare

Bug Fixes

  • bump vite to 7.3.2 and picomatch to 4.0.4 (security) (deps)

v2.0.1

07 Apr 21:04

Choose a tag to compare

2.0.1 (2026-04-07)

Bug Fixes

  • remove forbidden author field, add SECURITY.md (c17af17)

v2.0.0

30 Mar 18:24

Choose a tag to compare

2.0.0 (2026-03-30)

  • fix!: harden crypto primitives, remove phantom dependencies (5fdfa44)

BREAKING CHANGES

  • hashToScalar now length-prefixes each part before
    concatenation, preventing ambiguous input collisions. Existing proofs
    will not verify with this version.
  • hexToScalar rejects non-canonical scalars >= curve order N
  • hashToScalar adds 4-byte big-endian length prefix per part
  • Remove circular self-dependency (@forgesworn/range-proof)
  • Remove phantom @forgesworn/ring-sig dependency
  • Restore accidentally deleted src/range-proof.ts

v1.1.0

30 Mar 18:08

Choose a tag to compare

1.1.0 (2026-03-30)

Features

  • upgrade @noble/curves and @noble/hashes to v2 (4ac3f8a)

v1.0.4

25 Mar 12:54

Choose a tag to compare

1.0.4 (2026-03-25)

Bug Fixes

  • remove broken example (API signatures mismatched) (e3ccbcc)

v1.0.3

20 Mar 09:32

Choose a tag to compare

1.0.3 (2026-03-20)

Bug Fixes

  • correct copyright to ForgeSworn (b1b316f)

v1.0.2

19 Mar 00:49

Choose a tag to compare

1.0.2 (2026-03-19)

Bug Fixes

  • require expected policy in proof verification (9ca8084)

v1.0.1

18 Mar 18:51

Choose a tag to compare

1.0.1 (2026-03-18)

Bug Fixes

  • add credential file patterns to .gitignore (1098889)
  • address re-review findings (03280e9)
  • early-reject oversized context strings before UTF-8 conversion (98d8adf)
  • harden input validation, prevent prototype pollution in deserialiser (81a12ac)
  • pin GitHub Actions to SHA, remove unused permissions, pin npm version (f9c8209)

v1.0.0

18 Mar 14:24

Choose a tag to compare

1.0.0 (2026-03-18)

Bug Fixes

  • security audit — bind commitment to sub-proofs, sanitise errors, validate inputs (abbb03b)

Features

  • add crypto utilities and error classes (3749b57)
  • add Pedersen range proofs with tests (c5cdea0)
  • expose public API (5865a9a)