ISO Signature Verifier

Check if a downloaded ISO file is really the original file, and not changed by someone else - in just a few clicks.

Main picker window with an ISO file already picked

What is this?

When you download a Linux ISO (for example MX Linux, antiX, or Debian), the makers also publish a small signed file next to it. This signed file proves the ISO is genuine and was not changed on the way.

Checking this normally means knowing your way around GnuPG - its commands, its keys, and how they fit together. ISO Signature Verifier does this check for you, with one simple window. No command line needed - but a command-line mode is there too, for scripts.

Main features

Examples

Different distros publish their signature/checksum files a bit differently - below is a table of the file pairings this tool supports, using real filenames from well-known distros. Whichever one of these files you pick, the tool finds the other one(s) by itself, as long as they're in the same folder.

You downloaded... ...next to What it is
MX-25.2_July_x64.iso MX-25.2_July_x64.iso.sig A direct signature - it signs the ISO itself. This is how MX Linux/antiX traditionally publishes, together with an accompanying plain .sha256/.sha512 (not needed once you have the .sig - see the FAQ below).
MX-25.2_August_x64.iso MX-25.2_August_x64.iso.sha512.asc An alternative self-contained per-ISO checksum - one file carries both the hash and its own signature, no separate .sig or .sha512 needed.
debian-live-13.6.0-amd64-cinnamon.iso SHA256SUMS and SHA256SUMS.sign A checksum listing - the ISO's hash is one line in SHA256SUMS, which is itself signed by SHA256SUMS.sign.
ubuntucinnamon-26.04-desktop-amd64.iso SHA256SUMS and SHA256SUMS.gpg Same idea, different extension - some distros sign the listing with a .gpg file instead of .sign.
lmde-7-cinnamon-64bit.iso sha256sum.txt and sha256sum.txt.gpg Same idea again, different filename - the listing doesn't have to be called SHA256SUMS either.
Fedora-KDE-Desktop-Live-44-1.7.x86_64.iso Fedora-KDE-44-1.7-x86_64-CHECKSUM An inline-signed checksum listing - the whole file carries its own signature, no separate .sig needed.
openSUSE-Tumbleweed-DVD-x86_64-Snapshot20260806-Media.iso <same-name>.sha256 and <same-name>.sha256.asc A per-ISO checksum - a small file with just this ISO's hash, signed separately.

Both direct ISO signing (.sig) and self-contained checksum signing (.sha512.asc) get their own icon and type in your file manager too:

MX-25.2_July_x64.iso.sig shown with its own icon and type in a file manager
MX-25.2_August_x64.iso.sha512.asc shown with its own icon and type in a file manager

How to use it

  1. Open ISO Signature Verifier from your menu, or run verify-iso-sig in a terminal.
  2. Pick your ISO file, or its signature file.
  3. Click Verify.
  4. The tool tells you if the signature is good or bad.
A successful check

If the signing key had to be fetched fresh, you get one more question: save it locally, so future checks with the same key don't need the network again.

The "keep this key" popup, after a key was just fetched

Drag and drop, if you want it

The picker above is the same on X11 and on Wayland - just the file field. Most people already have their file in hand (opened via a file manager's "Open With", or by double-clicking the ISO/signature file directly), so nothing extra is needed.

If you'd rather drag a file onto the window, turn on drag-and-drop mode: run verify-iso-sig --drag-and-drop, or use the "Verify with Drag & Drop" entry in your application menu (right-click the app's icon, or its own menu entry, depending on your desktop). This adds a drop area below the file field - available on X11 only, since it needs a feature Wayland does not support; on Wayland it falls back to the plain picker instead.

Picker window with the optional drag-and-drop area shown

Trusting a new key

If the tool does not already know the signing key, it asks you first. You see the Key ID, the claimed identity, and the fingerprint, so you can check them yourself before deciding to trust the key.

The "trust this key" popup, for a checksum-listing key

Managing trusted keys

The "Manage Trusted Keys" window

Command line

For scripts and advanced use:

verify-iso-sig --cli <iso-file> [signature-file] [checksum-file]

See verify-iso-sig --help or verify-iso-sig --man for the full list of options.

Frequently asked questions

What does "OK" actually prove - and what doesn't it prove?

It proves two things: the file you have is byte-for-byte what the signer published, and the signature was made by the key you ended up trusting (built-in, or one you accepted). It does not prove that the identity behind that key is who you think it is, if you've never checked that some other way - the tool shows you the Key ID, fingerprint, and claimed identity for a reason: for an unrecognized key, that's yours to judge.

What's the difference between a signature file and a checksum file?

For MX Linux/antiX, an ISO download usually comes with a .sig file (a direct signature of the ISO itself) plus a plain checksum file like .sha256/.sha512 covering just that one ISO. The .sig is the one that actually proves it - see the next question for why.

