"snapcraft create-key" takes a while

Over on stackoverflow a user reported that snapcraft create-key takes a long time. I confirmed here that it takes a fair while, making you think it’s hanging or broken in some way. It took 6 minutes on my i7, and sat giving no output after I typed the passphrase twice. I saw no activity in top or vmstat, so figured it was doing nothing. It did eventually finish though.

alan@deep-thought:~$ time snapcraft create-key
Passphrase
Confirm passphrase:

real    6m18.465s
user    0m4.662s
sys     0m1.300s

Perhaps it could either provide some feedback, or go faster?

Over on stackoverflow a user reported that snapcraft create-key takes a long time. I confirmed here that it takes a fair while, making you think it’s hanging or broken in some way. It took 6 minutes on my i7, and sat giving no output after I typed the passphrase twice. I saw no activity in top or vmstat, so figured it was doing nothing. It did eventually finish though.

alan@deep-thought:~$ time snapcraft create-key
Passphrase
Confirm passphrase:

real    6m18.465s
user    0m4.662s
sys     0m1.300s

Perhaps it could either provide some feedback, or go faster?

I suspect it was waiting for more entropy.

Yes seeing the same thing here.

A bit of user feed back (waiting for entropy…) might be a nice idea.