raymontag / kppy

A Python-module to provide an API to KeePass 1.x files commonly used by KeePassX.
http://raymontag.github.com/kppy
ISC License
28 stars 4 forks source link

must encode #2

Closed cdede closed 12 years ago

cdede commented 12 years ago

TypeError: Unicode-objects must be encoded before hashing

1224 line must be sha.update(self.password.encode('utf-8'))

raymontag commented 12 years ago

Fixed, thanks for this suggestion :)