jacksum-for-macos

Installation program to add Jacksum (CLI) and HashGarten (GUI) to macOS. It also adds functions to Finder and other file managers.

View project on GitHub

GitHub downloads

Jacksum for macOS

image

Abstract

Jacksum for macOS is an installation program that gives you easy access to the features of Jacksum on macOS. In other words, it adds 586 algorithms (crypto hash functions, CRCs and checksums) to your Mac, and it lets you use them from several different user interfaces in order to calculate hash values, verify data integrity, and more. See the Jacksum page for details.

The installation program installs

  • Jacksum, the hash engine, which also provides the command line interface (CLI)
  • HashGarten, a standalone graphical user interface (GUI) for Jacksum
  • script glue that calls Jacksum and HashGarten from your preferred file manager

See also the Architecture of the interaction between those components.

Download

Download the latest .dmg.

Installation

1. Open the .dmg

Open the .dmg.

2. Open the .app

For users of macOS Sequoia 15 and later

Since macOS Sequoia, an app from an unidentified developer no longer opens with a Control-click; macOS reports that the app cannot be opened.

[!TIP] To open such an app, try to open it once, then open “System Settings” and go to “Privacy & Security”. Scroll down to the “Security” section, where you will find the option to open the app that was just blocked. Click “Open Anyway” and follow the prompts.

If you prefer to allow apps from anywhere, open a Terminal and enter sudo spctl --global-disable (the older spctl --master-disable has been deprecated). An “Anywhere” option then appears in System Settings under “Privacy & Security” → “Allow applications from”, which restores the behavior of Sonoma and earlier releases of macOS. Note that this lowers security for your entire system, not just for this app, so consider re-enabling Gatekeeper afterwards.

To verify the integrity of the app, compare its hash values with the ones published in the release notes of that release. To calculate hash values you can use a hash tool such as Jacksum for macOS.

For users of macOS Sonoma 14 and earlier

Control-click the app icon and choose “Open” from the shortcut menu. Gatekeeper warns you about the app, but it also offers you the option to bypass its default policy and open the app anyway.

Open the Jacksum for macOS app


For users of the command line interface

[!TIP] You can open a Terminal in order to bypass both the graphical installation program and the security warnings, and directly run the script that is bundled with the installer app. Example for Jacksum 4.0.0:

% cd /Volumes/Jacksum\ for\ macOS
% ./Jacksum\ 4.0.0\ for\ macOS.app/Contents/Resources/script

3. Check the results

At the end of the task, a summary tells you which file managers have been found and where Jacksum and HashGarten have been integrated.

After the installation

System Requirements

Hardware

  • Intel Mac (x64) or Apple silicon (aarch64)
  • 200 MiB of disk space (the installed HashGarten.app requires about 185 MiB, most of it the bundled Java runtime)

Software

  • macOS 11 (Big Sur) or later, tested up to macOS 15.8 (Sequoia) on x64 and macOS 27.0 on aarch64
  • optional: a supported file manager (see below), so that you can call Jacksum and HashGarten from within it

Supported File Managers

Finder, which supports Apple’s Script menu, is fully supported by this installation program. In addition, some file managers that provide proprietary interfaces are supported.

The installation program sets up the integration for Finder, Path Finder, HoudahSpot, Tembo, muCommander and Marta. It also installs four Quick Actions, which show up in the Services menu of many apps — but not in all of them; see the “Integration” column of the table below. All other file managers in the table either work by drag & drop only, or require a few manual steps that are documented in the wiki.

[!TIP] If your preferred file manager supports neither Apple’s Script menu nor external scripts nor plug-ins, chances are high that it supports at least drag & drop. In that case you can drag file and directory paths from your file manager onto the HashGarten GUI and process them there, for example to calculate hash values.

The following file managers have been tested successfully with Jacksum and HashGarten:

File Manager Integration Comment
Commander One Drag & drop + Services (partly) Commercial Software; its Services menu hands over only the item currently selected; a multiple selection is ignored
CRAX Commander Drag & drop, no Services Commercial Software (Demo)
Dropover Drag & drop, no Services Commercial Software
EasyFind Drag & drop, no Services Freeware; its Services menu offers the selection as a URL only, so the Quick Actions do not appear there
Fileside Drag & drop + proprietary API (manual), no Services Commercial Software (Trial), a few extra steps required
Finder Drag & drop + Script menu (installer) + Services Bundled with macOS, the standard file manager from Apple
ForkLift 4 Drag & drop + proprietary API (manual) + Services Commercial Software (Trial), a few extra steps required
HiFile Drag & drop, no Services Commercial Software (Trial)
HoudahSpot Drag & drop + Script menu (installer) + Services Commercial Software (Trial), a search tool rather than a file browser
Marta Drag & drop + plug-in (installer) + Services Freeware
muCommander Drag & drop + plug-in (installer), no Services Free/Libre Open Source Software (GPLv3)
Nimble Commander Drag & drop + Services Free/Libre Open Source Software (GPLv3)
Path Finder Drag & drop + Script menu (installer) + Services Commercial Software
Tembo Drag & drop + Script menu (installer) + Services Commercial Software (Trial), a search tool rather than a file browser
Transmit Drag & drop + Services Commercial Software (Trial)
VioletGiraffe FileCommander Drag & drop Free/Libre Open Source Software (Apache 2.0)

