Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression which made libsecret backend unusable in v23.8.0 #587

Merged
merged 2 commits into from Aug 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.rst
@@ -1,3 +1,8 @@
v23.8.1
-------

* #587: Fix regression in ``libsecret``.

v23.8.0
-------

Expand Down
2 changes: 1 addition & 1 deletion keyring/backend.py
Expand Up @@ -250,7 +250,7 @@ def _query(self, service, username=None, **base):
scheme['username']: username,
scheme['service']: service,
}
if username
if username is not None
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible some users are relying on username = '' as a non-value for username. We can address that separately if needed.

else {
scheme['service']: service,
},
Expand Down