← Back to issue list

problems on revoking a gpg key for signing assertions

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1669471
Type
issue
State
open
Author
~elopio
Labels
store
Created
Updated
Closed

Current evaluation

snapcraft revoke-key prints usage help instead of revoking a GPG key (snapcraft 2.27.1). No comments or maintainer response for ~9.5 years. Version is long deprecated and store commands were reorganized under the snapcraft store subcommand.

Suggested action: close stale

Reason: The issue is ~9.5 years old (last activity 3423 days ago) with 0 comments and no maintainer engagement, and it targets snapcraft 2.27.1, a long-deprecated version. The store command surface has since been reorganized under the 'snapcraft store' subcommand group, where key revocation is handled, so the reported top-level 'revoke-key' command no longer exists in current snapcraft. Inactivity alone is not the basis; the affected version is unsupported and the command structure has been superseded.

Impact: 15 Quick Win: 12.75 Staleness: 95 Complexity: 15 Confidence: 75 Support Request: 20

Issue body

I registered a key for my first assertion, then I received a mail from Ubuntu store with the command able to remove a gpg key from backend: snapcraft revoke-key name_of_key This command don't work and produces the following output: snapcraft revoke-key name_of_key Usage: snapcraft [options] [--enable-geoip --no-parallel-build] snapcraft [options] init snapcraft [options] pull [<part> ...] [--enable-geoip] snapcraft [options] build [<part> ...] [--no-parallel-build] snapcraft [options] stage [<part> ...] snapcraft [options] prime [<part> ...] snapcraft [options] strip [<part> ...] snapcraft [options] clean [<part> ...] [--step <step>] snapcraft [options] snap [<directory> --output <snap-file>] snapcraft [options] cleanbuild [--remote=<remote>] snapcraft [options] login snapcraft [options] logout snapcraft [options] list-registered snapcraft [options] registered snapcraft [options] list-keys snapcraft [options] keys snapcraft [options] create-key [<key-name>] snapcraft [options] register-key [<key-name>] snapcraft [options] register <snap-name> [--private] snapcraft [options] sign-build <snap-file> [--key-name=<key-name>] [--local] snapcraft [options] upload <snap-file> snapcraft [options] push <snap-file> [--release <channels>] snapcraft [options] release <snap-name> <revision> <channel> snapcraft [options] status <snap-name> [--series=<series>] [--arch=<arch>] snapcraft [options] history <snap-name> [--series=<series>] [--arch=<arch>] snapcraft [options] close <snap-name> <channel_names>... snapcraft [options] list-plugins snapcraft [options] plugins snapcraft [options] tour [<directory>] snapcraft [options] update snapcraft [options] gated <snap-name> snapcraft [options] validate <snap-name> <validation>... [--key-name=<key-name>] snapcraft [options] define <part-name> snapcraft [options] search [<query> ...] snapcraft [options] enable-ci [<ci-system>] [--refresh] snapcraft [options] help (topics | <plugin> | <topic>) [--devel] snapcraft (-h | --help) snapcraft --version snapcraft --version -> 2.27.1

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 12.75
Staleness: 95
Complexity: 15
Confidence: 75
Support Request: 20
close stale snapcraft revoke-key prints usage help instead of revoking a GPG key (snapcraft 2.27.1). No comments or maintainer response for ~9.5 years. Version is long deprecated and store commands were reorganized under the snapcraft store subcommand.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 20
close stale snapcraft revoke-key command shows help text instead of revoking a GPG key. Report is over 9 years old and references deprecated snapcraft v2.27.1.
qwen/qwen3.6-35b-a3b
Staleness: 99
Complexity: 15
Confidence: 95
Support Request: 20
close stale Report that snapcraft revoke-key fails and shows help output instead. Issue is over 9 years old with no maintainer interaction and references an ancient snapcraft version.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 10
Confidence: 90
Support Request: 85
close stale Reports missing revoke-key command in snapcraft 2.27.1. No maintainer response, inactive for over 9 years, and the command and version are obsolete.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 20
close stale snapcraft revoke-key is unrecognized in v2.27.1, showing general help instead of revoking a GPG key for signing assertions. Open, inactive for years, zero comments, requires triage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1744013 snap does not support revocation of signing keys snapcraft (launchpad) open Reports that snapcraft's model assertion signing process (snap sign) provides no way to revoke signing keys. 8.6 years old with zero comments, no labels, and no maintainer interaction; unverified whether the store now supports key revocation.
78%
#1816524 snapcraft register-key fails snapcraft (launchpad) open snapcraft 2.43.1 register-key fails with GPG 'Operation cancelled' during snap export-key; 7.5 years old, no labels, zero comments, no maintainer activity; affected 2.x version is long deprecated.
74%
#1800825 Missing account-key revocation support snapcraft (launchpad) open Feature request for account-key revocation in snapcraft (destructive or timeproof-based selective), plus better CLI guidance on key backup/restore. Open ~7.8 years with zero comments and no maintainer interaction; interim suggestion likely outdated.
72%