Skip to main content
coreydaley.dev

Open source in Purrchiver

Purrchiver isn’t open source, but much of what it does stands on open source libraries. This page lists every one that’s built into the app: the exact version, its license, what Purrchiver uses it for, and anything we changed. Every license link goes to the license file for the version Purrchiver ships, and the full license texts are also in the app, under Settings → About → Open Source Licenses New in 1.1.

All of them are under permissive licenses or in the public domain. None is under a copyleft license like the GPL, and none of them makes network connections from inside Purrchiver: the app has no network access at all.

What’s inside

libarchive

Version3.8.11
LicenseBSD-2-Clause
CopyrightCopyright © 2003-2018 Tim Kientzle and the libarchive contributors
Used forThe main engine for reading and writing most archive formats.
ChangesAdded 7z AES-256 encryption for reading and writing, a bridge to a multithreaded LZMA2 encoder for faster 7z, safer XML parsing settings in the XAR reader, CRC checks on stored (uncompressed) RAR and RAR5 files, and a custom build configuration. A few files inside libarchive carry their own permissive licenses (xxHash, BLAKE2, the .Z filter’s BSD-3 notice), listed in its COPYING file or in each file’s own header.
Projectlibarchive.org

UnRAR

Version7.23
LicenseUnRAR license (freeware, SPDX: UnRAR; the license is the license.txt file in RARLAB's UnRAR source download)
CopyrightPortions Copyright © 1993-2026 Alexander Roshal
Used forExtracting encrypted RAR archives. It’s only used to read RAR; the license forbids using it to develop a RAR-compatible archiver, and Purrchiver doesn’t create RAR files.
ChangesNone. Purrchiver adds its own bridge code beside it. UnRAR’s acknowledgements include Intel’s BSD-licensed CRC32 code, whose notice is in the app’s Open Source Licenses.
Projectrarlab.com/rar_add.htm

XZ Utils (liblzma)

Version5.8.3
License0BSD
CopyrightCopyright © The XZ Utils authors and contributors
Used for.xz and .lzma compression, and LZMA inside 7z. Built into the app rather than linked from macOS; here’s why.
ChangesNone.
Projecttukaani.org/xz

LZMA SDK

Version26.01
LicensePublic domain
CopyrightIgor Pavlov, public domain
Used forThe multithreaded LZMA2 encoder that makes creating .7z files fast. More on that.
ChangesNone.
Project7-zip.org/sdk.html

Zstandard

Version1.5.7
LicenseBSD-3-Clause (Zstandard is dual-licensed BSD-3-Clause or GPL-2.0; Purrchiver uses it under BSD-3-Clause)
CopyrightCopyright © Meta Platforms, Inc. and affiliates
Used for.zst compression and decompression.
ChangesBuilt without its assembly code. No code changes.
Projectfacebook.github.io/zstd

LZ4

Version1.10.0
LicenseBSD-2-Clause
CopyrightCopyright © 2011-2020 Yann Collet
Used for.lz4 compression and decompression. Only the LZ4 library is included, not its GPL command-line tool.
ChangesNone.
Projectlz4.org

Brotli

Version1.1.0
LicenseMIT
CopyrightCopyright © 2009, 2010, 2013-2016 the Brotli Authors
Used for.br and .tar.br compression and decompression.
ChangesNone.
Projectgithub.com/google/brotli

age (Rust library from the rage project)

Version0.11.3
LicenseMIT or Apache-2.0
CopyrightCopyright © 2019 Jack Grigg
Used forage passphrase encryption and decryption. The age Rust library is built into the app with a small bridge written for Purrchiver.
ChangesNone. Its own dependencies are listed below.
Projectgithub.com/str4d/rage

ENCryptor (MacPaw)

Versioncommit 0819eaa
LicenseApache-2.0
CopyrightCopyright © 2013-2014 MacPaw
Used forOpening Encrypto .crypto files. Read only.
ChangesRemoved the code that creates .crypto files, stopped decoding one untrusted metadata field (an unsafe deserialization), and stopped applying file metadata that the App Sandbox doesn’t allow. Each changed file says so.
Projectgithub.com/MacPaw/ENCryptor

compcol (StuffIt method 5) New in 1.1

Versionlzah module, ported October 2026
LicenseMIT
CopyrightCopyright © 2026 Karpeles Lab Inc.
Used forDecoding StuffIt’s method 5 (LZAH), used by StuffIt 1.5 to 2.x, in StuffIt files.
ChangesPorted from Rust to Swift. The rest of Purrchiver’s StuffIt reader was written from published format descriptions; see StuffIt format descriptions.
Projectgithub.com/KarpelesLab/compcol

StuffIt format descriptions

New in 1.1 Credit, not code. Purrchiver’s StuffIt reader was written from the format descriptions on The Unarchiver’s wiki, including Matthew Russotto’s description of the Arsenic method, and compcol’s notes. No code from XADMaster, The Unarchiver’s engine, is used.

Inside libarchive

libarchive includes a few small pieces from other projects, each under a permissive license, listed in libarchive’s COPYING file or in each file’s own header: xxHash (BSD-2-Clause, Yann Collet), BLAKE2 (CC0, OpenSSL, or Apache-2.0, your choice; used for RAR5 checksums), the Unix .Z filter (BSD-3-Clause, the Regents of the University of California), and a public-domain date parser.

age’s dependencies

The age library depends on 118 Rust packages (some only at build time or on other platforms), all under permissive licenses: most are MIT or Apache-2.0, a few are BSD-3-Clause (the Curve25519 and constant-time maths) or Unicode-3.0, and some also offer the Unlicense. Where a package offers a choice that includes the GPL, Purrchiver uses the permissive option.

Apple’s frameworks

Purrchiver also uses parts of macOS itself, which aren’t bundled into the app: AppleArchive (.aar and .aea), CommonCrypto, CryptoKit, and the Security framework, zlib and bzip2, libxml2, libiconv, and hdiutil for disk images.

Written for Purrchiver

Some parts people might assume come from another project were written from the published specifications instead:

  • PAR2 recovery data: written from the PAR 2.0 specification, not derived from par2cmdline. par2cmdline’s test files are used only in Purrchiver’s tests.
  • The disk image reader: an HFS+ reader written from Apple’s technical note TN1150. More in Reading a DMG without mounting it.
  • 7z encryption: the key derivation and AES code are Purrchiver’s own, built on Apple’s CommonCrypto. More in encrypted 7z with libarchive.
  • The bridges between these libraries and the app, including the multithreaded LZMA2 bridge and the age and .crypto bridges.

Giving back

Purrchiver depends on these projects, so when it finds a problem in one, the project should hear about it:

  • Bugs get reported upstream. When Purrchiver’s tests turn up a bug in one of these libraries, it’s reported to that project with a way to reproduce it, not just worked around here.
  • Security problems are reported privately first, following each project’s security policy, and aren’t described here until there’s a fix.
  • Fixes and improvements are offered back, following each project’s contribution rules. Purrchiver is built with AI-assisted development, so that includes their rules on AI-assisted work: it’s always disclosed, and where a project doesn’t accept it, we report the problem and leave the fix to them.

The changes Purrchiver has made are listed above. If you maintain one of these projects and would like any of them, email corey@coreydaley.dev.

Reported upstream

Proposed upstream

Formats Purrchiver 1.1 reads that libarchive doesn’t. I’ve offered to write them for libarchive too, so every tool built on it can open these files.

  • Proposed libarchive: read support for TNEF (winmail.dat), the container Outlook puts attachments in when it mails someone who doesn’t use Outlook.
  • Proposed libarchive: read support for StuffIt (.sit, .sea), the classic Mac archive format, which no libarchive-based tool can open today.