Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ It checks that the extraction will fit before it changes anything, keeps a safet

No coding needed. **[Download for Windows](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-x64-setup.exe)** (Windows 10 and 11), or for [macOS (Apple Silicon)](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-aarch64.dmg), [macOS (Intel)](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-x86_64.dmg) and [Linux](#installation).

1. Run the installer. Windows may show "Windows protected your PC" because HatchZip is not code-signed yet: choose **More info**, then **Run anyway**.
1. Run the installer. Windows may show "Windows protected your PC" because the Windows downloads are not code-signed yet: choose **More info**, then **Run anyway**. On a Mac the app is signed and notarized, so at most macOS asks once whether to open an app downloaded from the internet.
2. Right-click the archive, choose **HatchZip**, then **Extract here**. On Windows 11 the menu is under **Show more options**. To pick the destination folder first, choose **Extract files…** instead.
3. Or open HatchZip from the Start menu, open the archive, and choose **Extract**.

Expand All @@ -59,11 +59,11 @@ To keep the archive when there is room for both, choose **Extract here (keep arc

Open them with **File > Settings…** (Ctrl+, or Cmd+, on macOS), or the gear at the top right of the window. Every change applies at once and is saved; the main window's own controls and the right-click menu's windows use the same settings.

The app is in English, Spanish, Hindi, Simplified Chinese and Turkish. It follows the system language until another is chosen under **Language**.
The app is in English, Spanish, Hindi, Russian, Simplified Chinese and Turkish. It follows the system language until another is chosen under **Language**.

| Section | Setting | Default |
|---|---|---|
| General | **Language**: the system's, or English, Spanish, Hindi, Simplified Chinese or Turkish | The system language |
| General | **Language**: the system's, or English, Spanish, Hindi, Russian, Simplified Chinese or Turkish | The system language |
| General | **Appearance**: System, Light or Dark | System |
| General | **After extracting**: do nothing, or open the destination folder | Do nothing |
| General | **Close the progress window when extraction completes**, for the window the right-click menu opens | On |
Expand Down Expand Up @@ -116,7 +116,7 @@ Download from the [latest release](https://github.com/xevrion/hatchzip/releases/
| Fedora, openSUSE | [`hatchzip-x86_64.rpm`](https://github.com/xevrion/hatchzip/releases/latest/download/hatchzip-x86_64.rpm) |
| Any Linux | [`HatchZip-x86_64.AppImage`](https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-x86_64.AppImage) |

The installers also put the `hatchzip` command (and its short name `hz`) on your `PATH`. The Windows installers and the macOS apps are not code-signed yet: on Windows choose **More info**, then **Run anyway**; on macOS 15 and later, open the app once, then allow it under System Settings, Privacy & Security.
The installers also put the `hatchzip` command (and its short name `hz`) on your `PATH`. From 0.1.12 the macOS app, the dmg and the command line tool are signed with a Developer ID and notarized by Apple, so they open without a warning beyond the usual question about an app downloaded from the internet (macOS 11 or later). The first update from an earlier build may ask once more for access to protected folders, because the signature changed. The Windows installers are not code-signed yet: choose **More info**, then **Run anyway**.

### Command line only

Expand Down Expand Up @@ -438,7 +438,7 @@ What it cannot protect against: if the download itself is damaged, the files bef

HatchZip does not connect to the network. It has no networking code and no networking library, and CI fails if an HTTP, TLS or socket crate enters the dependency tree ([deny.toml](deny.toml)). It collects nothing and sends nothing.

The release files are not code-signed yet, and some antivirus engines that score files by machine learning or behaviour flag new, unsigned programs. On VirusTotal, the v0.1.3 Windows setup is flagged by 4 of 70 engines, all heuristic or machine-learning scores; Microsoft Defender reports it clean. What sandboxes list is what any installer does: it writes program files, adds the right-click menu and "Open with" entries, and runs Inno Setup's helper process. Code signing is planned.
The Windows release files are not code-signed yet, and some antivirus engines that score files by machine learning or behaviour flag new, unsigned programs. From 0.1.12 the macOS downloads are signed with a Developer ID and notarized by Apple. On VirusTotal, the v0.1.3 Windows setup is flagged by 4 of 70 engines, all heuristic or machine-learning scores; Microsoft Defender reports it clean. What sandboxes list is what any installer does: it writes program files, adds the right-click menu and "Open with" entries, and runs Inno Setup's helper process. Windows code signing is planned through the [SignPath Foundation](https://hatchzip.dev/code-signing.html).

To check that a download is genuine, compare its SHA-256 with the `.sha256` file next to it, or verify that this repository's release workflow built it:

Expand Down Expand Up @@ -494,7 +494,7 @@ Pull requests and bug reports from people are held to the same rules, and are ve

## Sponsors

HatchZip is free and open source, and it stays that way. Sponsorship pays for its maintenance, macOS signing, more formats and an outside security review; [hatchzip.dev/sponsor](https://hatchzip.dev/sponsor.html) has the details, including options for companies that embed `hatchzip-core`.
HatchZip is free and open source, and it stays that way. Sponsorship pays for its maintenance, more formats and an outside security review; [hatchzip.dev/sponsor](https://hatchzip.dev/sponsor.html) has the details, including options for companies that embed `hatchzip-core`.

Sponsor through [GitHub Sponsors](https://github.com/sponsors/xevrion) or [Buy Me a Coffee](https://buymeacoffee.com/xevrion). Sponsors from 10 USD a month are listed here, and companies from 100 USD a month with their logo.

Expand Down
20 changes: 12 additions & 8 deletions packaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,14 +275,18 @@ size and the icons' places are in `macos/dmg-background/layout.json`, which
and combined TIFF images it writes are committed, so the build doesn't need
Pillow.

The app is signed ad hoc, not with a Developer ID, and not notarized, so
macOS asks before the first launch:

- macOS 15 and later: open HatchZip, close the warning, then go to System
Settings > Privacy & Security and click "Open Anyway".
- macOS 14 and earlier: Control-click HatchZip in Applications, choose Open,
then Open again.
- Or, in Terminal: `xattr -dr com.apple.quarantine /Applications/HatchZip.app`
From 0.1.12 the app, the dmg and the CLI are signed with a Developer ID
("Developer ID Application: Yash Bavadiya (YUM7LHFL47)") and notarized, with
the ticket stapled to the dmg (see the next section). They open without a
warning; at most macOS asks once whether to open an app downloaded from the
internet. They need macOS 11 or later. The first update from an earlier
build may ask once more for access to protected folders, because the
signature changed.

Releases before 0.1.12 are signed ad hoc and not notarized, so macOS asks
before their first launch: on macOS 15 and later, allow the app in System
Settings > Privacy & Security; on macOS 14 and earlier, Control-click it in
Applications and choose Open.

The CLI and its man page are inside the app. To use them from a terminal:

Expand Down
7 changes: 0 additions & 7 deletions packaging/homebrew/Casks/hatchzip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,4 @@
"~/Library/Preferences/io.github.xevrion.hatchzip.plist",
"~/Library/Saved Application State/io.github.xevrion.hatchzip.savedState",
]

caveats <<~EOS
HatchZip is signed ad hoc, not with a Developer ID, so macOS asks before
the first launch. On macOS 15 and later, open HatchZip once, then click
"Open Anyway" in System Settings > Privacy & Security. On macOS 14 and
earlier, Control-click HatchZip in Applications and choose Open.
EOS
end
5 changes: 4 additions & 1 deletion site/code-signing.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<header class="top">
<div>
<h1>Code signing policy</h1>
<p class="lead">How HatchZip's Windows programs are signed, who approves each signing, and what the programs do with your data.</p>
<p class="lead">How HatchZip's Windows and macOS programs are signed, who approves each signing, and what the programs do with your data.</p>
</div>
</header>
<main>
Expand All @@ -54,6 +54,9 @@ <h2 id="signing">Code signing</h2>
<p>HatchZip has applied to the SignPath Foundation. Until the application is approved, the Windows downloads are not code-signed. Every download can still be checked with its SHA-256 checksum and its signed build provenance: <a href="verify.html">Verify your download</a>.</p>
<p>What is signed: the Windows programs <code>hatchzip.exe</code> and <code>hatchzip-gui.exe</code>, the setup <code>HatchZip-x64-setup.exe</code> and the installer <code>HatchZip-x64.msi</code> of each release. They are built from the tagged source in the public repository by the <a href="https://github.com/xevrion/hatchzip/blob/main/.github/workflows/release.yml">release workflow</a> on GitHub Actions. Nothing built anywhere else, and nothing from another project, is signed.</p>

<h2 id="macos">macOS</h2>
<p>From 0.1.12 the macOS app <code>HatchZip.app</code>, the dmgs for Apple Silicon and Intel and the command line tool <code>hatchzip</code> are signed with a Developer ID certificate, "Developer ID Application: Yash Bavadiya (YUM7LHFL47)", with the hardened runtime, and notarized by Apple. The notarization ticket is stapled to each dmg. They are signed by the same release workflow, from the tagged source, and need macOS 11 or later.</p>

<h2 id="roles">Team roles</h2>
<ul>
<li>Committers and reviewers: <a href="https://github.com/xevrion">Yash Bavadiya</a></li>
Expand Down
4 changes: 2 additions & 2 deletions site/funding.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
},
{
"guid": "macos-signing",
"status": "active",
"status": "inactive",
"name": "macOS signing and notarization",
"description": "The Apple Developer Program membership, so the macOS app is signed and notarized and opens without a warning.",
"description": "Done in 0.1.12: the macOS app is signed with a Developer ID and notarized. The 99 USD a year Apple Developer Program is paid by the maintainer.",
"amount": 99,
"currency": "USD",
"frequency": "yearly",
Expand Down
8 changes: 4 additions & 4 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<script type="application/ld+json">
{"@context":"https://schema.org","@graph":[
{"@type":"WebSite","@id":"https://hatchzip.dev/#website","name":"HatchZip","alternateName":"hatchzip.dev","url":"https://hatchzip.dev/","inLanguage":"en"},
{"@type":"SoftwareApplication","@id":"https://hatchzip.dev/#software","name":"HatchZip","alternateName":"hatchzip","description":"A free, open-source archive extractor that extracts ZIP, 7z, RAR, tar and split archives in place, so it needs free space for the extracted files only, not for the files and the archive together.","applicationCategory":"UtilitiesApplication","applicationSubCategory":"Archive extractor","operatingSystem":"Windows 10, Windows 11, macOS, Linux","softwareVersion":"0.1.11","url":"https://hatchzip.dev/","downloadUrl":"https://github.com/xevrion/hatchzip/releases/latest","installUrl":"https://hatchzip.dev/#download","license":["https://github.com/xevrion/hatchzip/blob/main/LICENSE-MIT","https://github.com/xevrion/hatchzip/blob/main/LICENSE-APACHE"],"isAccessibleForFree":true,"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"image":"https://hatchzip.dev/img/og.png","screenshot":"https://hatchzip.dev/img/app-light.png","author":{"@type":"Person","@id":"https://hatchzip.dev/#author","name":"Yash Bavadiya","url":"https://x.com/xevrion_the1","sameAs":["https://github.com/xevrion","https://x.com/xevrion_the1"]},"codeRepository":"https://github.com/xevrion/hatchzip","sameAs":["https://github.com/xevrion/hatchzip","https://crates.io/crates/hatchzip"]},
{"@type":"SoftwareApplication","@id":"https://hatchzip.dev/#software","name":"HatchZip","alternateName":"hatchzip","description":"A free, open-source archive extractor that extracts ZIP, 7z, RAR, tar and split archives in place, so it needs free space for the extracted files only, not for the files and the archive together.","applicationCategory":"UtilitiesApplication","applicationSubCategory":"Archive extractor","operatingSystem":"Windows 10, Windows 11, macOS, Linux","softwareVersion":"0.1.12","url":"https://hatchzip.dev/","downloadUrl":"https://github.com/xevrion/hatchzip/releases/latest","installUrl":"https://hatchzip.dev/#download","license":["https://github.com/xevrion/hatchzip/blob/main/LICENSE-MIT","https://github.com/xevrion/hatchzip/blob/main/LICENSE-APACHE"],"isAccessibleForFree":true,"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"image":"https://hatchzip.dev/img/og.png","screenshot":"https://hatchzip.dev/img/app-light.png","author":{"@type":"Person","@id":"https://hatchzip.dev/#author","name":"Yash Bavadiya","url":"https://x.com/xevrion_the1","sameAs":["https://github.com/xevrion","https://x.com/xevrion_the1"]},"codeRepository":"https://github.com/xevrion/hatchzip","sameAs":["https://github.com/xevrion/hatchzip","https://crates.io/crates/hatchzip"]},
{"@type":"FAQPage","@id":"https://hatchzip.dev/#faq","mainEntity":[
{"@type":"Question","name":"Is HatchZip safe?","acceptedAnswer":{"@type":"Answer","text":"HatchZip checks that the extraction fits before it changes anything. A file is written and flushed to disk before the part of the archive holding it is cut off, so a crash leaves each file either extracted or still in the archive. Every file's CRC-32 is checked, and a damaged file stops the run. To check a download is genuine, see Verify your download."}},
{"@type":"Question","name":"Does HatchZip need internet access?","acceptedAnswer":{"@type":"Answer","text":"No. HatchZip has no networking code and no networking library, no telemetry and no accounts, and it never checks for updates itself. It reads the archive on your disk and writes the files next to it. Its CI fails if an HTTP, TLS or socket library enters the dependencies. The desktop app's two links, to the source code and to the latest release under Help, Check for updates, open in your web browser."}},
Expand Down Expand Up @@ -102,7 +102,7 @@ <h2 id="download">Download</h2>

<h3>How to use it</h3>
<ol>
<li>Install it. HatchZip is not code-signed yet, so Windows may show "Windows protected your PC": choose More info, then Run anyway. On a Mac, open the app once, then allow it in System Settings, Privacy &amp; Security.</li>
<li>Install it. The Windows downloads are not code-signed yet, so Windows may show "Windows protected your PC": choose More info, then Run anyway. On a Mac the app is signed and notarized, so at most macOS asks once whether to open it.</li>
<li>Right-click the archive, choose HatchZip, then Extract here (Windows and Linux). On Windows 11 the menu is under Show more options.</li>
<li>Or open the HatchZip app, open the archive or drag it onto the window, and choose Extract.</li>
</ol>
Expand Down Expand Up @@ -143,7 +143,7 @@ <h3 id="all-downloads">All downloads</h3>
<tr><th scope="row">Linux x64</th><td data-label="File"><a href="https://github.com/xevrion/hatchzip/releases/latest/download/HatchZip-x86_64.AppImage">HatchZip-x86_64.AppImage</a></td><td data-label="Type">AppImage</td></tr>
</tbody>
</table>
<p class="note">The MSI installs the same app as the setup, for deployment tools; install one or the other. The portable zip holds the same app and command line tool: unzip it anywhere and run <code>hatchzip-gui.exe</code>. The Windows downloads and the macOS apps are not code-signed yet; the Windows downloads will be signed through the SignPath Foundation, as the <a href="code-signing.html">code signing policy</a> describes. On Windows choose More info, then Run anyway. On macOS, open the app once, then allow it in System Settings, Privacy &amp; Security.</p>
<p class="note">The MSI installs the same app as the setup, for deployment tools; install one or the other. The portable zip holds the same app and command line tool: unzip it anywhere and run <code>hatchzip-gui.exe</code>. From 0.1.12 the macOS app, the dmg and the command line tool are signed with a Developer ID and notarized by Apple; they need macOS 11 or later. The first update from an earlier build may ask once more for access to protected folders, because the signature changed. The Windows downloads are not code-signed yet; they will be signed through the SignPath Foundation, as the <a href="code-signing.html">code signing policy</a> describes. On Windows choose More info, then Run anyway.</p>
<p>HatchZip does not use the network. To check that a download is genuine, compare its SHA-256 checksum or verify its signed build provenance: <a href="verify.html">Verify your download</a>.</p>

<p>Or install from a terminal. Linux and macOS:</p>
Expand All @@ -163,7 +163,7 @@ <h2 id="features">What it does</h2>
<li>A compressed tar (<code>.tar.gz</code>, <code>.tar.bz2</code>, <code>.tar.xz</code> or <code>.tar.zst</code>) is read once from start to end before anything changes, so a damaged one is refused untouched. It then gives its space back as it extracts on NTFS (Windows), APFS (macOS), ext4, XFS, btrfs and other filesystems that can free part of a file. On FAT32 and exFAT it still extracts and resumes, but needs room for the archive and the files at once.</li>
<li>Checks that the extraction will fit before it changes anything.</li>
<li>Shows what is inside as a folder tree in the app, with folder sizes, before anything changes.</li>
<li>The desktop app is in English, Spanish, Hindi, Simplified Chinese and Turkish. It follows the system language, and Language in Settings picks another.</li>
<li>The desktop app is in English, Spanish, Hindi, Russian, Simplified Chinese and Turkish. It follows the system language, and Language in Settings picks another.</li>
<li>Every option of the desktop app is in one Settings window, opened from the File menu, the gear at the top right of the window, or Ctrl+, (Command+, on a Mac). It holds the language and appearance, what happens after extracting, whether the archive is removed, the reserved space, the default destination, what to do when a file already exists, and the right-click menu.</li>
<li>Can also extract normally and keep the archive, when there is room for both: <code>--keep-archive</code>, an option in the app, or Extract here (keep archive) in the right-click menu. If keeping it does not fit, it says how much extracting in place needs instead.</li>
<li>Extracts several archives one after another, checking the space for each just before it starts. The first one that does not complete stops the run, with a list of what was extracted and what was not.</li>
Expand Down
Loading
Loading