login still promots for username and password when using SNAPCRAFT_STORE_CREDENTIALS
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Abandoned and closed without resolution due to inactivity. The reported SNAPCRAFT_STORE_CREDENTIALS login prompt bug remains unresolved.
Suggested action: —
No scores available.
Issue body
$ snapcraft version
snapcraft 7.0.2
If I set SNAPCRAFT_STORE_CREDENTIALS to have the exported login credential from snapcraft export-login, and then run login, ie
$ export SNAPCRAFT_STORE_CREDENTIALS ...
$ snapcraft login
I still get prompted for username and password and it exits with code 1.
snapcraft whoami does show though that I am logged in
$ snapcraft whoami
email: <email address hidden>
username: juju-qa
id: yZLP8pbP8Cx3OCVg7cfq5H390RGDn8jP
permissions: package_access, package_manage, package_metrics, package_push, package_register, package_release, package_update
channels: no restrictions
expires: 2023-06-14T01:50:28.000Z
$ snapcraft upload juju_2.9.32_amd64.snap
craft-store error: No keyring found to store or retrieve credentials from.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned and closed without resolution due to inactivity. The reported SNAPCRAFT_STORE_CREDENTIALS login prompt bug remains unresolved. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. The reported bug where SNAPCRAFT_STORE_CREDENTIALS failed to bypass login prompts was resolved and the issue was closed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed due to inactivity. The report detailed snapcraft login ignoring SNAPCRAFT_STORE_CREDENTIALS and prompting for credentials despite successful authentication. No fix or resolution was documented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1791879 snapcraft reports invalid credentials after successful login (new account) | snapcraft (launchpad) | closed | Closed without resolution. The snapcraft credential and root macaroon error remains unfixed. Issue appears abandoned due to zero comments and no follow-up. | |
| #1995488 Cannot generate new credentials (snapcraft 7.2.2->4) | snapcraft (launchpad) | open | Bug: snapcraft login fails when SNAPCRAFT_STORE_CREDENTIALS is set; never triaged, 1401 days old |