All Projects → dsprenkels → sss-cli

dsprenkels / sss-cli

Licence: MIT license
Command line program for secret-sharing strings

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to sss-cli

sss-node
node.js bindings for the sss secret sharing library
Stars: ✭ 30 (-42.31%)
Mutual labels:  shamir-secret-sharing
QR-secret-sharing
🔒 Create QR codes to secret-share a message. Ideal for cryptocurrency wallet recovery keys and passwords.
Stars: ✭ 94 (+80.77%)
Mutual labels:  shamir-secret-sharing
SecMML
SecMML: Secure MPC(multi-party computation) Machine Learning Framework
Stars: ✭ 91 (+75%)
Mutual labels:  shamir-secret-sharing
cloak
A simple passphrase based file encryption tool.
Stars: ✭ 12 (-76.92%)
Mutual labels:  shamir-secret-sharing
SplitShare
Shamir's Secret Sharing Algorithm implementation in golang combined with PGP and a mail delivery system
Stars: ✭ 31 (-40.38%)
Mutual labels:  shamir-secret-sharing
paperback
Paper backup generator suitable for long-term storage.
Stars: ✭ 517 (+894.23%)
Mutual labels:  shamir-secret-sharing
gasper
Gasper is a CLI for safe, privacy-aware file storage based on Shamir's Secret Sharing
Stars: ✭ 37 (-28.85%)
Mutual labels:  shamir-secret-sharing
banana split
Shamir's Secret Sharing for people with friends
Stars: ✭ 106 (+103.85%)
Mutual labels:  shamir-secret-sharing
sss-go
Go bindings for my shamir-secret-sharing library
Stars: ✭ 16 (-69.23%)
Mutual labels:  shamir-secret-sharing
archistar-smc
Secret sharing library in Java for the Archistar multi-cloud storage system
Stars: ✭ 44 (-15.38%)
Mutual labels:  shamir-secret-sharing
shamirs-secret-sharing
A simple implementation of Shamir's Secret Sharing configured to use a finite field in GF(2^8) with 128 bit padding
Stars: ✭ 59 (+13.46%)
Mutual labels:  shamir-secret-sharing

secret-share-{split,combine}

Build Status

This tool allows for securely splitting and recombining secrets using a secure implementation of the Shamir secret sharing scheme. It is a wrapper around my SSS library.

Usage

You need Rust to build sss-cli from source. When you have installed Rust, you can install these tools using Cargo:

# Install sss-cli
cargo install --git https://github.com/dsprenkels/sss-cli --branch v0.1

# Make 4 shares with recombination threshold 3
echo "Tyler Durden isn't real." | secret-share-split -n 4 -t 3 >shares.txt

# Take the first 3 shares and combine them
head -n 3 shares.txt | secret-share-combine

Note that after this installation, you need to add Cargo's installation directory to your $PATH if you don't have it there yet.

To uninstall the crate you can use a command similar to the install-command above.

# Uninstall the secret sharing tools
cargo uninstall shamirsecretsharing-cli

macOS

To install on macOS system, you can also use Homebrew package manager. The package is not yet in the upstream homebrew-core, but there exists a tap with sss-cli formula here.

To install using Homebrew, run: brew install vitkabele/tap/sss-cli.

F.A.Q.

Why are the shares so much longer than the secrets?

This Shamir secret sharing library could produce shares that are shorter than their current length. However, while Shamir secret sharing is secure for confidentiality, this is not the case for integrity. An attacker could tamper with some of the shares. After restoring the (malicious) secret, you would not be able to know that it has been tampered with. sss-cli uses an AEAD wrapper so that the shares cannot be tampered with, which takes up some extra space.

Questions

Feel free to open an issue or send me an email on my Github associated e-mail address.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].