Hi,

I need to run Galaxy with ProFTPd, therefore I need to disable the PBKDF2 encryption of the passwords (as stated here http://dev.list.galaxyproject.org/disable-PBKDF2-revert-to-SHA1-td4661274.html).

However, when I do add this line:
use_pbkdf2 = false
to the universe_wsgi.ini, restart Galaxy, submit the form for the password change (or register as a new user) I get an error "_hashlib.HASH object has no attribute __getitem__".

I got the same result with a version as of Jul 2 and the most recent tag (10411:c42567f43aa7, Aug 19).

I would be much grateful for your suggestions!

Regards,
Jan


URL: http://127.0.0.1:8080/user/edit_info?cntrller=user&user_id=f2db41e1fa331b3e
File '.../eggs/WebError-0.8a-py2.7.egg/weberror/evalexception/middleware.py', line 364 in respond
  app_iter = self.application(environ, detect_start_response)
File '.../eggs/Paste-1.7.5.1-py2.7.egg/paste/recursive.py', line 84 in __call__
  return self.application(environ, start_response)
File '.../eggs/Paste-1.7.5.1-py2.7.egg/paste/httpexceptions.py', line 633 in __call__
  return self.application(environ, start_response)
File '.../lib/galaxy/web/framework/base.py', line 132 in __call__
  return self.handle_request( environ, start_response )
File '.../lib/galaxy/web/framework/base.py', line 190 in handle_request
  body = method( trans, **kwargs )
File '.../lib/galaxy/webapps/galaxy/controllers/user.py', line 842 in edit_info
  trans.sa_session.flush()
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/scoping.py', line 114 in do
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/session.py', line 1718 in flush
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/session.py', line 1789 in _flush
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/unitofwork.py', line 331 in execute
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/unitofwork.py', line 475 in execute
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/persistence.py', line 59 in save_obj
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/orm/persistence.py', line 485 in _emit_update_statements
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py', line 1449 in execute
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py', line 1584 in _execute_clauseelement
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py', line 1651 in _execute_context
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/base.py', line 1647 in _execute_context
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/engine/default.py', line 475 in _init_compiled
File '.../eggs/SQLAlchemy-0.7.9-py2.7-linux-x86_64-ucs4.egg/sqlalchemy/types.py', line 626 in process
File '.../lib/galaxy/model/custom_types.py', line 125 in process_bind_param
  value = value[0:self.impl.length]
StatementError: '_hashlib.HASH' object has no attribute '__getitem__' (original cause: TypeError: '_hashlib.HASH' object has no attribute '__getitem__') 'UPDATE galaxy_user SET update_time=%(update_time)s, password=%(password)s WHERE galaxy_user.id = %(galaxy_user_id)s' [{u'galaxy_user_id': 1, 'password': <sha1 HASH object @ 0x7338bc0>}]