SSSS: Shamir's Secret Sharing Scheme

Windows port



Overview | Download | Links

Overview

Shamir's Secret Sharing Scheme is used to securely share sertain secret information (e.g. root password or list of passwords) between a group of people in such way, so that at least two (or more) of them need to combine their shares to recreate the original secret. Its a handy way to protect sensitive passwords without giving them to anybody in particular.

This is my quick and dirty port of ssss utility by B. Poettering to Windows. It doesn't depend on Cygwin DLL at runtime, but requires GMP and RandomKit to compile.

I tried to build it from the original source with both Cygwin and MINGW, but was running in all sorts of problems. One of challenges was /dev/random which dind't work as expected. I had to hack it out and replace by a different source of entropy (taken from Randomkit). Its ugly, but it works.

CAUTION: RandomKit uses a MersenneTwister RNG as its kernel. This is not a cryptographically secure RNG. But RandomKit seeds its Mersenne Twister initially with /dev/random entropy (and the seed is quite large). The overall security of this design remains arguable.

I am in the process of updating the ssss to use Windows CryptoAPI to seed RNG, as suggested by B.Pottering, and looking at more cryptographically sound RNG (Blum, Blum & Shub in particular).

top

Download

Binaries (yep, it's actually the same executable with two different names):

Source:

Links

top


ported by alex at seidlitz ca :: no warranties

$Id: index.html,v 1.2 2006/01/16 18:21:35 alex Exp alex $