“(installer)” means that the installation program creates the integration for you. “(manual)” means that the file manager offers a suitable interface, but that you have to set it up yourself as described on the linked wiki page. “Services” means that the four Quick Actions have been verified in that file manager’s Services menu and that they work without restrictions, that is, with a multiple selection of both files and directories. “Services (partly)” means that they do appear, but with the restriction that is described in the Comment column. “no Services” means that the Quick Actions do not appear in that file manager’s Services menu at all. They are installed either way, so a file manager without any of those three notes may still offer them — it just has not been verified yet.

How to use it

Using HashGarten

Open Spotlight Search and search for HashGarten, or go to Applications and open HashGarten from there.

Spotlight Search

Using Finder and the Script menu

Go to Finder, select files and folders, and choose an action from the Jacksum script folder.

Jacksum at the Finder Script menu

From here, HashGarten takes over and you can calculate checksums, CRCs and hash values of the selected files.

Using Path Finder and the Script menu

Open Path Finder, select files and folders, and choose an action from the Jacksum script folder.

Jacksum at the Path Finder Script menu

From here, HashGarten takes over and you can calculate checksums, CRCs and hash values of the selected files.

Using HoudahSpot and the Script menu

Open HoudahSpot, run a search, select results, and choose an action from the Jacksum script folder.

image

From here, HashGarten takes over and you can calculate checksums, CRCs and hash values of the selected files.

[!NOTE] HoudahSpot is a search tool, so its results usually live in many different folders. The integration prints the paths relative to the first selected entry, which can produce paths such as ../../Documents/report.pdf.

Using Tembo and the Script menu

Open Tembo, run a search, select results, and choose an action from the Jacksum script folder.

From here, HashGarten takes over and you can calculate checksums, CRCs and hash values of the selected files.

[!NOTE] Tembo is a search tool, so its results usually live in many different folders. The integration prints the paths relative to the first selected entry, which can produce paths such as ../../Documents/report.pdf.

Using the Services menu (Quick Actions)

Unlike the integrations above, the four Quick Actions are not tied to a single app. Select files and folders, right-click, and choose an action from the Services submenu. In the Finder they also appear in the “Quick Actions” submenu of the context menu.

From here, HashGarten takes over and you can calculate checksums, CRCs and hash values of the selected files.

[!NOTE] An app only offers the Quick Actions if it hands its selection to the Services menu as files. Most apps do, the Finder and HoudahSpot for example. EasyFind does not: it offers its selection as a URL only, so you will not find the Jacksum items there. Use drag & drop with EasyFind instead.

[!NOTE] Apps that were already running while you installed keep their cached Services menu. Restart such an app if its menu entries show up without the Jacksum icon, or do not show up at all.

[!NOTE] The Quick Actions run under Automator rather than under HashGarten. The first time you call one for a file on your Desktop, in Documents or in Downloads, macOS may ask you to grant Automator access to that folder.

Using muCommander

Open muCommander, select files and folders, right-click, and choose an action from the “Open with…” menu.

muCommander menu

From here, HashGarten takes over and you can calculate checksums, CRCs and hash values of the selected files.

Using Marta

Open Marta, select files and folders, and go to Tools → Actions…, enter “Jacksum” in “Search Action” and choose one of the entries.

Jacksum actions in Marta

From here, HashGarten takes over and you can calculate checksums, CRCs and hash values of the selected files.

Using the Command Line Interface (CLI)

Open a Terminal to get full access to the CLI. You can then use all the features that Jacksum provides. The launcher is not added to your $PATH, so call it by its absolute path:

% /Applications/HashGarten.app/jacksum

For more information, see Jacksum.

How to configure it

Finder

Open Finder, click the Script menu, and select “Open Scripts Folder”, followed by “Open Finder Scripts Folder”. Alternatively, press ⇧⌘G, enter the path to the Finder scripts folder ~/Library/Scripts/Applications/Finder, and click the “Go” button.

Open Jacksum 4.0.0 and remove any .scpt file that you do not want to see.

