aboutsummaryrefslogtreecommitdiff
path: root/.scripts/decrypt
diff options
context:
space:
mode:
authorMarvin Borner2023-08-29 15:44:16 +0200
committerMarvin Borner2023-08-29 15:46:00 +0200
commit8f6e86ee72a20fc9bbac62d71e0921b152eaa0bb (patch)
tree2feb0ee3276bc24ab847a57938fd9fc281b260d7 /.scripts/decrypt
parente6e5c70f6cc741e0edee2f0c1de07909d1c91edc (diff)
Sync
Not much tbh. I'm fairly happy with my setup
Diffstat (limited to '.scripts/decrypt')
-rwxr-xr-x.scripts/decrypt6
1 files changed, 6 insertions, 0 deletions
diff --git a/.scripts/decrypt b/.scripts/decrypt
new file mode 100755
index 0000000..d509492
--- /dev/null
+++ b/.scripts/decrypt
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+gpg -u "Master" --decrypt --armor -o "$1.dec" "$1"
+mv "$1.dec" "$1"