mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 11:24:13 +00:00
Fix filename in email encryption key generation
This commit is contained in:
parent
cc224db6e6
commit
ea098260e2
1 changed files with 3 additions and 3 deletions
6
keys.sh
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…
Reference in a new issue