Replies: 2 comments 3 replies
-
Hi @sebkur, one tool that actually checks the checksum is AppImageUpdate. If your new tool is publicly available, let us know its URL so that we can link to it. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@probonopd it took a while, but now I published my work here: https://github.com/mobanisto/appimage4j I called it appimage4j, seemed like a reasonable name. It is a library for other projects to use and also provides a little command line utility. It can currently create AppImage packages from a properly prepared AppImage directory by creating a squashfs filesystem image and prepending the AppImage runtime. It can also do the reverse and unpack AppImage images. Then I also implemented a tool that dumps some information about the app image and the contained squashfs filesystem. Will be fun to create an AppImage out of the CLI tool itself, will do that soon. Btw. my main motivation for doing all this is to include this into https://github.com/mobanisto/pinpit-gradle-plugin in order to allow Pinpit to produce AppImage binaries directly. The whole endeavour took me a while because I first had to find and modernize an existing squashfs implementation for the JVM. Found this as a nice starting point and after a little bit of work, got it working to my needs for AppImages: https://github.com/topobyte/squashfs-tools |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I'm in the process of rewriting
AppImageKit
for the JVM, and it's been straightforward and relatively easy so far. Got it actually working already and can successfully run the app images I built with my rewritten toolchain.I have a question however. It concerns this section of appimagetool.c:
It seems to me that it locates the
.digest_md5
section of the embedded excecutable and recalculates and overwrites the checksum embedded there. While it seems generally sensible to have that checksum updated properly, I do not understand: where is this checksum actually used? My new toolchain doesn't yet implement this update mechanism and the resulting app images seem to run just fine. So it seems to me that the executable itself doesn't check its own checksum in the process of being executed? Is it up to the OS to check this in theory? Are there any known tools, that check this?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions