aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall3
-rwxr-xr-xsensitive4
2 files changed, 3 insertions, 4 deletions
diff --git a/install b/install
index c8163bb..08b0369 100755
--- a/install
+++ b/install
@@ -83,5 +83,4 @@ tic xterm-256color-italic.terminfo
echo "Clone pass"
git clone git@git.unlimited.pizza:rbdr/pass ~/.password-store
-echo "Decrypting Sensitive Files"
-./sensitive
+echo "Sensitive files have not been decrypted. Run ./sensitive <identity.txt> to decrypt."
diff --git a/sensitive b/sensitive
index 2c5c660..8a08c79 100755
--- a/sensitive
+++ b/sensitive
@@ -5,11 +5,11 @@ sensitive_files=("config/aerc/accounts.conf")
if [[ "$1" == "update" ]]; then
echo "Updating"
for sensitive_file in $sensitive_files; do
- gpg --output $sensitive_file.gpg --encrypt --recipient ruben@unlimited.pizza $sensitive_file
+ age -R ~/.dotfiles/recipients.txt -o $sensitive_file.age $sensitive_file
done
else
echo "Decrypting"
for sensitive_file in $sensitive_files; do
- gpg --output $sensitive_file --decrypt $sensitive_file.gpg
+ age -d -i $1 -o $sensitive_file $sensitive_file.age
done
fi