Page MenuHomeFreeBSD

Re-add sbsigntool for SecureBoot systems that was removed in r501106.
Needs ReviewPublic

Authored by obrien on Jan 14 2021, 3:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 8:29 AM
Unknown Object (File)
Tue, Dec 3, 10:14 AM
Unknown Object (File)
Oct 4 2024, 6:38 AM
Unknown Object (File)
Oct 3 2024, 6:18 AM
Unknown Object (File)
Sep 18 2024, 7:41 PM
Unknown Object (File)
Sep 8 2024, 5:23 AM
Unknown Object (File)
Sep 5 2024, 5:20 PM
Unknown Object (File)
Sep 5 2024, 3:17 AM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Re-add sbsigntool for SecureBoot systems that was removed in r501106.

All that was needed to compile on FreeBSD 11 was to add in a
BUILD_DEPEND for bfd.h from devel/libbfd.

For FreeBSD 12 this needed a move to the OpenSSL 1.1 API's.
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git/commit/?id=79d0c44afbc7da0adefe1250a17a49e6eb90c9bd
was used as a crib sheet. I'm not adding in shims or ifdefs so that
this still builds for FreeBSD 11 (unless there is later demand for it).

Test Plan

Installed on FreeBSD 12.2 and validated against Juniper Network's SecureBoot loader.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 36187
Build 33076: arc lint + arc unit