summaryrefslogtreecommitdiff
path: root/release/encrypt-secret.sh
diff options
context:
space:
mode:
Diffstat (limited to 'release/encrypt-secret.sh')
-rwxr-xr-xrelease/encrypt-secret.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/release/encrypt-secret.sh b/release/encrypt-secret.sh
deleted file mode 100755
index 7c762d19..00000000
--- a/release/encrypt-secret.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-set -ex
-
-# Simple script that uses OpenSSL to encrypt a provided file with a provided key, and writes the result
-# to the provided path. Yes it's very needy.
-
-INPUT_FILE=$1
-OUTPUT_FILE=$2
-ENCRYPT_KEY=$3
-
-if [[ -n "$ENCRYPT_KEY" && -n "$INPUT_FILE" && -n "$OUTPUT_FILE" ]]; then
- openssl enc -aes-256-cbc -md sha256 -pbkdf2 -e -in "${INPUT_FILE}" -out "${OUTPUT_FILE}" -k "${ENCRYPT_KEY}"
-else
- echo "Usage: ./encrypt-secret.sh <input file> <output file> <encryption key>"
-fi