Hi,
I'd like to understand why the credentials for the MySQL user "admin" are encrypted in /etc/psa/.psa.shadow but the encrypted string itself can be used as the password.
$ cat /etc/psa/.psa.shadow
$AES-128-CBC$abcdefghiklmnop==$mnbvcxylkjhgfd==
$ mysql -uadmin -p`cat /etc/psa/.psa.shadow`
Welcome to the MariaDB monitor. Commands end with ; or \g.
This adds no value for security as the secret does not need to be decrypted.
Can someone please explain this to me?
Thanks!
Yves
I'd like to understand why the credentials for the MySQL user "admin" are encrypted in /etc/psa/.psa.shadow but the encrypted string itself can be used as the password.
$ cat /etc/psa/.psa.shadow
$AES-128-CBC$abcdefghiklmnop==$mnbvcxylkjhgfd==
$ mysql -uadmin -p`cat /etc/psa/.psa.shadow`
Welcome to the MariaDB monitor. Commands end with ; or \g.
This adds no value for security as the secret does not need to be decrypted.
Can someone please explain this to me?
Thanks!
Yves