diff --git a/.gpg-quorum_3of5.sh.swp b/.gpg-quorum_3of5.sh.swp new file mode 100644 index 0000000..3b8d3b9 Binary files /dev/null and b/.gpg-quorum_3of5.sh.swp differ diff --git a/README.md b/README.md index bc27ee9..acd10dc 100644 --- a/README.md +++ b/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 diff --git a/gpg-quorum_3of5.sh b/gpg-quorum_3of5.sh index 4ef12c3..0425ff2 100755 --- a/gpg-quorum_3of5.sh +++ b/gpg-quorum_3of5.sh @@ -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