I enabled Password Encryption following the steps given in:
http://vicidial.org/docs/ENCRYPTED_PASSWORDS.txtFirst I installed the CPAN module required for Password Encryption:
cpan
install Crypt::Eksblowfish::Bcrypt
quit
I did not receive any error message.
Then I run the following CLI script:
/usr/share/astguiclient/ADMIN_bcrypt_convert.pl --debugX --test
I did not receive any error message.
Then I run the following CLI script:
/usr/share/astguiclient/ADMIN_bcrypt_convert.pl --debugX
I did not receive any error message.
At this time I was unable to login using my user 6666 and the password I used before to enabled Password Encryption .
Then, I generated a pass hash manually with the command
/srv/www/htdocs/agc/bp.pl --pass=etc2015
PHASH: groMD/.iZpCxEjgmHgTTb5izLMjV78K
After that, I updated the database with the new value manually:
MariaDB [asterisk]> UPDATE vicidial_users set pass_hash='groMD/.iZpCxEjgmHgTTb5izLMjV78K' where user='6666';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
Checked the database:
MariaDB [asterisk]> select user,pass,pass_hash from vicidial_users;
+------+-----------+---------------------------------+
| user | pass | pass_hash |
+------+-----------+---------------------------------+
| 6666 | etc2015 | groMD/.iZpCxEjgmHgTTb5izLMjV78K |
| VDAD | donotedit | YnUyY3HWFzm2aMcGW63igOQX.0U.Fh6 |
| VDCL | donotedit | YnUyY3HWFzm2aMcGW63igOQX.0U.Fh6 |
+------+-----------+---------------------------------+
3 rows in set (0.00 sec)
However when I go to the WEB interface and try to login using the user 6666 and password etc2015 I am unable to login.
Login incorrect, please try again: |6666|etc2015|BAD|
Any help will be aprecciate