-
-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to release 2.1.27.8 converts encrypted database password back to clear-text #1919
Comments
Commit: 775e691 Same behaviour in my installation. Debian Jessie, Mariadb, PHP 7.0 Regards, Roru69 |
How strange ... can I just know the 3 first letters of your pwd? |
I found the reason why this could occur and provided a fix. To fix this, copy folder |
Tested the fix by upgrading from commit 775e691 to 2dcba5d. Checked $pass in ./includes/config/settings.php, and confirmed that the DB password has been now saved in encrypted form. Thanks for the very quick fix. Closing this issue, on the assumption that @roru69 will also find that this fix addresses the issue in his installation. |
Steps to reproduce
Expected behaviour
The database password saved in ./includes/config.settings.php should be in encrypted form.
Actual behaviour
The database password has now been saved back in clear-text form. Examining the pre-upgrade directory confirms that originally the password was saved in encrypted form.
Server configuration
Operating system: Fedora 26 (x86_64)
Web server: Apache 2.4.27
Database: MariaDB 10.1.26
PHP version: 7.1.9
Teampass version: 2.1.27.8 (commit 775e691)
Teampass configuration file:
Updated from an older Teampass or fresh install: Upgraded from 33cd61c to 775e691
Client configuration
Browser:
Operating system:
Logs
Web server error log
No obvious errors in the httpd logs
The text was updated successfully, but these errors were encountered: