CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#1795 - Add entropy-server to core

Attached to Project: CRUX
Opened by Steffen Nurpmeso (steffen) - Tuesday, 10 March 2020, 20:32 GMT
Last edited by Predrag Ivanovic (pedja) - Thursday, 15 October 2020, 13:36 GMT
Task Type Feature Request
Category ports → core/opt
Status Closed
Assigned To No-one
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.5
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

CRUX tries to seed the Linux PRNG system in their rc scripts via "/bin/cat /var/lib/urandom/seed > /dev/urandom".
This does not hurt but also does not do anything to seed the PRNG.

Linux 5.4 i think it is which brings in some in-kernel loop to provide some seeding, the port stenur/entropy-saver does so for all kernels, and does not hurt in the same way as above thing does. The C source is 8606 bytes.

In /etc/rc it needs
[ -x /sbin/entropy-saver ] && /sbin/entropy-saver load /var/lib/urandom/entropy

and in /etc/rc.shutdown
[ -x /sbin/entropy-saver ] && /sbin/entropy-saver save /var/lib/urandom/entropy

It can be placed right beside the urandom seeders.
This task depends upon

Closed by  Predrag Ivanovic (pedja)
Thursday, 15 October 2020, 13:36 GMT
Reason for closing:  Deferred

Loading...