From ae87263442c7736ed2d401b5a9af3370f9e11575 Mon Sep 17 00:00:00 2001 From: panda Date: Sun, 1 Aug 2021 00:58:44 +0200 Subject: [PATCH] added to readme --- .gpg-quorum_3of5.sh.swp | Bin 0 -> 1024 bytes README.md | 17 ++++++++++++++++- gpg-quorum_3of5.sh | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .gpg-quorum_3of5.sh.swp diff --git a/.gpg-quorum_3of5.sh.swp b/.gpg-quorum_3of5.sh.swp new file mode 100644 index 0000000000000000000000000000000000000000..3b8d3b92415df8c522fbd0427d112692fc183895 GIT binary patch literal 1024 zcmYc?$V<%2S1{4DU_b$kHjE7EiFqlBD5BUo`33pK#ihB}C6Pqa3(|E9OY@6LbK{Nk Y(@gb>Gms=lnWG^v8UnNqflzb{0N0xjRsaA1 literal 0 HcmV?d00001 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