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
| Version | 3.8.11 |
|---|---|
| License | BSD-2-Clause |
| Copyright | Copyright © 2003-2018 Tim Kientzle and the libarchive contributors |
| Used for | The main engine for reading and writing most archive formats. |
| Changes | Added 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. |
| Project | libarchive.org |
UnRAR
| Version | 7.23 |
|---|---|
| License | UnRAR license (freeware, SPDX: UnRAR; the license is the license.txt file in RARLAB's UnRAR source download) |
| Copyright | Portions Copyright © 1993-2026 Alexander Roshal |
| Used for | Extracting 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. |
| Changes | None. 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. |
| Project | rarlab.com/rar_add.htm |
XZ Utils (liblzma)
| Version | 5.8.3 |
|---|---|
| License | 0BSD |
| Copyright | Copyright © 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. |
| Changes | None. |
| Project | tukaani.org/xz |
LZMA SDK
| Version | 26.01 |
|---|---|
| License | Public domain |
| Copyright | Igor Pavlov, public domain |
| Used for | The multithreaded LZMA2 encoder that makes creating .7z files fast. More on that. |
| Changes | None. |
| Project | 7-zip.org/sdk.html |
Zstandard
| Version | 1.5.7 |
|---|---|
| License | BSD-3-Clause (Zstandard is dual-licensed BSD-3-Clause or GPL-2.0; Purrchiver uses it under BSD-3-Clause) |
| Copyright | Copyright © Meta Platforms, Inc. and affiliates |
| Used for | .zst compression and decompression. |
| Changes | Built without its assembly code. No code changes. |
| Project | facebook.github.io/zstd |
LZ4
| Version | 1.10.0 |
|---|---|
| License | BSD-2-Clause |
| Copyright | Copyright © 2011-2020 Yann Collet |
| Used for | .lz4 compression and decompression. Only the LZ4 library is included, not its GPL command-line tool. |
| Changes | None. |
| Project | lz4.org |
Brotli
| Version | 1.1.0 |
|---|---|
| License | MIT |
| Copyright | Copyright © 2009, 2010, 2013-2016 the Brotli Authors |
| Used for | .br and .tar.br compression and decompression. |
| Changes | None. |
| Project | github.com/google/brotli |
age (Rust library from the rage project)
| Version | 0.11.3 |
|---|---|
| License | MIT or Apache-2.0 |
| Copyright | Copyright © 2019 Jack Grigg |
| Used for | age passphrase encryption and decryption. The age Rust library is built into the app with a small bridge written for Purrchiver. |
| Changes | None. Its own dependencies are listed below. |
| Project | github.com/str4d/rage |
ENCryptor (MacPaw)
| Version | commit 0819eaa |
|---|---|
| License | Apache-2.0 |
| Copyright | Copyright © 2013-2014 MacPaw |
| Used for | Opening Encrypto .crypto files. Read only. |
| Changes | Removed 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. |
| Project | github.com/MacPaw/ENCryptor |
compcol (StuffIt method 5) New in 1.1
| Version | lzah module, ported October 2026 |
|---|---|
| License | MIT |
| Copyright | Copyright © 2026 Karpeles Lab Inc. |
| Used for | Decoding StuffIt’s method 5 (LZAH), used by StuffIt 1.5 to 2.x, in StuffIt files. |
| Changes | Ported from Rust to Swift. The rest of Purrchiver’s StuffIt reader was written from published format descriptions; see StuffIt format descriptions. |
| Project | github.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
ageand.cryptobridges.
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
- Released in libarchive 3.8.11 libarchive: multi-part RAR5 archives fail to read since 3.8.10 (“Unsupported block header size”), found by Purrchiver’s multi-part tests. Fixed by the libarchive maintainers.
- Fix proposed libarchive: stored RAR and RAR5 files aren't checked against their CRC so a damaged file reads back as intact, found by Purrchiver’s damaged-archive tests. We proposed the fix. Purrchiver adds the check until it’s fixed upstream.
- Fix proposed libarchive: the gzip reader never checks a file's CRC or length so damage that decompression doesn’t notice reads back as intact. We proposed the fix. Purrchiver 1.1 carries the same check until it’s fixed upstream.
- Released in libarchive 3.8.11 libarchive: a cpio archive loses every file after a few bytes of junk without an error, found by Purrchiver’s damaged-archive tests. We proposed the fix, and it was merged.
- Reported libarchive: ZIPs from Finder's Compress with a file over 4 GB no longer read since 3.8.9, because macOS writes only the low 32 bits of the size. Found while making Purrchiver read them. Purrchiver reads them with its own patch.
- Fix proposed libarchive: symlinks in password-protected ZIPs are written unencrypted so anyone can read where each link points without the password, and symlinks that 7-Zip or Info-ZIP encrypted can’t be read. We proposed the fix. Purrchiver 1.1 carries the same fix until it’s fixed 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.