hplip needs /dev/random.... ?

Daniel J Walsh dwalsh at redhat.com
Mon Jun 19 14:09:55 UTC 2006


Tim Waugh wrote:
> On Sun, 2006-06-18 at 11:13 -0700, Tom London wrote:
>   
>> Printing seemed to work regardless.
>>
>> /usr/share/hplip/base/slp.py appears to import random and call
>> 'random.randint()'
>>     
>
> Doesn't seem to require a cryptographically random number here.  In
> fact, I'm not even sure it needs to be a freshly-random number each
> time; perhaps '1' is sufficient.  It's just for a transaction ID which
> is never checked as far as I can tell.
>
> Should I patch hplip to use '1' here instead of random.randint() do you
> think?
>
>   
If it is not needed, I would guess yes.
> Tim.
> */
>
>   
> ------------------------------------------------------------------------
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list




More information about the fedora-selinux-list mailing list