Repository navigation
v0.2.0
0.2.0 - 2026-12-02
First release under the trustprune name. The previous tag, 0.1.0 (2018-02-13, no v prefix), shipped the cert-manage CLI.
Breaking
- The project, module, and primary CLI are now
trustprune(github.com/adamdecaf/trustprune). Thecert-managecommand remains an alias through 0.2.x and prints a short rename notice on stderr when invoked under that name. Release archives still includecert-manage-*copies of the same binaries. - New backups are written under
~/.trustprune/(or~/Library/trustprune/on Darwin). Existing backups under~/.cert-manage/or~/Library/cert-manage/are still discovered read-only for restore. - The
whitelistcommand was renamed toallowlist.whitelistis no longer a command. apps --format jsonuses snake_caseguide_only. The previous key wasguideOnly. Text output is stillguide only.- Default
listoutput is a table. The old multi-line dump is--format long.-v/--verboseis verbose output (accepted on every command); the version istrustprune version,trustprune --version, or-V. appslists application stores only. The platform store istrustprune listwithout--app.
Added
- Commands:
allowlist,apps,create,chain,diff,connect,gen-allowlist, andversion. --dry-runonadd,backup,restore, andallowlist.allowlist --dry-runprints a sorted kept table, counts for kept / removed / unmatched / allowlisted-but-blocked, and--format json.--app openssl --bundle <pem>on list, add, allowlist, backup, restore, create, chain, and connect.--storeoverrides java, certifi, and poppler paths.- Stores and guides: certifi, poppler (and Papers when it uses that NSS DB), Darwin
/etc/ssl/cert.pem(--app ssl), LibreSSL, a guide-only Android disable report, Foxit, Acrobat, and Okular. - Allowlists as YAML or JSON (fingerprints, optional country filters), fetched from
httpswith an optional SHA-256 pin and detached minisign signature.gen-allowlistcan build one from hostnames, platform presets, browser history, or a Tranco list. - Published baselines: Mozilla included roots, and a Tranco-derived web allowlist. Built-in blocklists cover Mozilla certdata distrust, OneCRL, Chromium, Apple, Microsoft CCADB, and known-bad roots (including the compromised eMudhra G3 intermediates). Allowlisted certificates that a blocklist still removes are reported rather than kept.
createwrites a PEM bundle, a Java truststore (jks,pkcs12), or an unsigned Apple configuration profile (mobileconfig) of allowlisted certificates without changing a store.list --fileandlist --urldecode PEM, DER, Apple configuration profiles (unsigned XML or a signed CMS/PKCS#7 wrapper), Mozillacertdata.txt, and gzip (a.gzsuffix or a gzip magic header), with a decompressed-size cap.diffuses the same decoder. Signed profiles that cannot be unwrapped report anopenssl smimehint without parser internals. HTTP errors name the status and redact URL secrets.chainandconnectfor local files or remote hosts, with text or JSON output.diffcompares one certificate or a bundle.- A Go helper,
certpool, that applies an allowlist to the system pool or a PEM file. list --ui web, a local checklist page that can export an allowlist.- Safer restore and allowlist behavior: a backup is required before allowlist writes; empty backups are refused; Linux and Java restores stage then swap; NSS, openssl, and
--storerestores refuse a mismatched source unless--force.
Changed
- Building from source requires Go 1.27.
- The CLI uses per-command
--flags(urfave). Unexpected positional arguments are rejected before any write. - JSON output uses snake_case keys and RFC 3339 UTC timestamps.