Opened 10 years ago

Closed 10 years ago

#3132 closed defect (fixed)

Login does not work - wrong hash?

Reported by: Johannes Owned by: Matt Good
Priority: high Component: AccountManagerPlugin
Severity: critical Keywords: digest hash auth
Cc: Trac Release: 0.11


Using the Account Manager Plugin, an entry in the htpasswd file is created - but login is not possible (wrong pw). Note that login works if the user is created using htdigest. Note also, that the password hashs are different, using both methods with identical data for user / password.

String , created by AccountManager, for user/pass test/test: test:migration:0000000091706f12da9a78d6dd3ac202

Environment: Trac012dev, Apache 2.2.3, mod_wsgi, using authz plugin. Auth method 'digest'

For more information, see also mailing list entry: [Trac] AccountManager Plugin w digest, wrong method?

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Johannes

I forgot to tell: The server is running on ssl (https connection)

comment:2 Changed 10 years ago by Johannes

Note from cmlenz@irc: (might be the reason for the defect)

comment:3 Changed 10 years ago by Johannes

Priority: normalhigh
Resolution: fixed
Severity: normalcritical
Status: newclosed

The problem can be fixed by using sha instead of md5 algorithm. See:

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Matt Good.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.