An open API service indexing awesome lists of open source software.

https://github.com/sam701/secret-sharing

Secrets sharing with Shamir's secret scheme
https://github.com/sam701/secret-sharing

cli secret-sharing shamir shamir-secret-sharing

Last synced: 9 months ago
JSON representation

Secrets sharing with Shamir's secret scheme

Awesome Lists containing this project

README

          

# secret-sharing
*Secrets sharing with Shamir's secret scheme*

This is a wrapper around the [Vault](https://github.com/hashicorp/vault)'s implementation of the [Shamir's scheme](https://en.wikipedia.org/wiki/Shamir%27s_Secret_Sharing).

## Build
```sh
glide install
go install
```

## Usage

### Split file
To split a file into 3 parts with threshold (number of parts required to combine the original file) 2:
```sh
secret-sharing split --parts 3 --threshold 2
```

### Combine file
To combine a file from 2 parts:
```sh
secret-sharing combine --output
```