Hello,
using version 0.5.0
I hit a backtrace when entering by mistake a weird character when connecting to a dabase:
kedpm -c
Ked Password Manager (version 0.5.0)
Provide password to access the database (Ctrl-C to exit)
Password:
Traceback (most recent call last):
File "/usr/bin/kedpm", line 67, in <module>
main(sys.argv[1:])
File "/usr/bin/kedpm", line 64, in main
app.run()
File "/usr/lib/python2.6/dist-packages/kedpm/frontends/frontend.py", line 54, in run
self.openDatabase()
File "/usr/lib/python2.6/dist-packages/kedpm/frontends/cli.py", line 72, in openDatabase
self.pdb.open(password)
File "/usr/lib/python2.6/dist-packages/kedpm/plugins/pdb_figaro.py", line 98, in open
self.convDomToTree(fpm)
File "/usr/lib/python2.6/dist-packages/kedpm/plugins/pdb_figaro.py", line 125, in convDomToTree
if self.decrypt(vstring) != "FIGARO":
File "/usr/lib/python2.6/dist-packages/kedpm/plugins/pdb_figaro.py", line 285, in decrypt
hash.update(self._salt + self._password)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)
I use a UTF8 locale:
locale
LANG=fr_CA.UTF-8
LANGUAGE=
LC_CTYPE="fr_CA.UTF-8"
LC_NUMERIC="fr_CA.UTF-8"
LC_TIME=fr_CA.utf8
LC_COLLATE="fr_CA.UTF-8"
LC_MONETARY="fr_CA.UTF-8"
LC_MESSAGES="fr_CA.UTF-8"
LC_PAPER="fr_CA.UTF-8"
LC_NAME="fr_CA.UTF-8"
LC_ADDRESS="fr_CA.UTF-8"
LC_TELEPHONE="fr_CA.UTF-8"
LC_MEASUREMENT="fr_CA.UTF-8"
LC_IDENTIFICATION="fr_CA.UTF-8"
LC_ALL=
and the easiest way to reproduce this is to type an "é" character (or probably pretty much any accented char)
i have forwarded this bug to our other bugtracker, where i can manage stuff. :)
https://redmine.koumbit.net/issues/10375