Page MenuHomeFreeBSD

Fix alligment issue in uefisign.
ClosedPublic

Authored by mindal_semihalf.com on Dec 14 2018, 2:34 PM.

Details

Summary

The pe_certificate structure has to be aligned to 8 bytes(source)
Since this is now checked in edk2, any binaries signed with older version of this tool will fail verification.

Test Plan

Test it using qemu with OVMF as firmware.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

trasz accepted this revision.Dec 17 2018, 3:56 PM

Assuming you've tested it and it it's good, then it's good, thank you :-)

This revision is now accepted and ready to land.Dec 17 2018, 3:56 PM
This revision was automatically updated to reflect the committed changes.