← All projects
Project record1 mention
Originally shared on Hacker News

distrust

distrust is a policy-based Go CLI tool for blocking unwanted CA certificates, simplifying management of root certificate stores across browsers (NSS, Chrome Root Store), OpenSSL/GnuTLS consumers (curl, wget, Python, Go), Java, and standalone PEM bundles (certifi, conda, botocore). It ships with an example policy that blocks all CAs except the top 30.

Last shared
01 / The problem

What it addresses

Systems trust over 150 root signing authorities, most of which are unnecessary, and no existing tools could block this long tail of unwanted CAs due to variance across operating system platforms, distros, and programming languages.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. distrust

    distrust is a policy-based Go CLI tool for blocking unwanted CA certificates, simplifying management of root certificate stores across browsers (NSS, Chrome Root Store), OpenSSL/GnuTLS consumers (curl, wget, Python, Go), Java, and standalone PEM bundles (certifi, conda, botocore). It ships with an example policy that blocks all CAs except the top 30.

    Problem: Systems trust over 150 root signing authorities, most of which are unnecessary, and no existing tools could block this long tail of unwanted CAs due to variance across operating system platforms, distros, and programming languages.

    Posted by @hyper_reality · Original source ↗

    Story title · @hyper_reality · · Source ↗

    Show HN: distrust, a Go CLI tool for blocking unwanted CA certificates

    Source text · @hyper_reality · · Source ↗

    https://github.com/hyperreality/distrust

    Source text · @hyper_reality · · Source ↗

    distrust is a policy-based tool that aims to simplify the management of the mess of root stores: browsers (NSS, Chrome Root Store), OpenSSL/GnuTLS consumers (curl, wget, Python, Go), Java, and the standalone PEM bundles that apps ship (certifi, conda, botocore).

    Source text · @hyper_reality · · Source ↗

    It ships with an example policy that blocks all CAs except the top 30.

    Source text · @hyper_reality · · Source ↗

    After the recent eMudhra CA incident, I wondered why my system trusts over 150 root signing authorities, most of which I don't need?

    Source text · @hyper_reality · · Source ↗

    There did not appear to be existing tools to do this, probably because there is so much variance across operating system platforms, distros, and programming languages.