mirror of
https://github.com/writefreely/writefreely
synced 2024-11-28 11:30:18 +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
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue