rpi-fw-crypto: can the dependency on GnuTLS be optional instead?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- c
- Área
- embedded-iot
Línea de trabajo
Read the rpi-fw-crypto implementation, especially the sign command's hash_file() and the hmac command used by the initramfs; the issue names no source files or tests. Check how the binary links to GnuTLS and whether that dependency can be made optional for hmac. Done means hmac works without GnuTLS while sign retains its required hashing behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi,
The initramfs that rpi-image-gen builds with the rpi-idp-luks2 layer runs rpi-fw-crypto hmac to unlock LUKS2. Because rpi-fw-crypto links against GnuTLS, the initramfs also has to carry GnuTLS and its dependencies: 2.28 MB at zstd -19, close to 25% of my small initramfs test. GnuTLS is only used by sign (in hash_file()), but the binary won’t load without it, even for hmac.
I saw that #203 was closed because GnuTLS is used elsewhere in RPi OS. In my initramfs, though, rpi-fw-crypto appears to be its only user, in this particular configuration I am testing.
The use case I’m considering is reducing churn in the generated boot.img, which affects OTA transfer size where those matters. I suppose the counterargument is that I could simply pin the package versions instead of always pulling the latest via apt.
- Lenguaje dominante
- C
- Estrellas
- 351
- Forks
- 103
- Merge medio
- 1 d 18 min
- PR fusionados (30 d)
- 4
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 raspberrypi/utils
-
Compiler error (gcc-16.1.1) about vcgencmd with strncatPosiblemente ocupada @popcornmix la tomó hace 33 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
raspberrypi/utils#197 · 1 comentario ·
-
piolib: add Pico SDK 2 PIO APIAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
raspberrypi/utils#159 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
raspberrypi/utils#133 · 1 comentario ·
-
irq support documentationAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
raspberrypi/utils#131 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
raspberrypi/utils#124 · 1 comentario · 1 reacción ·
Todos los issues de raspberrypi/utils
Issues similares
-
Linux: out-of-bounds `keyMap` read when a keyboard with an `EV_ABS` axis is opened as a joystickAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
JustAResearcher/gpu-unlock-ada#136 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
esnet/iperf#2101 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
Preserve final logical line at EOF in db2ldif_read_ldif_line()Posiblemente ocupada @ccsimplyspolit la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
389ds/389-ds-base#8088 ·
Los mantenedores suelen responder en 2 días
-
ai-driven-fuzzing bug Minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
linagora/open-bastion#431 ·
Los mantenedores suelen responder en 1 día