Comment 8 for bug 1638537

Revision history for this message
Oliver Grawert (ogra) wrote :

we have been doing various test runs ... adding rng_core.default_quality=700 to teh commandline on pi and dragonboard gives a much greater entropy on boot:

$ cat /proc/sys/kernel/random/entropy_avail
958

but the user.creation step in console-conf still hangs for 3min doing the device key generation. this is a 4096bit rsa key ...

for comparison trying to run something like:
ssh-keygen -N "" -b 4096 -t rsa -f foo.key

does finish in abouit 30sec

so the suspicion is that rsa.GenerateKey() from go has some issues with arm here ...
the respective code in snapd is at:

https://github.com/snapcore/snapd/blob/master/overlord/devicestate/handlers.go#L88