Hi Barry,

I'm testing with fresh installation of 2.2 and found a password/cookie

  • problem.  I can start HTTPRunner, create a new list using a site password created by bin/mmsitepass, and visit the admin page.  But, if I stop the qrunner and start again, I can't login again at the admin page.  I get this error if I visit the admlogin page.

Traceback (most recent call last):

  File "/usr/local/mailman/Mailman/Cgi/wsgi_app.py", line 130, in mailman_app

  File "/usr/local/mailman/Mailman/Cgi/admin.py", line 79, in main
    cgidata.getvalue('adminpw', '')):

  File "/usr/local/mailman/Mailman/SecurityManager.py", line 183, in WebAuthenticate
    ac = self.Authenticate(authcontexts, response, user)

  File "/usr/local/mailman/Mailman/SecurityManager.py", line 150, in Authenticate
    if passwords.check_response(secret, response):

  File "/usr/local/mailman/Mailman/passwords.py", line 182, in check_response
    return scheme_class.check_response(rest, response, *scheme_parts[1:])

  File "/usr/local/mailman/Mailman/passwords.py", line 100, in check_response
    challenge_bytes = decode(challenge)

  File "/usr/lib/python2.4/base64.py", line 112, in urlsafe_b64decode
    return b64decode(s, '-_')

  File "/usr/lib/python2.4/base64.py", line 71, in b64decode
    s = _translate(s, {altchars[0]: '+', altchars[1]: '/'})

  File "/usr/lib/python2.4/base64.py", line 36, in _translate
    return s.translate(''.join(translation))

TypeError: character mapping must return integer, None or unicode

whta's wrong?

MailmanWiki: DEV/Passwords done right/0000 (last edited 2007-02-21 21:00:49 by tkikuchi)