Comment 12 for bug 1638537

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

using https://github.com/tmc/genkey/blob/master/genkey.go i see similar slowness ...

right after boot a key generation (with 4096 bits like used in snapd) takes between 3-5 min.

doing a 25 run loop like in http://paste.ubuntu.com/24260311/ gets me runs between 12sec and 7min ... with an average around 2-3min.

using the rng_core.default_quality=700 boot option seems to help the run right after boot a little, but it never seems to run as fast as ssh-keygen can where the slowest i saw was around 50sec. so it seems to clearly be the rsa.GenerateKey() function of go that does cause the slowness on arm.