ocochard / BSDRP

BSD Router Project
https://bsdrp.net
Other
177 stars 38 forks source link

Restore the functionality of the early entropy seed file #46

Closed jlduran closed 1 day ago

jlduran commented 3 days ago

After https://github.com/freebsd/freebsd-src/commit/e5579f98c02ff64b0c305f6731c3557ba69c2d25, the patch: https://github.com/ocochard/BSDRP/blob/e2c611657408935b391efa2226bd0ab768135d89/BSDRP/patches/freebsd.random.patch#L10 will not work because the NanoBSD script now sets entropy_boot_file="NO". To maintain the current behavior, the following parameters would need to be explicitly set:

In order to take advantage of that entropy boot file, kern.random.initial_seeding.bypass_before_seeding should be set to 0, but this is outside the scope of this issue.

Reference: random(4)

ocochard commented 1 day ago

Thank you so much for taking the time to update FreeBSD’s NanoBSD and for communicating with downstream projects. This is greatly appreciated!"

jlduran commented 1 day ago

Happy to help!