From 98ad62e448a82f288fecba4df9114383aa07bd7a Mon Sep 17 00:00:00 2001 From: panda Date: Sun, 1 Aug 2021 01:14:05 +0200 Subject: [PATCH] added to readme --- .gpg-quorum_3of5.sh.swp | Bin 1024 -> 0 bytes README.md | 90 ++++++++++++++++++++++++++++- file.txt | 1 + gpg-quorum_4of5.sh | 123 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 213 insertions(+), 1 deletion(-) delete mode 100644 .gpg-quorum_3of5.sh.swp create mode 100644 file.txt create mode 100755 gpg-quorum_4of5.sh diff --git a/.gpg-quorum_3of5.sh.swp b/.gpg-quorum_3of5.sh.swp deleted file mode 100644 index 3b8d3b92415df8c522fbd0427d112692fc183895..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1024 zcmYc?$V<%2S1{4DU_b$kHjE7EiFqlBD5BUo`33pK#ihB}C6Pqa3(|E9OY@6LbK{Nk Y(@gb>Gms=lnWG^v8UnNqflzb{0N0xjRsaA1 diff --git a/README.md b/README.md index acd10dc..2f14133 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,11 @@ I looked into "Shamir secret sharing" but I find that generating a new secret th ### output: -this bash script +this bash script is set to take N recipients and encrypt four file to make sure only with the quorum of at least 3 recipients the file will be opened + +the logic behind that is really simple: + + ### requirements: @@ -33,3 +37,87 @@ edit the debug variable to add your email address (if you want) for debugging pu your output will be a file named your_file_to_encrypt.ext.ENCRYPTED + +### customization: + +if you want to increase the number of people needed to decrypt the file to 4 for example, +edit this block of code from: + +``` +#main loop: +for ((idxA=0; idxA