← Back to issue list

Improve support for preseeding in managed builds

View original Github issue

Metadata

Project
imagecraft
Number
#372
Type
issue
State
open
Author
jahn-junior
Labels
Status: Triaged
Created
Updated
Closed
—

Current evaluation

Managed Multipass builds still require exporting and importing a GPG signing key with interactive unlocks for preseeding; this triaged request remains open as IMAGECRAFT-178.

Suggested action: keep open

Reason: The current preseeding documentation still requires the GPG export/import workaround and warns that packing prompts for key unlocking twice, confirming the problem remains. The maintainer-authored request is labeled Triaged and linked to IMAGECRAFT-178, but no implemented workflow or resolving change is present.

Evaluated by: mr-cal-bot

Impact: 52 Quick Win: 13 Complexity: 63 Confidence: 90 Actionability: 66

Issue body

### Check existing issues - [x] I've verified that this request isn't described by any existing issues. ### Request Streamline the process for preseeding images when building with Multipass. Currently, it requires users to export their signing key and import it with an override script. This approach also requires users to unlock the key in an interactive prompt, which resists automation. ### The problem it solves To preseed an image in a managed build, we currently have to export the key with: ``` gpg --homedir ~/.snap/gnupg --export-secret-keys <key-name> sign.key ``` and make it available in the build enviroment with something like: ``` parts: import-key: plugin: nil source: . override-build: | mkdir -p /home/ubuntu/.snap/gnupg chmod 700 /home/ubuntu/.snap/gnupg gpg --homedir /home/ubuntu/.snap/gnupg --import $CRAFT_PART_SRC/sign.key ``` A simpler method of preseeding in Multipass builds would be a nice improvement for users. At the very least, we should come up with a workflow for circumventing the interactive prompts.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 52
Quick Win: 13
Complexity: 63
Confidence: 90
Actionability: 66
keep open Managed Multipass builds still require exporting and importing a GPG signing key with interactive unlocks for preseeding; this triaged request remains open as IMAGECRAFT-178.
stealth/space-bunny-alpha
Impact: 47
Quick Win: 11
Complexity: 63
Confidence: 74
Actionability: 64
keep open Managed Multipass builds lack a streamlined, noninteractive way to preseed images with signing keys; the issue is triaged and tracked as IMAGECRAFT-178.
qwen3.6-35b-a3b-mtp-q6
Impact: 65
Quick Win: 36
Staleness: 55
Complexity: 45
Confidence: 70
Support Request: 25
keep open Feature request to improve preseeding workflow in managed builds, specifically around signing key automation and eliminating interactive GPG prompts. Triaged but inactive for 64 days.
qwen/qwen3.6-35b-a3b
Staleness: 15
Complexity: 45
Confidence: 85
Support Request: 10
keep open Request to streamline GPG key preseeding for managed Multipass builds, avoiding interactive prompts and manual export/import steps. Currently triaged and awaiting implementation.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 40
Confidence: 90
Support Request: 10
keep open Feature request to streamline GPG key preseeding for managed Multipass builds, avoiding manual export/import and interactive prompts. Currently triaged and linked to internal ticket IMAGECRAFT-178.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 40
Confidence: 90
Support Request: 10
needs triage Request to streamline GPG key preseeding for managed Multipass builds, avoiding manual export/import and interactive prompts. Currently unlabelled and awaiting maintainer assessment.

Update history

No update history recorded yet.

Related work

  • Related To: imagecraft#253 (confidence 85%)

    The provider implementation explicitly links #253 when defaulting to Multipass, establishing the managed-provider context in which this request applies.

Related issues

No related issues found above the similarity threshold.