From ea098260e2d8fe9233d9019eba3b77822dec80f8 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Sat, 27 Oct 2018 13:17:54 -0400 Subject: [PATCH] Fix filename in email encryption key generation --- keys.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keys.sh b/keys.sh index bb63080..d4c0c22 100755 --- a/keys.sh +++ b/keys.sh @@ -18,8 +18,8 @@ else fi # Generate email encryption key -if [[ ! -e "$(pwd)/keys/email_enc.aes256" ]]; then - dd of=$(pwd)/keys/email_enc.aes256 if=/dev/urandom bs=32 count=1 +if [[ ! -e "$(pwd)/keys/email.aes256" ]]; then + dd of=$(pwd)/keys/email.aes256 if=/dev/urandom bs=32 count=1 else - echo "email key already exists! rm keys/email_enc.aes256 if you understand the consquences." + echo "email key already exists! rm keys/email.aes256 if you understand the consquences." fi