Increase blowfish secret length from 24 to 32

Refs #335
This commit is contained in:
Kienan Stewart 2019-05-14 12:15:00 -04:00
parent 70184caa3a
commit 82c87c43e0
No known key found for this signature in database
GPG Key ID: 075A846E78FE47EA
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ fi
PUBLIC_IP_BEGIN=$(echo $PUBLIC_IP|cut -c 1)
# Secret for PhpMyAdmin sessions
PHPMYADMIN_BLOWFISH="$(generate_string 24)"
PHPMYADMIN_BLOWFISH="$(generate_string 32)"
# XXX: I assume this is secure if /tmp is sticky (+t)
# we should have a better way to deal with templating, of course.