← Back to issue list

Store the user's Launchpad credentials in a keyring when available

View original Github issue

Metadata

Project
craft-application
Number
#295
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Launchpad remote builds still store credentials in a user-data file; OS-keyring storage with file fallback remains unimplemented and needs maintainer triage.

Suggested action: needs triage

Reason: RemoteBuildService still passes a user_data_path("launchpad-credentials") file to Launchpad.login, and repository search found no Launchpad keyring integration. The issue has no labels or maintainer assessment—the sole comment is an automated Jira-sync notice—although craft-store#236 now makes the proposed FileKeyring fallback available.

Evaluated by: mr-cal-bot

Impact: 45 Quick Win: 17 Complexity: 55 Confidence: 94 Actionability: 82

Issue body

### What needs to get done `craft-store` uses `keyring` as its backend and `launchpadlib` has a way to store credentials in a keyring rather than a file. We should still have a way to fall back to a file when no keyrings are available, but we might be able to use [craft-store's FileKeyring](https://github.com/canonical/craft-store/blob/f9171f1bfedd3653cc764b91cf4a0193bc1e431a/craft_store/auth.py#L82-L143) to do that. ### Why it needs to get done Better not to use a file if we can avoid it.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 45
Quick Win: 17
Complexity: 55
Confidence: 94
Actionability: 82
needs triage Launchpad remote builds still store credentials in a user-data file; OS-keyring storage with file fallback remains unimplemented and needs maintainer triage.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 11
Complexity: 40
Confidence: 70
Actionability: 60
keep open Feature request to use OS keyring for Launchpad credentials with file fallback. Currently uses file-based storage. craft-store#236 provides FileKeyring support but is not yet integrated here.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 18
Staleness: 62
Complexity: 55
Confidence: 75
Support Request: 10
needs triage Feature request to store Launchpad credentials in the OS keyring (via craft-store/launchpadlib) with a file fallback, instead of always writing them to a file. Open, unlabelled, no maintainer response beyond the Jira-sync bot; still unimplemented in the launchpad client.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 20
Confidence: 85
Support Request: 0
needs triage Feature request to use system keyring for Launchpad credentials instead of file storage, with file fallback. Unlabelled, no maintainer response, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 80
Support Request: 10
close stale Feature request to store Launchpad credentials in a keyring with a file fallback. Untriaged, inactive for over a year, and lacks maintainer engagement or labels.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-store#236 (confidence 96%)

    Merged opt-in FileKeyring fallback for systems without a Secret Service provider, providing the file backend proposed by this issue.

Related issues

No related issues found above the similarity threshold.