-
Notifications
You must be signed in to change notification settings - Fork 13
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
Secure boot to kernel #474
base: master
Are you sure you want to change the base?
Conversation
Integrate secureboot key generation into setup-ovmf.Secure boot keygen depends on openssl, efitools and sed - none of which are available on windows. We should integrate it all into the gen-secureboot-keys tool. Lines 88 to 98 in 9cec331
This comment was generated by todo based on a
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -149,10 +149,11 @@ pub extern "C" fn do_bootstrap(multiboot_info_addr: usize) -> ! { | |||
|
|||
// Move the multiboot_header to a single page in kernel space. This simplifies some |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well then it's not a single page, innit ?
Allows doing some initialization based on the pid before starting a process. For instance, a future commit will allow setting up the stdin/out/err pipes before starting the process.
Twili, also known as the pipe manager (which is not pm), allows passing stdin/stdout/stderr pipes to various sub-process. It is also responsible for passing data around in the "dumb" pipes (basically unix pipes). It has a generic interface, IPipe, that is implemented by those dumb pipes, but also by vi Terminals and, eventually, fs Files.
When booting from UEFI, multiboot infos are a lot bigger for whatever reason. They're so much bigger, they span multiple pages! As such, bootstrap now accepts multiple pages for the multiboot. The kernel already allows multi-page multiboot infos (it tells the frame allocator to reserve the whole multiboot info region).
When disk initializer sees two conflicting files, it will now chose the earliest file instead of panicking.
We should strive to keep the source directory clean, and only copy stuff in the target/ directory. It keeps the gitignore simpler, and simplifies a bunch of other things. So now we copy the binaries to target/isofiles/boot instead.
Only run it on linux for now.
Automatically creates a secure boot image that starts at the flash firmware (OVMF) and verifies the bootloader, which in turn verifies the bootstrap, kernel and KIPs.
Long term, we'll replace GRUB (and PGP) with our own bootloader (See #468) but in the meantime, this gets us some very good security memes.