Some other distros do it differently: instead of signing the ISO directly, they publish one shared checksum listing (SHA256SUMS, sha256sum.txt, a distro-specific CHECKSUM file, ...) covering many files at once, and sign that listing instead. Either way, just pick the ISO and the signature file - the tool works out the rest.

What's a clearsigned .sha256.asc/.sha512.asc file?

Some publish just one file instead of a .sig plus a checksum: a per-ISO checksum that carries its own signature in place (it starts with -----BEGIN PGP SIGNED MESSAGE-----). This tool supports either way - a direct .sig, or this self-contained alternative - whichever a distro or respin uses. It does the exact same job a .sig alone already does - proves the ISO is genuine - just packaged so the actual checksum value is visible in plain text too, combined with the signature in the one file.

Do I need to check both the signature and the checksum?

No - the signature already covers everything a checksum does, and more. A .sig file already contains its own checksum of the ISO, but signed - so checking it does the same job as a plain checksum, plus it also confirms the ISO really came from the MX Linux/antiX team. A checksum alone can't do that. If you have the signature file, checking it is enough - no need to also check the checksum separately.

I got the ISO via the official .torrent - do I still need to check the signature or checksum?

Yes. A .torrent file (and its tracker entry) isn't signed, same as a plain checksum file isn't - see above. It only guarantees you got the exact file it describes, not that the file itself is the genuine ISO. Checking the .sig is what actually confirms that.

It says "Key not trusted" even though the signature looks valid - why?

A signature can be cryptographically valid while still being made by a key nobody's told this tool to trust yet. Validity and trust are different questions on purpose: anyone can sign something, but that alone says nothing about whether the signer is who they claim.

A key shows as "expired" but it still verified - is that safe?

Yes. Expiry is a lifecycle signal - the owner didn't renew it - not a cryptographic weakness, and it doesn't change whether the signature itself is genuine. A revoked key is different: that's the owner's own explicit "never trust this again," and it always blocks verification, no exceptions.

Where does it get signing keys from, and is anything about my file sent anywhere?

Only for a key it doesn't already have: it asks a public keyserver for that key's ID. No part of your actual file - not its name, its contents, or its hash - is ever sent anywhere. Keys you've already trusted are checked entirely offline.

Do I need an internet connection?

Only the first time you meet a given signing key. Once it's trusted (built in, or accepted and saved), later checks with that same key need no network at all.

I have an image file (or a zip, or something else) with its own signature file - can I verify that too?

Yes. Despite the name, the actual check only cares that you have a file and a real signature (or a signed checksum listing covering it) - point the tool at either one, the same way you would for an ISO. One small exception: if you only hand it a bare checksum listing with no specific file named, its "which entry does this listing describe" auto-detection looks specifically for .iso-named entries - for anything else, just point the tool at your actual file directly instead.

Why does Help open my browser instead of showing help right in the window?

The full help content (this page) is more than a single dialog can comfortably show, and a browser already knows how to render it, search it, and let you keep it open alongside the tool.

Drag-and-drop is missing or grayed out - why?

It's an optional mode, and only available on X11 - Wayland doesn't support the feature it needs. On Wayland, the plain picker (pick a file, or have it prefilled from "Open With") covers the same ground.

Why can't I run this as root?

This tool reads and writes your own ~/.gnupg (which keys you trust), not just a private, throwaway copy for the one check it's running. Under sudo/su, that can either write into root's own home for no benefit, or - depending on how you invoked it - into your home with root-owned files, which can quietly break your own later, normal use of the tool. Run it as yourself instead.

How do I un-trust a key I added by mistake?

Open "Manage Trusted Keys" (from the picker, or your application menu), select the key, and click "Untrust Selected".

Can I run this with no GUI at all, e.g. over SSH?

Yes - verify-iso-sig --cli <file> [signature-file]. This is also what runs automatically whenever no graphical session is available.

Is there a full reference for every option?

Yes - verify-iso-sig --man for the complete manual (every option, the checksum-listing convention, recognition rules, and more), or verify-iso-sig --help for the short version.

It says "could not fetch key from any keyserver" - what now?

Usually a network or firewall issue reaching the public keyservers. If you already have the key from somewhere you trust (e.g. the distro's own website), you can add it without needing a keyserver at all - use "Import from File" in the Manage Trusted Keys window, or --import-trusted-keys from the command line.

Build

This project builds a Debian package (.deb). To build it yourself, clone this repository and run:

./build

It checks that everything needed to build is installed (devscripts, for the debuild command - install with sudo apt install devscripts if you don't have it; plus anything else this package needs to build, listed in debian/control) and tells you clearly what is missing, if anything.

You can also build it by hand instead: run debuild -us -uc -b from the project root.

Either way, the finished .deb file (and a few related files) appear one folder above the project root - that is where debuild always places its output.

About window

The About window

License

GPL-3.0-or-later. See LICENSE for the full text.

Authors

fehlix
MX Linux development team