All Projects → Nhoya → SplitShare

Nhoya / SplitShare

Licence: MIT license
Shamir's Secret Sharing Algorithm implementation in golang combined with PGP and a mail delivery system

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to SplitShare

Trezor Agent
Hardware-based SSH/PGP agent
Stars: ✭ 400 (+1190.32%)
Mutual labels:  pgp, gpg
pgpverify-maven-plugin
Verify Open PGP / GPG signatures plugin
Stars: ✭ 42 (+35.48%)
Mutual labels:  pgp, gpg
Minisign
A dead simple tool to sign files and verify digital signatures.
Stars: ✭ 1,105 (+3464.52%)
Mutual labels:  pgp, gpg
secretman
Managing secrets with Yubikey
Stars: ✭ 17 (-45.16%)
Mutual labels:  pgp, gpg
Astroid
A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
Stars: ✭ 476 (+1435.48%)
Mutual labels:  mail, gpg
interesting-keys
Interesting collected (leaked) encryption/decryption keys
Stars: ✭ 33 (+6.45%)
Mutual labels:  pgp, gpg
Zeyple
Postfix filter/hook to automatically encrypt outgoing emails with PGP/GPG
Stars: ✭ 122 (+293.55%)
Mutual labels:  pgp, gpg
keylist-rfc
🔏 turning the system behind GPG Sync into an Internet standard
Stars: ✭ 15 (-51.61%)
Mutual labels:  pgp, gpg
Magicpad
MagicPad is an encryption suite for beginners. It is designed to be run standalone via the browser or executable (Electron).
Stars: ✭ 174 (+461.29%)
Mutual labels:  pgp, gpg
Bouncy Gpg
Make using Bouncy Castle with OpenPGP fun again!
Stars: ✭ 164 (+429.03%)
Mutual labels:  pgp, gpg
piv-agent
An SSH and GPG agent which you can use with your PIV hardware security device (e.g. a Yubikey).
Stars: ✭ 31 (+0%)
Mutual labels:  pgp, gpg
Ptorx
📩🛡 Email privacy. Anonymously send and receive with alias forwarding.
Stars: ✭ 187 (+503.23%)
Mutual labels:  mail, pgp
pgpainless
Simple to use OpenPGP API based on Bouncy Castle
Stars: ✭ 73 (+135.48%)
Mutual labels:  pgp, gpg
Gpgsync
🔒 GPG Sync is designed to let users always have up-to-date public keys for other members of their organization
Stars: ✭ 301 (+870.97%)
Mutual labels:  pgp, gpg
rune
tool to query for tokens and passwords for use as environment variables
Stars: ✭ 13 (-58.06%)
Mutual labels:  pgp, gpg
Pius
PGP Individual User Signer
Stars: ✭ 77 (+148.39%)
Mutual labels:  pgp, gpg
wp-pgp-encrypted-emails
🔐 📧 Encrypts WordPress emails using OpenPGP or S/MIME with a familiar API.
Stars: ✭ 35 (+12.9%)
Mutual labels:  pgp, gpg
paper-store
Cold store small files on paper as QR codes -- PGP keys, Bitcoin keys, Tox keys or any other small files in general.
Stars: ✭ 28 (-9.68%)
Mutual labels:  pgp, gpg
Cli
share secrets within teams to avoid plain-text secrets from day one
Stars: ✭ 138 (+345.16%)
Mutual labels:  pgp, gpg
Neomutt
✉️ Teaching an Old Dog New Tricks -- IRC: #neomutt on irc.libera.chat
Stars: ✭ 2,343 (+7458.06%)
Mutual labels:  mail, pgp

SplitShare

Shamir's Secret Sharing Algorithm implementation in Golang combined with PGP and a mail delivery system

SplitShare uses Shamir's Secret Sharing Algorithm to split a secret in multiple parts and PGP to encrypt each share with the public key of the owner and then send the encrypted share via mail.

Usage

You can download and run the pre-builted binary or build it from source.

To work properly SplitShare needs:

  • The public key of each user
  • The secret stored in a file
  • A working SMTP server

./splitshare <SECRET FILE>

Starting SplitShare will ask for:

  • Maximum number of shares
  • Minumum amount of shares needed to decrypt the secret

And for each user:

  • The users mail
  • The path of the public key

Alternatively you can load a public keyring file with users public key and SplitShare will automatically load keys from user's email.

./splitshare --pub-keyring ./pubring.gpg <SECRET FILE>

NOTE: you must configure the SMTP credentials inside the config.toml file.

Building

To build SplitShare you need the following packages:

github.com/SSSaaS/sssa-golang
github.com/TheZ3ro/go-pgp/pgp
github.com/go-mail/mail
github.com/spf13/viper

You can then clone the repo and build it with:

git clone https://github.com/Nhoya/SplitShare
go build splitshare.go

Decrypt

To decrypt the secret you need the tool located inside the decrypt directory

You can either build it or use the pre-builted one.

Building the decryption tool

To build the decryption tool you just need:

github.com/SSSaaS/sssa-golang

You can then clone the repo and build it with

git clone https://github.com/Nhoya/SplitShare
cd SplitShare/decrypt
go build decrypt.go
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].