← Back to issue list

Add a method of listing the keys on a store

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1814066
Type
issue
State
open
Author
~jamesj
Labels
account-key feature
Created
Updated
Closed
—

Current evaluation

Feature request: add a way to list all keys registered on the Snap Store (e.g. `snapcraft keys --remote`). Open since 2019; the store API already returns account-keys, but remote keys are only surfaced when no local keys exist.

Suggested action: keep open

Reason: The request is valid and still unimplemented: `StoreKeysCommand` in snapcraft/commands/keys.py only shows remote fingerprints in the 'registered but are not available on this system' block, which is emitted solely when the local keyring is empty, and no `--remote` flag exists anywhere in the tree (grep for '--remote' returns no matches, and git log -S finds no implementing commit). The blocker cprov raised in 2019 is resolved — the dashboard `/dev/api/account` response's 'account-keys' is already consumed at keys.py:309, and awe confirmed in 2022 that 'the code's already there to do it'. Labels (account-key, feature) plus sergiusens' 'We can do this on snapcraft's side as long as we have storeapi' show this has been triaged and is a reasonable design, so it should stay open despite ~4 years of inactivity. Impact is capped at a convenience gap for publishers rather than a defect; remaining uncertainty is the maintainers' preferred CLI shape and output format, which is why actionability is 70 rather than higher.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 15 Complexity: 28 Confidence: 80 Actionability: 70

Issue body

`snapcraft list-keys` shows the keys in the local keyring and whether they are registered for an account. However, some customers have asked for the ability to list all the registered keys. Perhaps having a `--remote` option that will show the information from the snap store.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 15
Complexity: 28
Confidence: 80
Actionability: 70
keep open Feature request: add a way to list all keys registered on the Snap Store (e.g. `snapcraft keys --remote`). Open since 2019; the store API already returns account-keys, but remote keys are only surfaced when no local keys exist.
stealth/space-bunny-alpha
Impact: 22
Quick Win: 18
Complexity: 8
Confidence: 93
Actionability: 88
close resolved Remote-key visibility now exists implicitly: keys always lists registered fingerprints absent from the local keyring, including when local keys exist; no --remote flag remains.
qwen/qwen3.6-35b-a3b
Impact: 10
Quick Win: 10
Complexity: 0
Confidence: 95
Actionability: 100
close resolved Feature request to list registered keys from the store. The original `list-keys` command was renamed to `keys`, which already fetches and displays registered keys from the store alongside local keys.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 20
Staleness: 92
Complexity: 35
Confidence: 72
Support Request: 10
close stale Feature request for a --remote flag on snapcraft list-keys to query registered keys from the snap store. Open 7.5 years, no maintainer interaction, project has moved issue tracking to Launchpad where a corresponding bug (1814066) is open.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 65
Support Request: 10
needs triage Feature request to add a --remote flag to snapcraft list-keys for querying registered keys from the snap store. Untriaged and inactive for over four years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 25
Confidence: 85
Support Request: 5
close stale Request to add a --remote flag to snapcraft list-keys to display account-registered keys from the snap store. Untriaged, inactive for over 4 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 10
close stale Feature request to add a --remote flag to snapcraft list-keys to show store-registered keys. Issue is over seven years old with zero comments or maintainer engagement.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#786 Add `snapcraft list-keys` snapcraft merged Merged #786 as 233adda3a, adding snapcraft list-keys to display keys registered to the user's Store account alongside local key data.
76%
#1621895 Implement `snapcraft list-keys` snapcraft (launchpad) closed snapcraft list-keys was implemented by merged PR snapcore/snapcraft#786 in commit 233adda3a, showing store-account keys alongside local key data.
75%