-
Notifications
You must be signed in to change notification settings - Fork 130
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.8 for Isoo (20240323) #390
Comments
@dennis-tseng99 |
SBAT for grub2: sbat for grub is 3 (or) 4 ? |
The grub2 I used to use was https://git.launchpad.net/ubuntu/+source/grub2/tree/?h=import/2.06-14 This time it has updated to https://git.launchpad.net/ubuntu/+source/grub2/tree/?h=import/2.12-1ubuntu3 The 2.06-14 is 4 The 2.12-1ubuntu3 is 3 for the moment May I know if this make any difference? |
The current builds include the grub,3 fixes |
I am not an official reviewer, and haven't looked very deeply into the review yet, but here are couple of things:
Either way of those, you will need to rebuild shim |
@haobinnan Hi, I saw you only a patch file. That is good. Instead of using /* ... */ to avoid debug msg from perror(), may I suggest that you could make use of :
Just like other shim-15.8 functions ? e.g. shim_hash() BTW, generation number of grub is another question. |
@dennis-tseng99 |
@haobinnan how are you revoking older grub2 with NTFS CVEs? |
@haobinnan still need to know what you're doing with older grub2. |
I'm not using older grub2. I was using older grubs(https://git.launchpad.net/ubuntu/+source/grub2/tag/?h=import/2.06-14), but now in the shim here I'm using the latest grubs which is https://git.launchpad.net/ubuntu/+source/grub2/tag/?h=import/2.12-1ubuntu5 If import/2.12-1ubuntu5 does not comply with safety regulations, I can change it to import/2.06-14,as the previously reviewed shim(https://github.com/rhboot/shim-review/issues/338)used import/2.06-14 |
@dennis-tseng99 @steve-mcintyre |
@haobinnan the question is about the "current" grub in your release / distro that is in the market with the NTFS CVEs, how are you revoking those. Based on this: #246 you already had shim signed, and grub2 with NTFS modules signed as well, which means, you have grub2 out there in the market that has the NTFS CVEs and you need to make sure that your new SHIM "15.8" will revoke those binaries with the CVEs. The way I see it, you have one of the following options:
Also now Ubuntu includes grub.peimage in their sbat for grub, and since you are downstream from ubuntu, I think you need to retain this record as well in your sbat |
The current content of my grub2 sbat is as follows: If patches are added, will my grub2 sbat content meet the requirements? May I know if my shim can be accepted if I perfect these operations? |
@haobinnan the folks from ALT Linux do have a patch for shim to do that and that is okay with the reviewers And check https://github.com/canonical/shim-review/tree/ubuntu-shim-amd64+arm64-20240202 for their current sbat or the actual source code of the grub you are building |
@haobinnan Although grub2 is still controversial, let's check others.
Please let me list part of sbat codes for your reference:
=== Review for Isoo (20240228) #390 ===
What patches are being applied and why:
|
@dennis-tseng99 ignore-print.patch: shim-15.8-alt-Bump-grub-SBAT-revocation-to-4.patch: |
We are looking int the shim-15.8-alt-Bump-grub-SBAT-revocation-to-4.patch , there might be a better way to do this, we will get back to you as soon as we figure it out. In the mean time, we see you don't have the grub.peimage entry in your grub SBAT, I will request input from @julian-klode and / or @kukrimate to look at the submission as well |
@SherifNagy |
The following SBAT entry needs to be preserved:
This was added in 2.12~rc1-1 to be able to revoke the new loader component shared by Debian and Ubuntu in case of vulnerabilities. if grub binaries from the 2.12~rc1 or later, derived from Debian or Ubuntu, have been signed already as |
If you use a GRUB containing the peimage module, you need the peimage sbat entry in the GRUB. |
@haobinnan we will get to it in turn, we are volunteers and we are going through all the reviews, please be patient. |
May I know if the BUG tag can be removed? Would it be possible to review my shim? It's been a little long time. Thank you very much! |
Can the submission be reviewed |
@haobinnan other things look OK, but it's still not clear to me exactly what versions of GRUB2 you're using now and what you have shipped in the past. Could you please give us a list of the following data for all the signed versions of GRUB2 you have released:
This list should include any development versions that anybody might have been able to download (e.g. 2.12-based builds with peimage etc.). What do you expected your next planned signed GRUB2 build is going to look like? Apologies if this seems like a lot of work - we have to be thorough here. |
The GRUB2 version I'm using now is grub2.06: https://git.launchpad.net/ubuntu/+source/grub2/tag/?h=import/2.06-14 Here are the history of signed shims I've released, and I hope you can find what you want: For the next planned signed GRUB2 build, I might use grub2.12 Let me know if you need more informaiton please. May I know the suggested version of grub2 here? I can change to the suggested version so that the review process can be accepted as soon as possible. Thank you very much! |
Can the submission be reviewed |
Can the submission be reviewed |
Can the submission be reviewed |
Picking this up again - sorry for the delay, volunteer effort can take a while. Although we've accepted previous submissions, I don't think we've ever done a formal contact verification step yet. Let's fix that. I've just sent mails to both contacts. |
Every time you use Tcl, God kills a kitten. |
I suspect most samba developers are already technically insane... Of |
I'd like to see the random words too, not my .sig lines |
Content-Type: text/plain; charset=us-ascii Hi! Please quote the following words in to confirm your identity: tiredness beast stuffiest Townsend bushed wannest flatfoot lighten decontam= --=20 Content-Type: text/plain; charset=us-ascii Hi! Please quote the following words in to confirm your identity: phrenology sweat Bethany prognosticates Tarkington osmosis masculine Goldma= --=20 |
@steve-mcintyre |
Please don't pester - there's more work for me to do yet |
Review of shim-15.8 for Isoo (20240323)OK
Issues / queriesI can't find enough information about your GRUB packages to be In version In submission version We can't see your GRUB sources to take a look directly here, hence I'm In the common Linux distribution model, the distribution will build From conversation so far, I get the impression that this is very Basically, I'm trying to get a sense of exactly what GRUB binaries you |
Issue: Response: Issue: Response: GRUB2 version: 2.06-2ubuntu14.4 Issue: Response: ,,,,,,,,,,,,,,,,,,,, I understand that this has added to your workload, and I deeply apologize for any inconvenience this has caused. |
Thanks for clarifying! To make things easier in future, it would be helpful if you could share more details about what you're doing in a few places. Giving your GRUB builds distinct versions (e.g.
Finally: as you go forwards to grub 2.12, be sure to pick up the |
For now, I think we've had enough review on this submission. Accepted. |
Thank you for helping me pass the review. I'll be sure to pay more attention to details in the future to facilitate the review process for reviewers. Thanks again! |
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/haobinnan/shim-review/tree/isoo-shim-20240323
What is the SHA256 hash of your final SHIM binary?
shimia32.efi.sha256sum: a0241fc871a04202815b54a54fefb7943b1e284ded07e8327d85a1948ba50c79
shimx64.efi.sha256sum: fadcacd698dd6d6828e576228e3be6e0845c0f80b1de0a961c6fdbf6a1a63ec4
What is the link to your previous shim review request (if any, otherwise N/A)?
#338
The text was updated successfully, but these errors were encountered: