How to generate openssl blowfish without certain characters or allow certain set of characters – Phpmyadmin
I have the following bash script to insert blowfish automatically into config.inc.php for phpMyAdmin: #!/bin/bash randomBlowfishSecret=$(openssl rand -base64 32) echo "BlowFish Value: ${randomBlowfishSecret}" replace_pma_blowfish="$cfg['blowfish_secret'] = '${randomBlowfishSecret}'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */" sed -i "s/$cfg[.blowfish_secret.]s*=.*/${replace_pma_blowfish}/" /var/www/html/phpMyAdmin/config.inc.php…