← Back to issue list

Add `snapcraft list-keys`

View original Github issue

Metadata

Project
snapcraft
Number
#786
Type
pull request
State
merged
Author
cjwatson
Labels
—
Created
Updated
Closed

Current evaluation

Merged #786 as 233adda3a, adding snapcraft list-keys to display keys registered to the user's Store account alongside local key data.

Resolution: closed resolved

Reason: PR #786 was merged as commit 233adda3a. The command augmented existing key output with Store-account registrations and implemented Launchpad bug #1621895.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This augments `snap keys` by also showing which keys are registered to your account on the store. LP: #1621895

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #786 as 233adda3a, adding snapcraft list-keys to display keys registered to the user's Store account alongside local key data.
stealth/space-bunny-alpha — closed resolved Merged in #786 via commit 233adda3a, adding `snapcraft list-keys` to show local signing keys and which are registered to the user's store account.
stealth/space-bunny-alpha — closed resolved Merged as 233adda3a, adding `snapcraft list-keys` to display keys registered to the store account alongside local `snap keys` data. Closes LP #1621895.
stealth/space-bunny-alpha — closed resolved Merged #786 as 233adda3a, adding `snapcraft list-keys` to display keys registered to the store account alongside local `snap keys` data.
qwen/qwen3.6-35b-a3b — — Merged changes adding the snapcraft list-keys command to show store-registered keys. The author promptly resolved an initial CI test failure, reviewers approved the update, and the branch was merged.
qwen3.6-35b-a3b-mtp-q6 — — Merged feature adding snapcraft list-keys to display account-registered store keys. A failing unit test was corrected during review, followed by approval and merge.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1621895 (confidence 100%)

    Originating Launchpad bug explicitly linked in the PR body and closed by the implementation.

Related issues

Issue Project State Summary Similarity
#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.
86%
#1784 cli: show helpful message for 'snapcraft list-keys' with no keys snapcraft merged Merged PR #1784 (commit 5c76509ff): snapcraft list-keys now directs users to register-key --help when no keys exist instead of printing an empty table.
77%
#1814066 Add a method of listing the keys on a store snapcraft (launchpad) 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.
76%
#824 Add `snapcraft create-key` snapcraft merged Merged #824 in commit 01d512e65, adding `snapcraft create-key` to wrap `snap create-key` and reject names already registered with the store.
75%
#1736864 snapcraft list-keys with no snap keys returns an empty table snapcraft (launchpad) closed Fixed via merged canonical/snapcraft#1784 (commit 5c76509ff): list-keys now shows registration guidance instead of an empty table when no keys exist.
72%
#1720207 snapcraft list-keys returns no keys, but the user has keys snapcraft (launchpad) open Observed behavior is resolved: keys now displays registered remote-only key fingerprints separately from local keys; legacy list-keys was renamed and removed in Snapcraft 9.
70%