|
NAMEssss - Split and Combine Secrets using Shamir's Secret Sharing Scheme.SYNOPSISssss-split -t threshold -n shares [-w token] [-s level] [-x] [-q] [-Q] [-D] [-v]ssss-combine -t threshold [-x] [-q] [-Q] [-D] [-v] DESCRIPTIONssss is an implementation of Shamir's Secret Sharing Scheme. The program suite does both: the generation of shares for a known secret, and the reconstruction of a secret using user-provided shares.COMMANDSssss-split: prompt the user for a secret and generate a set of corresponding shares.ssss-combine: read in a set of shares and reconstruct the secret. OPTIONS
EXAMPLEIn case you want to protect your login password with a set of ten shares in such a way that any three of them can reconstruct the password, you simply run the commandssss-split -t 3 -n 10 -w passwd To reconstruct the password pass three of the generated shares (in any order) to ssss-combine -t 3 NOTESTo protect a secret larger than 1024 bits a hybrid technique has to be applied: encrypt the secret with a block cipher and apply secret sharing to just the key. Among others openssl and gpg can do the encryption part:openssl bf -e < file.plain > file.encrypted gpg -c < file.plain > file.encrypted SECURITYssss tries to lock its virtual address space into RAM for privacy reasons. But this may fail for two reasons: either the current uid doesn't permit page locking, or the RLIMIT_MEMLOCK is set too low. After printing a warning message ssss will run even without obtaining the desired mlock.AUTHORThis software (v0.5) was written in 2006 by B. Poettering (ssss AT point-at-infinity.org). Find the newest version of ssss on the project's homepage: http://point-at-infinity.org/ssss/.FURTHER READINGhttp://en.wikipedia.org/wiki/Secret_sharing
Visit the GSP FreeBSD Man Page Interface. |