Commit 77aea446 authored by Ansgar Burchardt's avatar Ansgar Burchardt

Script to encrypt secret configuration

parent 0081d3d6
#! /bin/bash
set -e
set -u
file=config.toml
if [[ ! -f ${file} ]]; then
echo "${file} not present" >&2
exit 1
fi
exec gpg -a --encrypt -r 80E976F14A508A48E9CA3FE9BC372252CA1CF964 -r 8BA8CE830E11C56A4B45CCE0742E0451555CC11F < ${file} > ${file}.asc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment