[Feature] Integrity verification
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
- Type d'issue
- Fonctionnalité
- Clarté
- À clarifier
- Activité
- À l'abandon
- Domaine
- documentation
Piste de recherche
Commencez par lire la spécification actuelle du format AppImage ainsi que les issues AppImageSpec liées, #29 et #34. Comparez les approches proposées avec MD5, la taille de fichier et CRC, puis déterminez quel mécanisme d’intégrité la spécification devrait adopter et comment l’achèvement sera vérifié.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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)
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 94
- Forks
- 30
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de AppImage/AppImageSpec
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
AppImage/AppImageSpec#60 · 7 commentaires ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
AppImage/AppImageSpec#59 · 15 commentaires · 2 réactions ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
AppImage/AppImageSpec#48 · 2 commentaires ·
-
help wanted
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
AppImage/AppImageSpec#44 · 10 commentaires · 1 réaction ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
AppImage/AppImageSpec#40 · 1 commentaire ·
Toutes les issues de AppImage/AppImageSpec
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
MPCoreDeveloper/SharpCoreDB#531 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
IzzyOnDroid inclusionOuverteF-Droid FOSS question
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
d4rken-org/butler#365 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 94/100
githubnext/gh-aw-workshop#6293 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
ShaftHQ/chaosengine-harness#423 ·
Les mainteneurs répondent en général sous 1 jour
-
[External Plugin]: zooopOuverteexternal-plugin ready-for-review
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
github/awesome-copilot#6655 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour