jaraco / jaraco/keyring

Support for empty string usernames is inconsistent

Open
#668 8 comments 1 reaction 0 assignees View on GitHub
Windows
Dominant language
Python
Stars
1.5k
Forks
196
PR merge metrics
No merged PRs in 30d

Description

Describe the bug:

Storing a password with an empty string "" username in windows 64, returns None with python 3.12.

To Reproduce:

All on windows 64, set up an environment with python 3.12 and keyring 24.3.1. Set a password with an empty string username "". Retrieve the password -> None.

Expected behavior
Doing the same thing with python 3.11, the password is retrieved.

Environment

Windows 64
Python 3.12.2
Keyring 24.3.1

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. First reproduce the empty-username case on Windows with Python 3.12 and compare it with Python 3.11, then trace the keyring backend handling of empty usernames. Done means storing and retrieving a password with an empty username behaves consistently across the reported versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.