← Back to issue list

snapcraft list-keys with no keys returns an empty table

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1720210
Type
issue
State
closed
Author
~elopio
Labels
bitesize store
Created
Updated
Closed

Current evaluation

Abandoned. Closed without implementation, leaving snapcraft list-keys to display an empty table instead of a helpful message when no keys are registered.

Suggested action:

No scores available.

Issue body

I'm running snapcraft keys with a user that has no keys: $ snapcraft keys Name SHA3-384 fingerprint Instead of reporting an empty table, it should return a nice message saying that no keys are registered. Maybe explaining how to register one.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned. Closed without implementation, leaving snapcraft list-keys to display an empty table instead of a helpful message when no keys are registered.
qwen/qwen3.6-35b-a3b The request to replace the empty table with a helpful message for snapcraft list-keys when no keys exist was closed without implementation, likely abandoned.
qwen/qwen3.6-35b-a3b Closed without implementation. The requested user-friendly message for unregistered keys was never added, leaving the empty table behavior unchanged. The issue appears abandoned due to zero comments and inactivity.
qwen3.6-35b-a3b-mtp-q6 The request to show a helpful message instead of an empty table for snapcraft keys was closed without implementation. No PRs were opened, indicating the feature was abandoned due to inactivity.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1622037 snapcraft list-keys prints no message when there are no keys snapcraft (launchpad) open snapcraft list-keys prints only an empty table header when no keys are registered; a friendly message (and possibly tips on adding keys) is requested. Unlabelled, zero comments, no activity for ~10 years; a similar Launchpad bug remains open.
88%
#1720207 snapcraft list-keys returns no keys, but the user has keys snapcraft (launchpad) open Maintainer elopio reported snapcraft list-keys showing an empty table despite the user having a registered key, while create-key says a 'default' key exists. Zero comments, no activity for ~6.4 years; the list-keys command has since been removed and replaced by keys.
86%
#1736864 snapcraft list-keys with no snap keys returns an empty table snapcraft (launchpad) closed Fixed via PR #1784. The command now displays a helpful message instead of an empty table when no local keys are registered, resolving the reported UX issue.
85%
#1858994 snapcraft list-keys doesn't show the non-registered key when no key is registered snapcraft (launchpad) open list-keys (snapcraft 3.8) fails to show a locally created key when no key is registered yet, printing 'No keys have been registered' instead. Unlabelled, zero comments, no activity for ~6.6 years; the command was later removed and replaced by snapcraft keys.
83%
#1784 cli: show helpful message for 'snapcraft list-keys' with no keys snapcraft merged Merged fix replacing the empty table output of snapcraft list-keys with a helpful message directing users to register-key --help. Added a unit test mocking an empty key list. Approved and merged after reviewer guidance on test implementation.
77%
#1621895 Implement `snapcraft list-keys` snapcraft (launchpad) closed The snapcraft list-keys command was not implemented. The issue was closed without discussion or a pull request, indicating the feature was abandoned.
76%
#1996618 Snapcraft does not list keys reported from snapd via External Key Manager snapcraft (launchpad) open snapcraft list-keys fails to show keys from External Key Manager when no keys are registered. Unlabelled, 0 comments, inactive for ~3.2 years.
74%