glite-ssss-split-passwd — Splits a password into shares to be distributed among untrusted parties.
glite-ssss-split-passwd [ -h ] [ -q ] [ -V ] SHARES NEEDED PASSWORD
glite-ssss-split-passwd is a command-line tool to split an ascii password into a number of shares using Shamir's Secret Sharing Scheme (see "How to Share a Secret", by Adi Shamir, Communications of the ACM, November, 1979, Volume 22, Number 11, page 612.).
The ascii password is split into SHARES number of random hex parts of which NEEDED number of parts are needed to re-construct the password. The re-construction of the password is theoretically not possible of parts fewer than NEEDED, thus it enables the safe storage of password parts on not fully trusted password storages.
The scheme also provides some reliability, since not all parts of the split password are needed to re-construct the original password.
Print a short help message on parameters and usage, and exit.
Quiet operation.
Print the version number and exit.
The number of parts to split the password into.
The number of split password parts needed to re-construct the password. Shall be less than SHARES.
The password to split as an ascii string.