Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706226 - blogs.g.o: repeating login problems
Summary: blogs.g.o: repeating login problems
Status: CONFIRMED
Alias: None
Product: Websites
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Website Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 06:20 UTC by Michał Górny
Modified: 2020-04-20 18:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-24 06:20:34 UTC
For the third time already, I am hitting random problems logging in into my blog on blogs.gentoo.org.  The symptoms are trivial -- my username/password is not accepted and the attempt count is decreasing with no other information.  I have verified that my password is correct, and after some time the login just works again (it might be relevant that I've tried wordpress API in the meantime).
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-24 06:27:27 UTC
After I've finally logged in, I don't seem to be able to save the new post.  I can't log out either.

The logs seem to be full of:

PHP Warning:  hash_hmac(): Unknown hashing algorithm: md5 in /var/www/blogs.gentoo.org/htdocs/wp-includes/pluggable.php on line 2282
PHP Warning:  hash_hmac(): Unknown hashing algorithm: sha256 in /var/www/blogs.gentoo.org/htdocs/wp-includes/wp-db.php on line 2102

Maybe PHP is broken on this machine...
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-24 08:02:45 UTC
I've seem to have fixed it via rebuilding and restarting apache.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-20 07:24:35 UTC
It's still happening randomly, and apparently not only for me.  Today I was able to login to admin panel but it threw me out when I tried to get into exporting, and refused my login afterwards.
Comment 4 Alec Warner (RETIRED) archtester gentoo-dev Security 2020-04-20 18:58:51 UTC
(In reply to Michał Górny from comment #1)
> After I've finally logged in, I don't seem to be able to save the new post. 
> I can't log out either.
> 
> The logs seem to be full of:
> 
> PHP Warning:  hash_hmac(): Unknown hashing algorithm: md5 in
> /var/www/blogs.gentoo.org/htdocs/wp-includes/pluggable.php on line 2282
> PHP Warning:  hash_hmac(): Unknown hashing algorithm: sha256 in
> /var/www/blogs.gentoo.org/htdocs/wp-includes/wp-db.php on line 2102
> 
> Maybe PHP is broken on this machine...


php -r 'print_r(hash_algos());' always prints the right algos for me, but the error continues in the logs to this day.

-A