Featuring UNIX-style composability, this command-line tool facilitates splitting and combining secrets using HashiCorp Vault's implementation of Shamir's Secret Sharing algorithm.
What is Shamir's Secret Sharing algorithm?
Platform | Package manager | Command |
---|---|---|
Linux, macOS | Homebrew | $ brew install incipher/tap/shamir |
Linux, macOS, Windows | Binaries |
$ echo "SayHelloToMyLittleFriend" | shamir split -n 5 -k 3 > shares.txt
Secret: ************************
$ head -n 3 shares.txt | shamir combine -k 3
SayHelloToMyLittleFriend