Skip to content

feat(core): Shamir M-of-N key splitting for break-glass custody - #14

Merged
GoDeskio merged 1 commit into
mainfrom
feat/shamir-split
Nov 5, 2026
Merged

GoDeskio merged 1 commit into
mainfrom
feat/shamir-split

Conversation

@GoDeskio

Copy link
Copy Markdown
Owner

Backlog #15, written from the textbook construction.

  • src/shamir.rs: split and combine over GF(2^8). Arithmetic is branch-free with no lookup tables. Shares are versioned (EGSS, threshold, x).
  • Rejects: fewer shares than the threshold, duplicate or zero x values, mismatched lengths or thresholds.
  • Zero-knowledge holds: shares go only to custodians the key owner picks, and nothing is escrowed.
  • Tests: FIPS-197 multiply vector, all 3-of-5 combinations, and misuse cases.

cargo test and clippy are clean.

@GoDeskio
GoDeskio merged commit 817bf7c into main Nov 5, 2026
6 of 8 checks passed
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.

1 participant