I'm not a pidgin-otr user (yet), but some random comments:

What kind of key is generated here?  If it is a long-term private key
(RSA etc) then using /dev/random is likely the right thing.

Generally, I agree that it would be useful to speed up the randomness
process.

Btw, consider doing something like:

gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);

Then it will read from /dev/urandom even for public-key generation.  Of
course, you are probably on your own wrt to security of these keys, and
you'll need to look into the libgcrypt code to understand exactly what
this does.

/Simon



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to