-
Notifications
You must be signed in to change notification settings - Fork 213
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
Not saving master password (incorrect salt for Blowfish) #394
Comments
Hi, could you deactivate the form password manager and try it again?. It's most likely a browser issue that is not sending the user's password. |
Nope, all fields sends normally from the page, I checked it. Problem is in Blowfish algorithm, I'm sure. look at this: you using salt like this: There is my algorithms tests (http://php.net/manual/ru/function.crypt.php example 3): on the local machine (win7x64, php 7.0):
on the remote server (debian 7, php 7.1):
There is the answer, why blowfish not working: http://php.net/manual/en/function.crypt.php
I try change salt length to 22 characters - it works. But in |
… Thanks to @ipshenicyn for the feedback.
Hi @ipshenicyn , you are right but the salt length is shortened to 22 char long in PHP 5.6: Really weird! BTW , I've just pushed the changed file. Thanks for the feedback! |
Thank you! But it's not enough( How about this place in the But, changes can break |
… Thanks to @ipshenicyn for the feedback.
I've just pushed the changes... |
I've found some issues when saving the master password hash, because the salt is prefixed to it and the length doesn't match. I'll fix it later. |
Hi!, did you try out the latest release? |
Solved |
I just installed sysPass. There aren't any users or another items.
On each login I have this: https://goo.gl/SBmVb7 ("La clave maestra no ha sido guardada o es incorrecta")
I enter successfuly after typing master-password. But creating passwords are not works with the message: "Error interno"
In mysql I see this: https://goo.gl/bHlNIk (incorrect hash of password and empty MP field).
*0 - incorrect hash from Blowfish algorithm. incorrect, because salt is too long.
Message in php-logs:
Debian 7.7
PHP 7.1 (all required modules, except "ldap", are installed)
The text was updated successfully, but these errors were encountered: