← Back to issue list

create-key prints no progress

View original Launchpad issue

Metadata

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

Current evaluation

snapcraft create-key prints no progress output and can appear stuck while collecting entropy; issue is open, unlabelled, and has no maintainer response.

Suggested action: needs triage

Reason: The issue is 10 years old with zero comments and no labels, but the create-key command still exists in the codebase (snapcraft/commands/keys.py) and still shells out to `snap create-key` for the slow key-generation step, so the UX complaint about missing progress output is not clearly resolved. It has not been assessed by a maintainer, so it needs triage rather than closure.

Impact: 20 Quick Win: 14.0 Staleness: 95 Complexity: 30 Confidence: 70 Support Request: 10

Issue body

When I use snapcraft create-key, it takes a long time to finish but it prints nothing to the terminal about the things it's running and the progress it's making. That's not nice for the user, you might think it's stuck, and you are left wondering why it's taking so long. elopio@ubuntu-xenial:~/snapcraft$ date lun 3 oct 12:43:07 CST 2016 elopio@ubuntu-xenial:~/snapcraft$ ./bin/snapcraft create-key Passphrase: Confirm passphrase: elopio@ubuntu-xenial:~/snapcraft$ date lun 3 oct 13:01:10 CST 2016 In addition to that, it took too long probably because it was collecting entropy. But it didn't explain that. This was on a vm that I left idle while doing something else. When I returned it was still stuck, so I used rngd to speed it up.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14.0
Staleness: 95
Complexity: 30
Confidence: 70
Support Request: 10
needs triage snapcraft create-key prints no progress output and can appear stuck while collecting entropy; issue is open, unlabelled, and has no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 10
close stale snapcraft create-key lacks progress output and fails to explain long delays during entropy collection, leaving users unsure if the process is stuck.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 85
Support Request: 10
close stale User reports snapcraft create-key lacks progress output and explanation during long execution, likely due to entropy collection. Issue has seen no activity or comments in nearly a decade.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Request to add progress output and entropy feedback to snapcraft create-key. Inactive for nearly 10 years with no maintainer response. Likely obsolete due to significant CLI refactoring and project evolution since 2016.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale snapcraft create-key lacks progress output and entropy collection feedback, making long waits appear stuck. Open with zero comments and inactive for years, needs triage or assignment.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#6141 (confidence 60%)

    Commit a1a0fb103 'refactor: migrate create-key command (#6141)' rewrote the command but did not add progress output for the underlying snap create-key subprocess.

Related issues

Issue Project State Summary Similarity
#1871660 create-key with no passphrase with pop-up loop snapcraft (launchpad) open snapcraft create-key cannot be run without a passphrase on a headless VM (Ubuntu 18.04 EC2); pressing enter at the passphrase prompts triggers a looping pop-up. Open ~6.4 years with zero comments, no labels, and no maintainer interaction.
74%
#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.
74%
#1979907 snapcraft create-key incorrect error message snapcraft (launchpad) closed Abandoned. The incorrect error message in snapcraft create-key for locally created keys was not fixed. The suggested wording update was never implemented.
71%