jsbtc icon indicating copy to clipboard operation
jsbtc copied to clipboard

fix: reject single-share Shamir splits

Open slashdevcorpse opened this issue 6 months ago • 0 comments

Summary

  • Reject Shamir splits with thresholds below 2, matching the restore path that requires at least two points.
  • Update the mnemonic and helper tests so threshold-1 requests fail at split time instead of producing share sets that cannot be recovered through the existing API.

Validation

  • Focused affected Mocha tests for initialization, mnemonic split/combine, embedded indexes, GF256, and secret splitting
  • npm test
  • git diff --check

Bounty payout address if accepted: bc1qssrlr7qu0kq2kmf7arwznpuad0aw5wr9ls7c3q

slashdevcorpse avatar May 12 '26 22:05 slashdevcorpse