Files
postfixadmin/model
David Goodwin ce55237b3f if an exception occurs when calling Login::login(...), avoid logging the password in an error log, thanks @vibpe
From Peter's email :
"On the postfixadmin_4.0 branch, Login::login() logs the complete exception, including its stack trace, when pacrypt() throws. A PHP stack trace contains the call arguments (strings cut to 15 characters) unless zend.exception_ignore_args is on, so the frame Login->login($username, $password) puts the typed password into the web server error log.

With a salted dovecot: scheme this happens in normal operation, on every failed login: doveadm pw -t exits non-zero for a wrong password and for the dummy pacrypt('abc', 'def') call, and _pacrypt_dovecot() turns that into an exception."
2026-11-20 09:19:54 +00:00
..
2022-07-15 11:29:55 +02:00
2022-06-28 13:46:11 +01:00
2022-07-15 11:29:55 +02:00
2022-07-15 11:29:55 +02:00
2024-11-10 22:19:22 +01:00