added to readme
This commit is contained in:
parent
27593c996d
commit
ae87263442
3 changed files with 17 additions and 2 deletions
BIN
.gpg-quorum_3of5.sh.swp
Normal file
BIN
.gpg-quorum_3of5.sh.swp
Normal file
Binary file not shown.
17
README.md
17
README.md
|
@ -16,5 +16,20 @@ I looked into "Shamir secret sharing" but I find that generating a new secret th
|
|||
|
||||
### output:
|
||||
|
||||
this bash script
|
||||
|
||||
### requirements:
|
||||
|
||||
in the file emails.txt:
|
||||
list the recipient's emails you want encrypt for
|
||||
|
||||
in the main script gpg-quorum_3of5.sh:
|
||||
edit the debug variable to add your email address (if you want) for debugging purposes
|
||||
|
||||
### usage:
|
||||
./gpg-quorum_3of5.sh file.txt
|
||||
|
||||
./gpg-quorum_3of5.sh your_file_to_encrypt.ext
|
||||
|
||||
your output will be a file named
|
||||
|
||||
your_file_to_encrypt.ext.ENCRYPTED
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#retrieve the email list
|
||||
readarray -t emails < emails.txt
|
||||
file=$1
|
||||
#debug email if you want to self-decrypt:
|
||||
#debug email if you want to self-decrypt, you can also leave it blank but don't populate it without "-r":
|
||||
debug="-r youermail@provider.net"
|
||||
#counters:
|
||||
counter=0
|
||||
|
|
Loading…
Reference in a new issue