Cannot generate new credentials (snapcraft 7.2.2->4)
Metadata
Current evaluation
Bug: snapcraft login fails when SNAPCRAFT_STORE_CREDENTIALS is set; never triaged, 1401 days old
Suggested action: needs triage
Reason: The issue has no labels, no maintainer response, and no assignee, indicating it has never been triaged. Despite being 1401 days old, it represents a legitimate bug that needs maintainer assessment to determine if the error message and behavior still exist in the current version of snapcraft.
Impact:
50
Quick Win:
30.0
Staleness:
85
Complexity:
40
Confidence:
60
Support Request:
20
Issue body
OS: Ubuntu 20.04
Snapcraft: 7.2.4 (tested with 7.2.2, 7.2.3)
Following: https://snapcraft.io/docs/snapcraft-authentication
```
jenkins@jenkins:~$ snapcraft export-login creds
Enter your Ubuntu One e-mail address and password.
If you do not have an Ubuntu One account, you can create one at https://snapcraft.io/account
Email: foo@bar
Password:
Exported login credentials to 'creds'
These credentials must be used on Snapcraft 7.2 or greater.
jenkins@jenkins:~$ export SNAPCRAFT_STORE_CREDENTIALS=$(cat creds)
jenkins@jenkins:~$ snapcraft login
Cannot login with 'SNAPCRAFT_STORE_CREDENTIALS' set.
Recommended resolution: Unset 'SNAPCRAFT_STORE_CREDENTIALS' and try again.
Full execution log: '/var/lib/jenkins/.cache/snapcraft/log/snapcraft-20221102-091756.378016.log'
```
Log:
```
jenkins@jenkins:~$ cat /var/lib/jenkins/.cache/snapcraft/log/snapcraft-20221102-091756.378016.log
2022-11-02 09:17:56.378 Starting Snapcraft 7.2.4
2022-11-02 09:17:56.380 Storing credentials for 'snapcraft' on 'dashboard.snapcraft.io' in keyring 'auth MemoryKeyring'.
2022-11-02 09:17:56.380 Cannot login with 'SNAPCRAFT_STORE_CREDENTIALS' set.
2022-11-02 09:17:56.380 Recommended resolution: Unset 'SNAPCRAFT_STORE_CREDENTIALS' and try again.
2022-11-02 09:17:56.380 Full execution log: '/var/lib/jenkins/.cache/snapcraft/log/snapcraft-20221102-091756.378016.log'
```
Note: unsetting SNAPCRAFT_STORE_CREDENTIALS doesn't change anything. It's a build machine without gnome-keyring
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
50
Quick Win:
30.0
Staleness:
85
Complexity:
40
Confidence:
60
Support Request:
20
|
needs triage | Bug: snapcraft login fails when SNAPCRAFT_STORE_CREDENTIALS is set; never triaged, 1401 days old | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
25
Confidence:
90
Support Request:
15
|
close stale | User reports snapcraft login failing with SNAPCRAFT_STORE_CREDENTIALS error on v7.2.4. Issue is 3.7 years old with no maintainer response or activity. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
20
Confidence:
85
Support Request:
15
|
close stale | Snapcraft 7.2.x fails to login using SNAPCRAFT_STORE_CREDENTIALS on systems without gnome-keyring. Issue is 3.7 years old with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
20
Confidence:
85
Support Request:
15
|
close stale | Login fails with SNAPCRAFT_STORE_CREDENTIALS set on Snapcraft 7.2.x. Reported over three years ago with zero maintainer interaction and no reproduction steps for modern versions. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
20
Confidence:
85
Support Request:
25
|
close stale | snapcraft v7.2.4 login fails when SNAPCRAFT_STORE_CREDENTIALS is set on systems without gnome-keyring. The report is 3.6 years old with zero maintainer interaction or updates. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1980534 Legacy credentials in Snapcraft 7 give a confusing error message | snapcraft (launchpad) | closed | Closed without comments or explicit resolution. The confusing error message regarding the empty SNAPCRAFT_STORE_CREDENTIALS variable was not addressed. | |
| #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. | |
| #1978518 login still promots for username and password when using SNAPCRAFT_STORE_CREDENTIALS | snapcraft (launchpad) | closed | Abandoned and closed without resolution due to inactivity. The reported SNAPCRAFT_STORE_CREDENTIALS login prompt bug remains unresolved. | |
| #2098999 Snapcraft auth does not create dir needed and errors out | snapcraft (launchpad) | open | Snapcraft auth fails to create credentials directory on macOS, causing FileNotFoundError. Issue is 560 days old with no maintainer response. |