tlsrestrictchromium was a tool for blacklisting all built-in TLS CA's for a specific eTLD. It was previously used by Namecoin. As tlsrestrictchromium requires HPKP, which has since been removed by Chromium, tlsrestrictchromium is obsolete.
Prerequisites:
- Ensure you have the Go tools installed.
Option A: Using Go build commands without Go modules (works on any platform with Bash; only Go 1.15-1.16.x; will not work on Go 1.17+):
-
Ensure you have the
GOPATH
environment variable set. (For those not familar with Go, setting it to the path to an empty directory will suffice. The directory will be filled with build files.) -
Run
export GO111MODULE=off
to disable Go modules. -
Run
go get -t -u github.com/namecoin/tlsrestrictchromium/...
. tlsrestrictchromium will be built. The binaries will be at$GOPATH/bin/tlsrestrictchromium
.
Option B: Using Go build commands with Go modules (works on any platform with Bash; Go 1.15+:
-
Run the following in the tlsrestrictchromium directory to set up Go modules:
go mod init go mod tidy
-
Run
go install ./...
. tlsrestrictchromium will be built. The binaries will be at$GOPATH/bin/tlsrestrictchromium
.
Option C: Using Makefile (non-Windows platforms):
- Run
make
. The source repository will be retrieved viago get
automatically.
Licenced under the GPLv3 or later.
© 2014-2015 Hugo Landau <[email protected]>