Skip to content
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

SBAT section handling incorrect? #5

Open
hallyn opened this issue Jul 14, 2021 · 2 comments
Open

SBAT section handling incorrect? #5

hallyn opened this issue Jul 14, 2021 · 2 comments

Comments

@hallyn
Copy link
Contributor

hallyn commented Jul 14, 2021

Hi,

in rhboot/shim-review#182 (comment) it's mentioned that stubby's SBAT handling is "likely incorrect". This issue is to track either (a) verification that it is correct or (b) fixing it.

The only reference I'm aware of with respect to SBAT is https://github.com/rhboot/shim/blob/main/SBAT.md . Is there any other?

@pcmoore
Copy link
Contributor

pcmoore commented Jul 14, 2021

There are two things relating to SBAT handling that should be verified/addressed:

  • The proper creation of the SBAT section. This was the origin of the "likely incorrect" comment mentioned above and the linked comment provides some thoughts and examples on how to potentially resolve this issue.
  • What to use for stubby's SBAT value.

The SBAT value is going to need to be a combination of the stubby and the bundled Linux Kernel. The base stubby value should be something like this:

sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
stubby.puzzleos,1,PuzzleOS,stubby,2.0.0,https://github.com/puzzleos/stubby

... with the Linux Kernel CSV entry appended to the end.

@hallyn
Copy link
Contributor Author

hallyn commented Jul 14, 2021

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants