[Pkg-mutt-maintainers] Bug#833593: Bug#833593: mutt: whines about getrandom on old kernels
Faidon Liambotis
paravoid at debian.org
Mon Aug 8 12:17:52 UTC 2016
tags 833593 + pending fixed-upstream
thanks
Hi Adam,
On Sat, Aug 06, 2016 at 06:59:04PM +0200, Adam Borowski wrote:
> New versions of mutt will try to use getrandom() before reading /dev/urandom.
> I see three issues:
> * no need to #ifdef __linux__, solaris has getrandom() too
> * it'd be nice to use getentropy() on [k]freebsd
> * on older kernels supported by stretch (3.2..3.16) mutt complains that this
> function is not implemented. This warning will scare users, and it's not
> that rare to use new userspace on old kernels: vserver/openvz/lxc hosting,
> ARMs with vendor kernels, etc. The fallback is fully secure: if
> /dev/urandom cannot be read, mutt quits instead of using bad randomness.
Thanks for your detailed bug report and patch. Since getrandom() comes
from NeoMutt, I forwarded your patch to them and it was promptly merged:
https://github.com/neomutt/neomutt/commit/5831e487cc45efa8e43892bf051f7f13161ae03a
I've also committed the fix to our (Debian's) git repo for the 1.6.1-2
upload in the meantime.
Thanks,
Faidon
More information about the Pkg-mutt-maintainers
mailing list