Path Finder

Open Path Finder, click the Script menu, and select “Open Scripts Folder”, followed by “Open Path Finder Scripts Folder”. Open Jacksum 4.0.0 and remove any .scpt file that you do not want to see.

HoudahSpot

Press ⇧⌘G in Finder, enter the path to the HoudahSpot scripts folder ~/Library/Scripts/Applications/HoudahSpot, and click the “Go” button. Open Jacksum 4.0.0 and remove any .scpt file that you do not want to see.

Tembo

Press ⇧⌘G in Finder, enter the path to the Tembo scripts folder ~/Library/Scripts/Applications/Tembo, and click the “Go” button. Open Jacksum 4.0.0 and remove any .scpt file that you do not want to see.

Quick Actions

There are two ways to get rid of individual entries or of the whole Services integration.

Switch them off, without removing anything. Open System Settings → Keyboard → “Keyboard Shortcuts…” → Services, and untick the four entries that start with “Jacksum - “. macOS keeps that choice in ~/Library/Preferences/pbs.plist, not in the bundles, so it is not affected by what the installation program writes. This is the better option if you only want a quieter menu.

Remove them. The Quick Actions are ordinary bundles in ~/Library/Services, named Jacksum - <action>.workflow. Delete the ones you do not want, or open one with Automator to modify it:

% rm -rf ~/Library/Services/Jacksum\ -\ 4\)\ Edit\ script.workflow
% /System/Library/CoreServices/pbs -flush

The pbs -flush makes the change visible without a logout. Note that the next run of the installation program recreates every bundle, including the ones you deleted.

muCommander

The commands for muCommander are defined in /Applications/HashGarten.app/mucommander.commands.xml. Modify that file to match your needs.

[!IMPORTANT] ~/Library/Preferences/muCommander/commands.xml is only a symbolic link to that file inside the app bundle, so any changes you make there are lost the next time you run the installation program. To keep your own commands permanently, replace the symbolic link with a regular file:

% cd ~/Library/Preferences/muCommander
% cp commands.xml commands.xml.mine && mv commands.xml.mine commands.xml

How to recreate all items

Just run the Jacksum for macOS.app again. Note that this also recreates the muCommander commands file, which discards any changes you made to it.

How to uninstall it

Jacksum and HashGarten

Regardless of which file managers were integrated, remove the app itself. This also removes the CLI launcher, the bundled Java runtime and the muCommander commands file:

% rm -rf /Applications/HashGarten.app

Finder

Since Finder is always found during the installation, type

% rm -rf ~/Library/Scripts/Applications/Finder/Jacksum*

Path Finder

If Path Finder was found during the installation, type

% rm -rf ~/Library/Scripts/Applications/Path\ Finder/Jacksum*

HoudahSpot

If HoudahSpot was found during the installation, type

% rm -rf ~/Library/Scripts/Applications/HoudahSpot/Jacksum*

Tembo

If Tembo was found during the installation, type

% rm -rf ~/Library/Scripts/Applications/Tembo/Jacksum*

muCommander

If muCommander was found during the installation, remove the symbolic link that the installation program created:

% rm ~/Library/Preferences/muCommander/commands.xml

If you already had a commands.xml before, the installation program moved it aside as commands.xml.before_jacksum.<date>. In that case, restore it:

% cp ~/Library/Preferences/muCommander/commands.xml.before_jacksum.* ~/Library/Preferences/muCommander/commands.xml
% rm ~/Library/Preferences/muCommander/commands.xml.before_jacksum.*

Marta

If Marta was found during the installation, type

% cd ~/Library/Application\ Support/org.yanex.marta/Plugins/
% rm $(grep -il jacksum *.lua | xargs)

Note that grep searches the contents of the plug-ins, so review the list first if you have other plug-ins that happen to mention Jacksum.

Quick Actions

The Quick Actions are always installed, no matter which file managers were found. Remove all four of them and update the Services cache:

% rm -rf ~/Library/Services/Jacksum\ -\ *.workflow
% /System/Library/CoreServices/pbs -flush

That is all there is to it: each bundle is self-contained, so nothing is left behind anywhere else.

[!NOTE] An app that is running while you remove the bundles keeps its Services menu until you restart it, the Finder included. If an entry is still listed, quit and reopen that app. If you would rather keep the Quick Actions but not see them, untick them in System Settings instead, as described under How to configure it.

For Developers

Go to https://github.com/jonelo/jacksum-for-macos/wiki/Developer-Notes

Further Information

  • https://jacksum.net
  • https://github.com/jonelo/jacksum
  • https://github.com/jonelo/jacksum/wiki/Architecture

Show your support

Please ⭐️ this repository if this project helped you!