-
Notifications
You must be signed in to change notification settings - Fork 3
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
Switch to vsss-rs
for share generation and reconstruction
#491
Conversation
0d31941
to
c3f2260
Compare
ce446e5
to
569e2ce
Compare
8098a48
to
faf77e1
Compare
Quick experimental review tool change summary on the dependencies:
I've previously looked at this via the old PR, and we're lucky in that half of the "new" changes are already covered via trust from upstream Rust packages that use it ("trust external"), so this should be doable to go over again next week once @r-n-o gives the go-ahead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incredible
Based on @cr-tk's message above we still need to review the following dependency updates:
|
Notes: skimmed
|
I will look through |
Ok I skimmed the diff on That said, we have put the bare minimum of eyes on the dep. |
@r-n-o @mark-nesbitt for posterity, quick comment re
Usually we would want to review the smallest gap. Since our code already uses (= we already trust) the four versions |
Summary & Motivation (Problem vs. Solution)
This branch is a subset of the changes included in #457. It only deals with switching the shamir secret sharing library from a custom implementation to the open source crate vsss-rs: https://crates.io/crates/vsss-rs
The main limitation of the new crate is the lack of 1/1 support. This is actually a good thing because it'll force us to use a "true" shamir split in preprod. We're going to use a 2/2 setting.
How I Tested These Changes
Unit tests / lints only for now.
Pre merge check list