Additional context
I've stumbled upon this when using Numberstation with polish characters (ł, ż) entered as token names. Numberstation uses urllib.parse.urlencode and json.dumps to turn them into a password.
Python API returns empty string:
>>> keyring.get_password('dupaservice', 'dupauser') is None
False
>>> keyring.get_password('dupaservice', 'dupauser')
''
Describe the bug Backslashes in password (e.g. encoded unicode characters) make the library behave incorrectly.
To Reproduce
Expected behavior I guess backslashes should be supported, or an error should be reported when trying to set such password.
Environment
Additional context I've stumbled upon this when using Numberstation with polish characters (ł, ż) entered as token names. Numberstation uses
urllib.parse.urlencode
andjson.dumps
to turn them into a password.Python API returns empty string: