Use the system PRNG
libgcrypt can generate random numbers in several ways. The first and default is from an internal PRNG, based on the design by Gutmann from 1998, which is seeded at initialization. The second way is using the system PRNG (/dev/random or /dev/urandom). libgcrypt calls the system PRNG "strong" and its own "very strong."
This patch attempts to make libgcrypt use the system PRNG instead of its internal one. I say attempts because there is no easy way to ensure libgcrypt behaves in a certain way.
(from redmine: created on 2015-06-25)