In my copy of the library, I have added a flag (defaulting to False) which
tells whether the password given is plain-text or a hash (for added
security). This is in turn used to determine whether the password is hashed
before hashing it with the value of 'ask'. I think this should be added to
the public source-code.
The above are just the parts of code changed to allow this functionality
(which includes my update from the deprecated 'md5' module to the 'hashlib'
module for hashing).
In my copy of the library, I have added a flag (defaulting to False) which tells whether the password given is plain-text or a hash (for added security). This is in turn used to determine whether the password is hashed before hashing it with the value of 'ask'. I think this should be added to the public source-code.
Excerpts from my copy:
The above are just the parts of code changed to allow this functionality (which includes my update from the deprecated 'md5' module to the 'hashlib' module for hashing).
(originally opened by http://code.google.com/u/faazshift/ at http://code.google.com/p/pyscrobbler/issues/detail?id=11)