[Feature] Integrity verification
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- documentation
Línea de trabajo
Empieza leyendo la especificación actual del formato AppImage y los issues enlazados de AppImageSpec #29 y #34. Compara los enfoques propuestos de MD5, tamaño de archivo y CRC, y establece después qué mecanismo de integridad debería adoptar la especificación y cómo se verificará la finalización.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
AppImages are files which can get really big in size, and download errors can occur with such sizes
I propose to add some way to (at least try to) verify it's integrity at launch
Why ?
As of now, a partially downloaded AppImage will fail to launch with
Something went wrong trying to read the squashfs image.
Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory
It is maybe harmless in this case, but I think it could potentially cause problems if the partially downloaded AppImage seems like a legit squashfs image. (This is only a theory, I do not have any proof this can happen)
Implementation propositions :
- Use https://github.com/AppImage/AppImageSpec/issues/29 and verify the md5sum of the AppImage on launch.
Cons : as pointed there, that would be costly. Plus, I'm not sure if this section is actually going to be in the specification - Store the file size in bytes in an ELF section, maybe
.appimage_size, and verify the size of the executed file is the same
Cons : some programs might zerofill the file and fill bytes as their download them - Store a CRC checksum in an ELF section, maybe
.crc_checksum, and verify it. I think that's the best option, because CRC is an algorithm made for file integrity (as opposed to a simple file size verification), and is more lightweight than MD5
I think this feature should be looked at before https://github.com/AppImage/AppImageSpec/issues/34 (because well, it would modify the spec)
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 94
- Forks
- 30
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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 AppImage/AppImageSpec
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
AppImage/AppImageSpec#60 · 7 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
AppImage/AppImageSpec#59 · 15 comentarios · 2 reacciones ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
AppImage/AppImageSpec#48 · 2 comentarios ·
-
help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
AppImage/AppImageSpec#44 · 10 comentarios · 1 reacción ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
AppImage/AppImageSpec#40 · 1 comentario ·
Todos los issues de AppImage/AppImageSpec
Issues similares
-
IzzyOnDroid inclusionAbiertoF-Droid FOSS question
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
d4rken-org/butler#365 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
ShaftHQ/chaosengine-harness#423 ·
Los mantenedores suelen responder en 1 día
-
[External Plugin]: zooopAbiertoexternal-plugin ready-for-review
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/awesome-copilot#6655 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
X11Libre/xserver#4255 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
nightly-cleanup
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
max-sixty/worktrunk#4939 · 1 reacción ·
Los mantenedores suelen responder en 1 día