← Back to issue list

snapcraft register-key doesn't use U1 SSO login credentials

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1634803
Type
issue
State
open
Author
~vrruiz
Labels
Created
Updated
Closed

Current evaluation

register-key re-prompts for U1 SSO credentials even after a successful snapcraft login, tested on snapcraft 2.19. ~10 years old, unlabelled, 0 comments, no maintainer activity; a near-identical Launchpad bug is also open.

Suggested action: close stale

Reason: The report is ~3603 days old with last activity 2526 days ago, 0 comments, no labels, and no maintainer engagement, and it targets snapcraft 2.19, a version long superseded by the 7.x line whose store client and login/credential handling were rewritten around craft-store. The original problem is therefore no longer applicable to supported versions, though I could not verify current behavior in code (no pinned SHA available), which caps confidence.

Impact: 25 Quick Win: 15.0 Staleness: 95 Complexity: 40 Confidence: 60 Support Request: 10

Issue body

Test case. - snap create-key <key name> - snapcraft login (and introduce U1 SSO credentials). - snapcraft register-key <key name> Expected result. - snapcraft is logged and registers the key name. Actual result. - snapcraft register-key asks again for U1 SSO credentials. Tested with snapcraft 2.19

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 15.0
Staleness: 95
Complexity: 40
Confidence: 60
Support Request: 10
close stale register-key re-prompts for U1 SSO credentials even after a successful snapcraft login, tested on snapcraft 2.19. ~10 years old, unlabelled, 0 comments, no maintainer activity; a near-identical Launchpad bug is also open.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 5
close stale Bug report from 2015 stating snapcraft register-key prompts for U1 SSO credentials instead of using existing login. Unlabelled, no maintainer comments, tested on obsolete snapcraft 2.19.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 30
Confidence: 95
Support Request: 10
close stale Reports snapcraft register-key requesting U1 SSO credentials instead of reusing an existing login session. Reported against snapcraft 2.19 with no maintainer interaction or updates in nearly a decade.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 25
Confidence: 90
Support Request: 10
close stale snapcraft register-key fails to reuse existing U1 SSO credentials after login. Report is extremely stale, lacks maintainer response, and references the deprecated 2.19 version.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 5
close stale snapcraft register-key ignores active U1 SSO sessions and prompts for credentials again. Unlabeled, unassigned, and inactive for years. Needs triage and verification against current versions.

Update history

No update history recorded yet.

Related work

  • Duplicate Of: snapcraft (launchpad)#1782636 (confidence 70%)

    Launchpad bug reports the same symptom: snapcraft prompts for login again immediately after a successful login when registering a key; also open with no maintainer activity.

Related issues

Issue Project State Summary Similarity
#1782636 Snapcraft request user to login even if the user is logged in snapcraft (launchpad) open 2017 report that snapcraft register-key re-prompts for Ubuntu One login right after a successful snapcraft login; reporter suggests a clearer message. No labels, 0 comments, no maintainer activity for ~8 years; codebase since fully rewritten.
79%
#1816524 snapcraft register-key fails snapcraft (launchpad) open snapcraft 2.43.1 register-key fails with GPG 'Operation cancelled' during snap export-key; 7.5 years old, no labels, zero comments, no maintainer activity; affected 2.x version is long deprecated.
74%
#2065075 snapcraft register-key timeout snapcraft (launchpad) open snapcraft register-key fails with GPG timeout error; issue is 849 days old with no maintainer engagement
72%