Skip to content

A small CLI tool for Shamir's Secret Sharing written in Go, using Vault's Shamir implementation

License

Notifications You must be signed in to change notification settings

dnkolegov/go-shamir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small CLI tool for Shamir's Secret Sharing written in Go, using Vault's Shamir implementation.

Go

Usage

Split secret:

$ echo -n "very very secret" | ./bin/shamir split -p 4 -t 2
baa3e1b656d6b253052d293b99daf7fa4a
07cfbaa1bf6982413dd52abb2578ca6373
c9cc6036850debccca9dd598bebf27acd1
db7b57989fb3d27775c62f20fa858dd338

Combine secret:

$ cat <<EOF | ./bin/shamir combine
> 07cfbaa1bf6982413dd52abb2578ca6373
> c9cc6036850debccca9dd598bebf27acd1
> EOF
very very secret

About

A small CLI tool for Shamir's Secret Sharing written in Go, using Vault's Shamir implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 69.4%
  • Shell 24.2%
  • Makefile 6.4%