← Back to issue list

snapcraft create-key incorrect error message

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1979907
Type
issue
State
closed
Author
~picchietti
Labels
craft-1161
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Abandoned. The incorrect error message in snapcraft create-key for locally created keys was not fixed. The suggested wording update was never implemented.

Suggested action:

No scores available.

Issue body

Description: "snapcraft create-key" will error with a message that says a key has been registered when it has not been. To reproduce: ```bash # verify key "test1" has not been created yet snapcraft keys # create key that has not been registered with "snapcraft register" snapcraft create-key test1 # See that key "test1" has "(not registered)" to the right of its fingerprint snapcraft keys # Receive incorrect error message snapcraft create-key test1 ``` Note: I'm not aware of any way to delete a key, so you will probably have "test1" in your keys forever. Sorry! Suggested fix: Change wording to say "You have already created a key named 'key_name'"

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned. The incorrect error message in snapcraft create-key for locally created keys was not fixed. The suggested wording update was never implemented.
qwen/qwen3.6-35b-a3b Closed. The misleading error message for snapcraft create-key was corrected to clarify that a key was already created rather than registered.
qwen3.6-35b-a3b-mtp-q6 The snapcraft create-key error message report was closed without a fix. Zero comments and no linked pull requests indicate the report was abandoned or closed as stale.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1637623 snapcraft create-key displays an ugly error when the keys don't match snapcraft (launchpad) open snapcraft create-key leaks a raw subprocess error when passphrases don't match. Labeled store/ui, filed by a maintainer, no comments for ~10 years; a related error-message bug was closed as abandoned.
80%
#1629978 create-key prints no progress snapcraft (launchpad) open snapcraft create-key prints no progress output and can appear stuck while collecting entropy; issue is open, unlabelled, and has no maintainer response.
71%