Bug#898088: arc4random_buf() may block for a long time

2018-05-18 Thread Ben Caradoc-Davies
This also affects xfce4-session: Bug#899080: xfce4-session hangs in getrandom if crng not ready https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899080 Kind regards, -- Ben Caradoc-Davies Director Transient Software Limited New Zealand

Bug#898088: arc4random_buf() may block for a long time

2018-05-08 Thread Ben Hutchings
On Tue, 2018-05-08 at 15:43 +0200, Guillem Jover wrote: > Hi! > > On Mon, 2018-05-07 at 01:04:26 +0100, Ben Hutchings wrote: > > Source: libbsd > > Version: 0.8.7-1 > > Severity: serious > > Tags: upstream > > The manual page for arc4random_buf() says "High quality 32-bit > > pseudo-random

Bug#898088: arc4random_buf() may block for a long time

2018-05-08 Thread Guillem Jover
Hi! On Mon, 2018-05-07 at 01:04:26 +0100, Ben Hutchings wrote: > Source: libbsd > Version: 0.8.7-1 > Severity: serious > Tags: upstream > The manual page for arc4random_buf() says "High quality 32-bit > pseudo-random numbers are generated very quickly." This promise is > false, and it can never

Bug#898088: arc4random_buf() may block for a long time

2018-05-06 Thread Ben Hutchings
On Mon, 2018-05-07 at 01:04 +0100, Ben Hutchings wrote: [...] > But the fix for this means that getrandom() and arc4random_buf() may > block until a minute or even longer after boot. Since > gnome-session-binary calls arc4random_buf() via > IceGenerateMagicCookie(), fixing the kernel causes a

Bug#898088: arc4random_buf() may block for a long time

2018-05-06 Thread Ben Hutchings
Source: libbsd Version: 0.8.7-1 Severity: serious Tags: upstream The manual page for arc4random_buf() says "High quality 32-bit pseudo-random numbers are generated very quickly." This promise is false, and it can never be true in general! On recent Linux kernel versions arc4random_buf() uses