Add secureboot support
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, linux, shell
- Área
- build-system, security
Línea de trabajo
Start by reading the sysupdate mkosi.conf and the OS project's GitHub Actions setup, then review how just mkosi genkey creates the key and certificate. The issue also calls for storing the private key in Bitwarden and GitHub secrets and making the certificate accessible. Done means Secure Boot is enabled, the key is enrolled on first boot, and the resulting boot binary's signature can be verified.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I got a PoC working (on qemu's edk2-2024 secure-code, my laptop doesn't support sboot super well)
🦸 root@virt:/home/virt# sudo sbverify --cert /usr/lib/verity.d/mkosi.crt /boot/EFI/systemd/systemd-bootx64.efi
> Signature verification OK
For this to work, we have to use a permanent mkosi.key (in github actions)
You can use the following command in the OS project repo root:
just mkosi genkey --genkey-common-name="name of the owner (elementary)" --genkey-valid-days="whatever you think is sane"
Then upload the .key to the project's bitwarden and to GH secret
And put the .crt somewhere accessible so it can be compared by users.
Then in mkosi itself, we just have to set SecureBoot=true in the mkosi.conf of sysupdate.
Key auto-enroll on first-boot.
@lewisgoddard @danirabbit if one you have the time, could you please add the mkosi.key to the GH secrets? Thank you <3
- Lenguaje dominante
- Shell
- Estrellas
- 1.2k
- Forks
- 147
- Merge medio
- 23 h 36 min
- PR fusionados (30 d)
- 21
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de elementary/os
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
elementary/os#916 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Priority: Wishlist
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
elementary/os#908 ·
Los mantenedores suelen responder en 1 día
-
Preserve flatpak repo cache across (local user) build reruns to speed them upPosiblemente ocupada @vjr la tomó hace 33 días. Abierto
elementary/os#895 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
elementary/os#890 ·
Los mantenedores suelen responder en 1 día
-
Simplify version string?Posiblemente ocupada @danirabbit la tomó hace 35 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
elementary/os#885 · 6 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de elementary/os
Issues similares
-
Broken link to Authors' GuideAbiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
chapel-lang/chapel-vscode#144 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
tsukumogami/tsuku#2804 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
obra/superpowers#2651 ·
Los mantenedores suelen responder en 1 día