Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 18:38
· 29 commits to master since this release
109ab31

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). The cert-manage command remains an alias through 0.2.x and prints a short rename notice on stderr when invoked under that name. Release archives still include cert-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 whitelist command was renamed to allowlist. whitelist is no longer a command.
  • apps --format json uses snake_case guide_only. The previous key was guideOnly. Text output is still guide only.
  • Default list output is a table. The old multi-line dump is --format long. -v / --verbose is verbose output (accepted on every command); the version is trustprune version, trustprune --version, or -V.
  • apps lists application stores only. The platform store is trustprune list without --app.

Added

  • Commands: allowlist, apps, create, chain, diff, connect, gen-allowlist, and version.
  • --dry-run on add, backup, restore, and allowlist. allowlist --dry-run prints 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. --store overrides 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 https with an optional SHA-256 pin and detached minisign signature. gen-allowlist can 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.
  • create writes a PEM bundle, a Java truststore (jks, pkcs12), or an unsigned Apple configuration profile (mobileconfig) of allowlisted certificates without changing a store.
  • list --file and list --url decode PEM, DER, Apple configuration profiles (unsigned XML or a signed CMS/PKCS#7 wrapper), Mozilla certdata.txt, and gzip (a .gz suffix or a gzip magic header), with a decompressed-size cap. diff uses the same decoder. Signed profiles that cannot be unwrapped report an openssl smime hint without parser internals. HTTP errors name the status and redact URL secrets.
  • chain and connect for local files or remote hosts, with text or JSON output. diff compares 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 --store restores 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.