On Mon, May 25, 2020 at 04:24:41PM +0200, Oswald Buddenhagen wrote:
> why not do something proper and use getentropy() instead?

It's been previously suggested on here that a mail client shouldn't
consume entropy from the system each time it starts, because other
more important processes may want it.

On Intel processors the TSC register is a good source of random
seeds (and I believe it's what the GNU mkstemp uses).  But coding
processor-dependent stuff such as that might be considered messy.
(For something *really* messy but not too system-dependent, call mkstemp
and use the filename it generated as your seed.)

imc

Reply via email to