Fix filename in email encryption key generation

pull/24/head
Matt Baer 6 years ago
parent cc224db6e6
commit ea098260e2
  1. 6
      keys.sh

@ -18,8 +18,8 @@ else
fi fi
# Generate email encryption key # Generate email encryption key
if [[ ! -e "$(pwd)/keys/email_enc.aes256" ]]; then if [[ ! -e "$(pwd)/keys/email.aes256" ]]; then
dd of=$(pwd)/keys/email_enc.aes256 if=/dev/urandom bs=32 count=1 dd of=$(pwd)/keys/email.aes256 if=/dev/urandom bs=32 count=1
else 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 fi

Loading…
Cancel
Save