Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shamir key share split & combine #45

Merged
merged 31 commits into from
Sep 4, 2024
Merged

Conversation

rohenaz
Copy link
Collaborator

@rohenaz rohenaz commented Aug 19, 2024

  • add polynomial
  • add split method to PrivateKey
  • add shares method to PrivateKey
  • add test vectors from ts
  • return decoding errors for base58
  • linting
  • add example(s)
  • added recommended vscode plugin and extension settings for sonar in .vscode directory
  • update changelog

Reference from TS implementation: https://github.com/bitcoin-sv/ts-sdk/pull/108/files

@rohenaz rohenaz changed the title shamir secret key share split & combine shamir key share split & combine Aug 19, 2024
@rohenaz rohenaz marked this pull request as ready for review September 3, 2024 17:40
@rohenaz rohenaz assigned rohenaz and unassigned shruggr Sep 3, 2024
Copy link
Contributor

@sirdeggen sirdeggen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Maybe we should update the example code to use the FromBackupShares and ToBackupShares rather than showing the intermediate step.

The goal is to illustrate how simple the solution is for the application developer.

Approved none the less. Thanks for this.

Copy link

sonarcloud bot commented Sep 4, 2024

@rohenaz rohenaz merged commit 7876bc5 into master Sep 4, 2024
4 checks passed
@rohenaz rohenaz deleted the feature/shamir-key-split-combine branch October 18, 2024 14:10
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.

3 participants