Solve the problem that the ciphertext (blowfish_secret) in the phpMyAdmin configuration file is too short

Original link: https://yipai.me/752.html

This question is very strange. If you installed phpMyAdmin using the oneinstack script, you will be prompted for this after logging in.

But when you go to phpMyAdmin’s configuration file config.inc.php, you will find that $cfg[‘blowfish_secret’] is defined, but it is still quite long. So you search for why. However, it is difficult for you to find the correct answer. Usually, you are repeatedly asked to set the value of blowfish_secret, because you see that the value has already been set, so it is more and more troublesome and puzzled.

In fact, the answer is very simple, because the value of blowfish_secret in the configuration file is not 32-bit (generally speaking, it will be longer than 32-bit), and the prompt in the foreground is problematic: because characters longer than 32-bit are safer, he should not prompt; Even the prompt should not be “too short”, but should be: the ciphertext (blowfish_secret) in the configuration file is too long. It should be 32 bytes.

If your blowfish_secret is long enough and you don’t have OCD, you can ignore this prompt. But if you are like me, you want to click when you see numbers, and you want to solve problems when you see them, then go to LastPass to generate a password of exactly 32 digits, which can be mixed with uppercase and lowercase letters, numbers, and symbols, and the default blowfish_secret value Replace it and refresh the page.

This article is reprinted from: https://yipai.me/752.html
This site is for inclusion only, and the copyright belongs to the original author.