-
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
oracle-shim-15-2.0.3.el8-x86_64 #69
Comments
Is there any ETA for this review? |
Sorry, I will start building a system with Oracle Linux to reproduce the build. |
It's over three months now. |
I have no interest in creating yet one more account somewhere to download an ISO. Is there any other way we can reproduce the build? Using Docker perhaps? |
Yes, OL8 images are available on docker hub. |
It's four months since I've filed this review request and the shim still was not reviewed. I've updated this request with the new shim version for OL8. This process is clearly dysfunctional. |
So, how do I go about reproducing this build? I'm not very familiar with RPM-based distros. Any steps you can take to make this easier is obviously going to help having things reviewed faster. Could you please provide a Dockerfile like other distros have done that wraps around the right calls to mimick what you do to build your shim on your infrastructure? |
You can use the following Dockerfile: FROM oraclelinux:8 RUN dnf -y update |
It's five months since this review request was submitted without any progress. |
The binaries built are vastly different, in .text sections and elsewhere. Are you sure the provided rules, and the available build environment for an oraclelinux:8 container are indeed what was used to build the binary? I've used the Dockerfile you provided, supplemented it with additional command to validate the files:
I can't continue; we need to find out where the build environment (or the build process in general) differs to generate such different binaries. |
We had to update our build system to satisfy this new requirement of the build being reproduced in Docker container and the new shim binary is available here: https://github.com/AlexeyPetrenkoOracle/shim-review/releases/tag/oracle-shim-15-2.0.3.el8-x86_64-20191112 |
Hi. Any updates or ETA? |
Hi @AlexeyPetrenkoOracle , |
This request is open for eight (!) months already. And we already made a bunch of adjustments and provided a bunch of additional information. We have provided a fully reproducible build over two months ago. And there is still no review from maintainers. There is no surprise that during these two months we've released a number of package updates and this build is not reproducible anymore on the latest version. Sure, we'll update the docker file with the specific version to reproduce this build. But this process is completely dysfunctional. It doesn't make any sense to review security-critical components for over eight months. |
yes, it's problematic, as discussed in #84 |
Hi. Thanks. |
I can confirm that the shim binaries result from shim-15 sources plus A note on your review request: For the questions
please list the patches you applied. Not relevant for me, since I only verify that the binary in fact results from the official sources + a (hopefully small) collection of patches, but it might be relevant for Microsoft when deciding if they'll sign your shim |
@cyphermox , reviewers - is there anything else needed on this review request from our side to get "accepted" label? |
Hi, I'm not a shim-reviewer. When I compare el7 #74 submission with this el8 submission, I see that this one drops a patch included in the el7 submission. This el8 submission, however has the bugfix for the relative paths. It kind of means that el7 has ARM discardable sections bugfix, and el8 has relative path bugfix. But neither have both. Diff of the patched el7 tree vs patched el8 tree
Is the above intentional? |
@xnox thanks for your comment! ol7 shim review request was submitted after ol8 one, thus it is expected ol7 submission have more fixes comparing to ol8. |
This request seems to have been superseded by a private review in keybase during the boothole review process. If you still need a newer shim signed, please submit a new issue with the new templates. This should include a Dockerfile that can build your shim binaries so that review does not require manual effort for the building part, see (this is a semi-automatic message copied to multiple bugs). |
Make sure you have provided the following information:
What organization or people are asking to have this signed:
Oracle Corporation
What product or service is this for:
Oracle Linux
https://www.oracle.com/linux/index.html
What is the origin and full version number of your shim?
We used upstream shim version 15
https://github.com/rhboot/shim/releases/tag/15
What's the justification that this really does need to be signed for the whole world to be able to boot it:
Oracle Linux is a popular enterprise Linux distribution with Secure Boot support.
How do you manage and protect the keys used in your SHIM?
The key is installed in the server with restricted physical and system access
Do you use EV certificates as embedded certificates in the SHIM?
Yes
What is the origin and full version number of your bootloader (GRUB or other)?
grub2 - upstream plus number of patches from RedHat and Oracle
If your SHIM launches any other components, please provide further details on what is launched
[your text here]
How do the launched components prevent execution of unauthenticated code?
grub verifies signatures on booted kernels
Does your SHIM load any loaders that support loading unsigned kernels (e.g. GRUB)?
No
What kernel are you using? Which patches does it includes to enforce Secure Boot?
4.18 based kernel with lockdown patches
What changes were made since your SHIM was last signed?
This is the first shim build for Oracle Linux 8
What is the hash of your final SHIM binary?
a9aa90daa9da19332910442b739fa6f2ab6564f0afdfc2eedc167ce219d59f98 shimia32.efi
affdd0fe76153b0623e0cd7e044997f073b7232754cf808a068fd245762b3714 shimx64.efi
Public certificate:
-----B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/tag/oracle-shim-15-2.0.3.el8-x86_64-20191112
The text was updated successfully, but these errors were encountered: