summaryrefslogtreecommitdiff
path: root/scripts/encrypt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/encrypt')
-rwxr-xr-xscripts/encrypt21
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/encrypt b/scripts/encrypt
deleted file mode 100755
index 23aeaf7..0000000
--- a/scripts/encrypt
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-#
-# Encrypt files to multiple recipients.
-#
-
-FILE="$1"
-BASENAME="`basename $0`"
-RECIPIENTS="config/recipients"
-
-if [ -z "$FILE" ]; then
- echo "Usage: `basename $0` <file>"
- exit 1
-elif [ ! -f "$RECIPIENTS" ]; then
- echo "No recipient config was found"
- exit 1
-fi
-
-mkdir -p keys/`dirname $FILE`
-recipients="$(awk '{ print "-r " $2 }' $RECIPIENTS | xargs)"
-echo "Type your message and finish your input with EOF (Ctrl-D)."
-gpg --armor -e -s $recipients - > keys/$FILE