I have the following bash script to insert blowfish automatically into config.inc.php for phpMyAdmin:
#!/bin/bash randomBlowfishSecret=$(openssl rand -base64