← Back to issue list

Implement basic form of `snapcraft register-key`

View original Github issue

Metadata

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

Current evaluation

Merged implementation of the snapcraft register-key command. Code was refactored to align with updated snap key management interfaces, CI failures were resolved, and tolerance was added for snapd output quirks. The feature is now integrated.

Suggested action:

No scores available.

Issue body

This adds a basic register-key command that can be used to register keys from your snap keyring. We don't yet have all the prescribed error modes in place, and nor are we able to tell which keys are already enabled. That requires some more work on the store side.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged implementation of the snapcraft register-key command. Code was refactored to align with updated snap key management interfaces, CI failures were resolved, and tolerance was added for snapd output quirks. The feature is now integrated.
qwen3.6-35b-a3b-mtp-q6 Merged implementation of the snapcraft register-key command. Introduces basic key registration from the snap keyring, refactored to align with updated snapd interfaces. CI failures and a NoneType error were resolved during review prior to merge.
qwen3.6-35b-a3b-mtp-q6 Merged. Implements a basic snapcraft register-key command, refactored to use new snap key management interfaces. Includes a workaround for a snapd bug causing a NoneType error. Passed CI validation and was merged.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1612730 Implement `snapcraft register-key` snapcraft (launchpad) closed Request to implement snapcraft register-key was closed without action. No pull requests or comments were submitted, indicating the feature was abandoned or superseded.
77%
#824 Add `snapcraft create-key` snapcraft merged Merged. Adds snapcraft create-key to wrap snap create-key, unifying key creation and registration. Prevents duplicate registration errors and improves UX. Applied reviewer feedback and minor tweaks before merging.
75%
#1595012 Implement snapcraft register snapcraft (launchpad) closed Implemented and verified the snapcraft register command, enabling developers to register snap names directly from the CLI and improving the upload workflow.
75%