Page MenuHomeFreeBSD

Fix alligment issue in uefisign.
ClosedPublic

Authored by kd on Dec 14 2018, 2:34 PM.
Tags
None
Referenced Files
F133165971: D18554.diff
Thu, Oct 23, 2:12 PM
Unknown Object (File)
Sun, Oct 19, 11:25 PM
Unknown Object (File)
Wed, Oct 15, 2:39 AM
Unknown Object (File)
Thu, Oct 9, 4:08 PM
Unknown Object (File)
Sun, Sep 28, 12:02 AM
Unknown Object (File)
Sep 22 2025, 9:22 AM
Unknown Object (File)
Sep 17 2025, 6:23 PM
Unknown Object (File)
Sep 12 2025, 9:51 AM
Subscribers

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

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

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.