← 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 PR #726 as commit 35c7cb2a9, adding basic snapcraft register-key support through snapd's newer key-management interfaces.

Resolution: closed resolved

Reason: PR #726 was merged into canonical/snapcraft as commit 35c7cb2a9, delivering the register-key command after migration to snapd's new key-management interfaces.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #726 as commit 35c7cb2a9, adding basic snapcraft register-key support through snapd's newer key-management interfaces.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#726 (commit 35c7cb2a9), adding basic snapcraft register-key support after migration to the new snap key-management interfaces.
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.

Update history

No update history recorded yet.

Related work

  • Related To: snapd#1869 (confidence 95%)

    Follow-up fix for snapd returning unexpected output when no key was available.

Related issues

Issue Project State Summary Similarity
#1612730 Implement `snapcraft register-key` snapcraft (launchpad) closed Implemented and merged basic `snapcraft register-key` support in snapcraft#726 via commit 35c7cb2a9.
91%
#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.
72%
#1595012 Implement snapcraft register snapcraft (launchpad) closed Feature request implemented: `snapcraft register` landed in canonical/snapcraft#586 (commit 44156fbfa), shipped as snapcraft 2.12 via SRU to xenial-proposed/-updates. Verified by elopio; bug closed as verification-done.
71%