News for hackers. Stuff that matters.
Re:Sharing secrets and distributing passwords by cypherpunks01 on Saturday November 03, 2012 @04:41PM (#4737838)
The ssss unix utility does this, it's fun to use.

Docs at http://point-at-infinity.org/ssss/, demo at http://point-at-infinity.org/ssss/demo.html and it can be installed on ubuntu through the 'ssss' package, listed as ssss - Shamir's secret sharing scheme implementation.

Re:Sharing secrets and distributing passwords by ryan-c on Sunday November 04, 2012 @12:41PM (#4740322)
Here's one I wrote that wraps the algorithm with passwords https://github.com/ryancdotorg/threshcrypt and you can set the same password multiple times to accomplish the second 'advanced scenario'.
Re:Sharing secrets and distributing passwords by dexter313 on Saturday November 03, 2012 @04:28PM (#4737795)
It explains how a password can be cut up in pieces and distributed so that each piece individualy can be used to reveal the secret.

Skip to >>Shamir’s Algorithm<< section to get to the most interesting part.

Re:Sharing secrets and distributing passwords by xk_id on Saturday November 03, 2012 @07:53PM (#4738321)
hmm.. the article says: "If we encoded our secret with a cubic function and distributed coordinate sub-passwords it would require any combination of four points to determine the intercept and the secret."

Maybe I'm missing something here, but, taking any of the cubic function diagrams as example, what if all four coordinates have their "x" between -10 and 0? Those four coordinates will not be enough to generate the whole curve, no?

Re:Sharing secrets and distributing passwords by lucas-beyer on Saturday November 03, 2012 @08:36PM (#4738427)
No.

As soon as you have 4 points, these 4 points uniquely define a cubic. Even if those 4 points are "right next" to eachother.

If this is difficult to imagine, it is the same with a line. Wherever you place 2 points, they always uniquely define a single line.

Unless, of course, you place 2 points exactly on top of eachother.

Re:Sharing secrets and distributing passwords by xk_id on Saturday November 03, 2012 @09:32PM (#4738570)
really? that's amazing! I'd love to see a formal proof of this.

edit: I suppose this counts as proof http://www.had2know.com/academics/cubic-through-4-points.htm..., but atm I don't remember why matrixes are connected with equations.

Re:Sharing secrets and distributing passwords by joshzayin on Saturday November 03, 2012 @09:52PM (#4738618)
There's a more general proof at https://docs.google.com/viewer?a=v&q=cache:euFgQLUCTfwJ:... that looks reasonable at a skim.
Re:Sharing secrets and distributing passwords by xk_id on Saturday November 03, 2012 @10:31PM (#4738715)
Awesome!
Re:Sharing secrets and distributing passwords by cprussin on Saturday November 03, 2012 @08:10PM (#4738359)
Re:Sharing secrets and distributing passwords by snprbob86 on Sunday November 04, 2012 @01:12AM (#4739024)
This is an extremely interesting and well written article. More like this please!