Passwords are picked from the backup category
Using passwords with a dollar sign '$' as the last letter does not work correctly. The dollar sign is not copied to the clipboard when invoking python-keepassx with the 'get' option.
Ubuntu 14.04 python-keepassx installed via pip
kp --version kp version 0.1.0
Seems like the problem is somewhere in retrieving/decoding the password from the database. I can see that the clipboard module works fine:
>>> from clipboard import *
>>> copy("foobar$")
>>> foobar$
I think I was wrong, this has nothing to do with special characters / dollar signs.
The problem seems to be that KeepassX has different categories, in particular a "backup" category which is automatically created. The site I was trying to get the password for via python-keepassx existed in both the Internet category and the Backup category. Apparently, the password from the backup category was picked (which is an older, now incorrect password).
Is there a way to select the preferred category?