AppImage / AppImage/AppImageKit

[Enhancement] Add MD5 or SHA256 or SHA512 checksum/hash to AppImageKit releases

Open
#595 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
9.4k
Forks
588
PR merge metrics
PR metrics pending

Description

#### TL;DR: supply checksum / hashes alongside the download links for binaries
----

It's not the first time that developers of this project claim a user reporting issues didn't use the latest versions of AppImageKit tools when the issue reporter in question in fact had just downloaded or updated the respective tools, or vice versa -- the developer had himself not checked with the latest version at hand.

[Example 1:](https://github.com/AppImage/AppImageKit/issues/593#issuecomment-352807990) *" I have tested it with the latest continuous build, which I downloaded with AppImageUpdate as well. **Your build is just not the one I have**."*

[Example 2:](https://github.com/AppImage/AppImageKit/issues/545#issuecomment-346704727) *"[...] double-check if you was testing the right version?"*

It's also not the first time when I suspect that sometimes, somehow downloads from the Github release page may not deliver what they claim they do, or may even lead to subtly corrupted downloads. I've no idea how they use external content delivery networks (Akamai, Amazon, Cloudflare & Co.), and how caching, binary deltas and other techniques may interfere and make things "work" in unexpected ways...

Also, using the CLI parameter *`--appimage-version`* is not the best way to compare binaries, because:

1. It gives the version of the AppImageKit used to build the tool, not the version of the tool itself.
1. In some cases it still returns a relatively meaningless generic string like '`continuous`* (examples: recent versions of [appimagetool-x86_64.AppImage](https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage).

The (optional) version string used in an original filename may have been removed when re-naming the file manually, or by some automatic mechanism when updating the tool.

Any of the MD5/SHA256/SHA512 hashes would give a better way to resolve ambiguities about different versions in circulations amongst users and developers then the current *`--appimage-version`* method. It would additionally provide a means to verify downloads and uncover corrupted ones if there is a doubt.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.