TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Hung when click Login button

Open smallfish01 opened this issue 3 years ago • 2 comments

Steps to reproduce

  1. Type username/password and click Login 2.System hung, please check the screenshot: image tp.config.php.zip

Btw, before this I change admin password from Mysql, is possible the password need encryption?

Expected behaviour

Click Login button.

Actual behaviour

Tell us what happens instead

Server configuration

Operating system: Ubuntu 20.04

Web server: Apache 2.4

Database: Mysql

**PHP version:**7.4

Teampass version: 3.0.0.17

Teampass configuration file:

Updated from an older Teampass or fresh install: PLEASE attach to this issue the file /includes/config/tp.config.php.

Client configuration

Browser:

Operating system:

Logs

Web server error log

apache error log: [Thu May 26 16:53:12.042003 2022] [php7:error] [pid 2022] [client 192.168.13.79:62607] PHP Fatal error: Uncaught DomainException: Unsupported Password Hash Supplied in /var/www/html/teampass/includes/libraries/PasswordLib/Password/Factory.php:87\nStack trace:\n#0 /var/www/html/teampass/includes/libraries/PasswordLib/PasswordLib.php(78): PasswordLib\Password\Factory->verifyHash()\n#1 /var/www/html/teampass/sources/identify.php(1550): PasswordLib\PasswordLib->verifyPasswordHash()\n#2 /var/www/html/teampass/sources/identify.php(351): checkCredentials()\n#3 /var/www/html/teampass/sources/identify.php(186): identifyUser()\n#4 {main}\n thrown in /var/www/html/teampass/includes/libraries/PasswordLib/Password/Factory.php on line 87, referer: http://192.168.13.177/teampass/index.php

Log from the web-browser developer console (CTRL + SHIFT + i)

image

smallfish01 avatar May 26 '22 08:05 smallfish01

I think the root cause was I changed admin password to plaintext. I just re-install TeamPass and it works.

smallfish01 avatar May 26 '22 09:05 smallfish01

In v3.1.2.55 I have the same error. My "pw" is encrypted. I have reinstalled but it does not fix it.

My error.log:

[Thu Aug 29 04:27:44.553614 2024] [php:error] [pid 11] [client 172.xx.xx.xx:55862] PHP Fatal error: Uncaught DomainException: Unsupported Password Hash Supplied in /var/www/html/teampass/vendor/passwordlib/passwordlib/lib/PasswordLib/Password/Factory.php:82\nStack trace:\n#0 /var/www/html/teampass/vendor/passwordlib/passwordlib/lib/PasswordLib/PasswordLib.php(63): PasswordLib\\Password\\Factory->verifyHash()\n#1 /var/www/html/teampass/vendor/teampassclasses/passwordmanager/src/PasswordManager.php(97): PasswordLib\\PasswordLib->verifyPasswordHash()\n#2 /var/www/html/teampass/vendor/teampassclasses/passwordmanager/src/PasswordManager.php(65): TeampassClasses\\PasswordManager\\PasswordManager->passwordLibVerify()\n#3 /var/www/html/teampass/sources/identify.php(2015): TeampassClasses\\PasswordManager\\PasswordManager->migratePassword()\n#4 /var/www/html/teampass/sources/identify.php(446): checkCredentials()\n#5 /var/www/html/teampass/sources/identify.php(159): identifyUser()\n#6 /var/www/html/teampass/sources/identify.php(191): handleAuthAttempts()\n#7 {main}\n thrown in /var/www/html/teampass/vendor/passwordlib/passwordlib/lib/PasswordLib/Password/Factory.php on line 82, referer: http://localhost:3080/teampass/

gonzalodeniz avatar Aug 29 '24 04:08 gonzalodeniz

Closed automatically due to inactivity (no response for over 1 year).

nilsteampassnet avatar Oct 25 '25 16:10 nilsteampassnet