MrJoy / ssss

Fork of B. Poettering's SSSS (Shamir's Secret Sharing Scheme)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use /dev/urandom as recommended (and for significant speedup)

sigio opened this issue · comments

It's recommended to use /dev/urandom on systems that have it (and at least on linux and *bsd)

See also this article:
http://www.2uo.de/myths-about-urandom/

Using /dev/urandom makes ssss-split significantly faster

As I have zero cryptographic expertise, I've reached out to the author of SSSS for clarification on whether this change is in fact safe to make in this context. That article seems quite compelling on its face, but I'm not qualified to validate it. I'll update this ticket if/when I hear back from him.

Seems https://github.com/dren-dk/SSSS already does this as well.

Ooh. I should look that over for useful bits and pieces. In the meantime, if you're in dire need, that fork seems like a perfectly cromulant fork to use!

no problem. I had already created a locally forked version which I patched.
just wanted to get this somewhat closer to upstream. Also filed a wishlist bug against the debian package of ssss to change to /dev/urandom

Sorry for the delay! Fix is applied here.