jaraco / jaraco/keyring

Feature request: a backend for third-parties to test their keyring usage.

Open
#631 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted tests
Dominant language
Python
Stars
1.5k
Forks
196
PR merge metrics
No merged PRs in 30d

Description

As far as I can see, there's no backend (either in keyring, keyring.alt or PyPI) which is designed for running as a test backend to check that calls to keyring are correct. Mocks could be used, but given backends are somewhat deployment specific anyway, having a test backend would avoid every project having their own mocks.

Would such a test backend be acceptable to the main keyring codebase? Naturally it would never be used unless requested, and would be documented as not to be used for anything else than testing (e.g. would be in memory only, so would not work as a keychain), or is keychain sufficiently frozen as to require this to be a third party backend?

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the existing keyring backends and the related keyring.alt and PyPI options before deciding whether this belongs in the main codebase. The proposed outcome is an explicitly opt-in, in-memory backend for third-party tests, documented as testing-only, or a clear decision to keep it external.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.