-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shim 15.7 for Navix 8 #346
Comments
Nice to see a RHEL-based distro! There are some errors in the current application, but I'll try my best to help. First, not every checkbox is checked in the issue. It's supposed to be a confirmation akin to "yes, I've checked if I have these or not and if I do have them, I included them". Please, edit this issue and check these. I haven't checked the shim binary checksums and reproducibility, since the
The final
So if the sources are identical, I suppose you made no changes to the source RPM.
According to it, the "lockdown: also lock down previous kgdb use" patch should not be required. So am I right, that you implemented it just for safety? Your Dockerfile has these entries:
This is fine, but since that Rocky Linux image has their DNF repos set up, so packages will be continuously updated, once Rocky 8.9 comes out, it might break build reproducibility. One workaround is to hardcode references to repos from an older release, e.g. 8.7. If you want, you can base yours on mine, though keep in mind to adapt it to version 8 rather than 9. If you need help with porting or verifying some of these, or would like me to explain something more in-depth, feel free to ask. |
@aronowski
Got it. I understanded those questions as "check the boxes if your shim submission has those features".
When i compiled the shim on local/Dockerfile, binary checksum always returned same value so I thought there were no issues.
Ok, we will update grub's SBAT section.
We will check this issue again and update our answer accordingly.
We used Rocky because we can't release our os right now. Thanks for your suggestion. We will fix the base image. |
That's OK. The distros from the Enterprise Linux family shall be binary-compatible with each other, so you can stay with Rocky. I'm just worried about updates to the software stack they provide, that can result in outputting a different binary some time in the future. An idea of mitigating this is to use an older minor release that no longer gets updates - back then I was not aware of this happening and fixed my Dockerfile overnight as soon as possible. I'm also aware that an application can be reviewed quickly so it's not that big of an issue for a reviewer at the time of reviewing, but can't speak for other entities that may want to reproduce a build in late future, after an application has been accepted and a signed shim has been in production use for a long time. |
We updated our repository and fixed issues mentioned by aronowski. https://github.com/NaverCloudPlatform/shim-review/tree/navix-shim-x86_64-20231025 |
Thanks for the update! Things look generally fine and I'll send you verification emails soon. However, the thing that bothers me is the fact that simply changing the image name to I'll leave the bug label for now until this is resolved - if I was to remove it now, someone would soon report that the build does not reproduce and I'd have to add it again. If you need help with enforcing the long-term stability of the buildroot, feel free to ask here. |
Verification emails sent. |
Now I understand what you said. We edited our Dockerfile to reference only Rocky 8.6 vault repository so the build can be reproducible as time passes. https://github.com/NaverCloudPlatform/shim-review/tree/navix-shim-x86_64-20231026 And here is our verification words. JunYeong Lee
Hwaseop Keum
|
The words match the ones I sent - contacts have been verified!
Oh... :-( The binaries are reproducible. The solution with using the The review looks alright at the first glance! |
While I am not an official reviewer, here are my comments "looking at latest tag: https://github.com/NaverCloudPlatform/shim-review/tree/navix-shim-x86_64-20231026 ":
Now, For fwupd-efi SBAT entry, I had same comment on #339 and I got two answers regarding preserving upstream / RHEL SBAT entry:
So I guess we can leave this up to the distros? still need confirmation about this. Regarding NX, MSFT just released a exception for NX support https://techcommunity.microsoft.com/t5/hardware-dev-center/nx-exception-for-shim-community/ba-p/3976522#M147 which means, I don't think they will sign a SHIM that has NX flag enabled while the rest of the stack isn't "that's just my guess, could be totally wrong" but you may disable the NX comparability flag and submit for signing availing this exception, also need someone else to confirm this I think we need one more official reviewer to look at this submission, other than this, best of luck with the submission :) |
Do I have to update shim to 15.8 and resubmit the issue with updated shim-review template? |
I myself don't mind either updating this issue or opening a new one. If you open a new one, you can link to this one regarding contact verification and ask me to re-review the parts that changed. |
I see that a new submission for 15.8 was created, closing. |
Confirm the following are included in your repo, checking each box:
What is the link to your tag in a repo cloned from rhboot/shim-review?
https://github.com/NaverCloudPlatform/shim-review/tree/navix-shim-x86_64-20231026
What is the SHA256 hash of your final SHIM binary?
What is the link to your previous shim review request (if any, otherwise N/A)?
N/A. This is our first shim submission.
The text was updated successfully, but these errors were encountered: