Bug 2310759
Summary: | sbvarsign writes broken signatures when built with gnu-efi 3.0.16-3.0.18 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daan De Meyer <daan.j.demeyer> |
Component: | sbsigntools | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | clumens, dominik, epel-packagers-sig, michel, nfrayer, pjones, rhughes |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sbsigntools-0.9.5-7.fc42 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-11-24 09:02:44 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daan De Meyer
2024-09-08 21:14:47 UTC
Bisected to 189200d0b0f6fff473d302880d9569f45d4d8c4d. If I revert that on top of the gnu-efi master branch I can't reproduce the issue anymore. The fix is to build sbsigntools with -fshort-wchar That commit exists in gnu-efi-3.0.16, too. I looked at the commit in gnu-efi and it looks correct. See also https://github.com/ncroxon/gnu-efi/commit/edfda7c396134c7109444b230ce4b0da1e61d524 . It looks like uint16_t should be used instead of wchar_t and -fshort-wchar. So the bug might actually be in sbsigntools. gnu-efi upstream also says the bug is in sbsigntools, so reassigning. Daan, can you try this? https://src.fedoraproject.org/rpms/sbsigntools/pull-request/2 FEDORA-2024-caed0c598b (sbsigntools-0.9.5-7.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-caed0c598b FEDORA-2024-caed0c598b (sbsigntools-0.9.5-7.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. |