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

incompatible with other implementations? #4

Open
BlinkyStitt opened this issue Oct 24, 2014 · 5 comments
Open

incompatible with other implementations? #4

BlinkyStitt opened this issue Oct 24, 2014 · 5 comments

Comments

@BlinkyStitt
Copy link

I was looking at using this to split some secrets. However, I wanted to be able to use multiple programs to create and restore these.

When I used the values from the README with http://point-at-infinity.org/ssss/, I don't get the expected results. Is there anything to do to make these compatible?

$ ssss-combine -t 2
Enter 2 shares separated by newlines:
Share [1/2]: 1-58cbd30524507e7a198bdfeb69c8d87fd7d2c10e8d5408851404f7d258cbcea7
Share [2/2]: 2-ecdbdaea89d75f8e73bde77a46db821cd40f430d39a11c864e5a4868dcb403ed
Resulting secret: : ...y.;ch`J..]H...19..r.MV.....
WARNING: binary data detected, use -x mode instead.

$ ssss-combine -t 2 -x
Enter 2 shares separated by newlines:
Share [1/2]: 1-58cbd30524507e7a198bdfeb69c8d87fd7d2c10e8d5408851404f7d258cbcea7
Share [2/2]: 2-ecdbdaea89d75f8e73bde77a46db821cd40f430d39a11c864e5a4868dcb403ed
Resulting secret: 3a20ed1e8a79d63b6368604ae1b65d48a3be893139fdec72c14d56df9deca4df

The expected resulting secret is c4bbcb1fbec99d65bf59d85c8cb62ee2db963f0fe106f483d9afa73bd4e39a8a

@shea256
Copy link
Owner

shea256 commented Oct 24, 2014

Can you show me the code you used to generate those two shares? Was it 2/2 or 2/3?

@BlinkyStitt
Copy link
Author

It is the example from the readme of this repo. 2 of 3

On Oct 24, 2014, at 10:24 AM, Ryan Shea [email protected] wrote:

Can you show me the code you used to generate those two shares? Was it 2/2 or 2/3?


Reply to this email directly or view it on GitHub.

@shea256
Copy link
Owner

shea256 commented Oct 24, 2014

Hm, I'm not sure why the two libraries are returning different results but I'll look into it more. It may be due to the fact that we're using different prime numbers.

@BlinkyStitt
Copy link
Author

Did this ever get figured out?

https://www.reddit.com/r/Bitcoin/comments/56g8y2/hodlers_if_you_get_hit_by_a_bus_tomorrow_will/ reminded me of this issue.

@BlinkyStitt
Copy link
Author

I think #19 might be related

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

No branches or pull requests

2 participants