Does Porch send my results anywhere?
No.
Results stay on your own machine, sealed under your password. No account with us, no telemetry.
Source self-host.md
porch.
Infrastructure checks
Porch checks what your servers show the outside world: TLS, website, mail and DNS. Every finding links to the standard behind it.
TLS & certificatesWeb reachMail policyDNSName inventory
Run it yourselfTry itLive
This demo checks only our own domain. To check yours, run Porch yourself.
Why self-hosted
The same kind of checks. The difference is where the result ends up.
Porch
The result stays on your server, encrypted under your password.
An online scanner
Their server sees the domain and keeps the result.
Porch asks only the sources that hold an answer, straight from your server: Cert Spotter which certificates are logged for a domain you proved, and the certificate authority for its revocation list and whether your certificate was revoked. No service in between learns what you check. Every connection is listed.
Run it yourself
You need a Linux server and an account that can use sudo.
On Debian 13, or Ubuntu 24.04 and later, the system's own packages:
the engine, the docker command and Compose. Their names
differ, so each system has its own lines. Debian puts the command in
docker-cli; Ubuntu calls Compose
docker-compose-v2, and its docker-compose is
the old Compose v1, unmaintained since 2023, which is not used here: if
docker-compose with a hyphen works and
sudo docker compose does not, that is v1, and the Ubuntu lines
put v2 beside it. The last line has to print a version. On any other system, Red Hat's family
included, follow Docker's guide.
Every docker command here runs with sudo:
the docker group is root without a password.
sudo apt-get update
sudo apt-get install -y docker.io docker-cli docker-compose
sudo docker compose version
sudo apt-get update
sudo apt-get install -y docker.io docker-compose-v2
sudo docker compose version
Downloads v0.37.0's
compose file, shown below, and checks its signature and
that the signed list is v0.37.0's, so no older release can be
handed over in its place. The check must print
Good "file" signature with the key
SHA256:ut6bginhZ4lZINMSXNDv3vJ6fyvmDHhtnoBJH0/Nr9Y
and docker-compose.yml: OK. If not, the file is removed.
The last line removes the key and the signed list, which only the
check needs.
More on verifying.
mkdir -p porch && cd porch
for f in docker-compose.yml SHA256SUMS SHA256SUMS.sig; do curl -fsSLO "https://github.com/denyfirst/porch/releases/download/v0.37.0/${f}"; done
echo 'releases@denyfirst.dev ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDD7Ie9zRf76RynH052/Abkv5k2nzosQd2DihyQMixVR' > allowed_signers
ssh-keygen -Y verify -f allowed_signers -I releases@denyfirst.dev -n file -s SHA256SUMS.sig < SHA256SUMS && grep -qF "_v0.37.0_" SHA256SUMS && sha256sum --ignore-missing -c SHA256SUMS || { rm -f docker-compose.yml; echo 'STOP: docker-compose.yml did not verify and was removed'; }
rm -f allowed_signers SHA256SUMS SHA256SUMS.sig
Create the data folder and start Porch. The first start prints a setup code to the log, once: the last line shows it. Open Porch and choose its password with it. It works once, for fifteen minutes.
mkdir -p porch-data && sudo chown 65534:65534 porch-data
sudo docker compose up -d
sudo docker compose logs porch 2>&1 | grep -A2 "setup code"
Porch listens only on the server. Connect through SSH, then open
http://localhost:8080.
ssh -L 8080:127.0.0.1:8080 you@your-server
docker-compose.ymlRead it before you run it. Step 2 downloads and checks the real file.
services:
porch:
image: ghcr.io/denyfirst/porch@sha256:6ab058eb84ccd9e4ae59108ce74253aef7988f3c36a03b1ececfa4df0e46fc93
command:
- "-listen"
- "0.0.0.0:8080"
- "-verification-secret-file"
- "/data/secret"
- "-access-file"
- "/data/access"
ports:
- "127.0.0.1:8080:8080"
volumes:
- /etc/ssl/certs:/etc/ssl/certs:ro
- ./porch-data:/data
environment:
SSL_CERT_DIR: /etc/ssl/certs
CERTSPOTTER_TOKEN: ${CERTSPOTTER_TOKEN:-}
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
restart: unless-stopped
scan:
image: ghcr.io/denyfirst/porch@sha256:6ab058eb84ccd9e4ae59108ce74253aef7988f3c36a03b1ececfa4df0e46fc93
profiles: ["cli"]
entrypoint: ["/porch-scan", "-verification-secret-file", "/data/secret"]
volumes:
- /etc/ssl/certs:/etc/ssl/certs:ro
- ./porch-data:/data:ro
environment:
SSL_CERT_DIR: /etc/ssl/certs
CERTSPOTTER_TOKEN: ${CERTSPOTTER_TOKEN:-}
read_only: true
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
To upgrade, run step 2 again in the same directory,
then sudo docker compose up -d. To remove it,
sudo docker compose down --rmi all, then delete the directory and the
DNS record. Full guide:
self-hosting
Questions
Six short answers. Each card names the document that says it at length.
No.
Results stay on your own machine, sealed under your password. No account with us, no telemetry.
Source self-host.md
Only yours.
You prove a domain with a TXT record or a file on the site, and the proof is read again on every scan.
Source scope.md
A polite visit.
Handshakes and ordinary requests, a fixed list of files that should never be public, and one connection to each of twenty-one risky ports. No exploits, no logins, and every web request names Porch.
Source checks.md
Docker.
A Linux server with Docker. No Go, no source, no build. The command line also runs on macOS and Windows.
Source README.md
Signed.
Every release is signed and rebuilds byte for byte. Step 2 above checks the signature with this key:
SHA256:ut6bginhZ4lZINMSXNDv3vJ6fyvmDHhtnoBJH0/Nr9Y
Source verify.md
Yes.
Open source under AGPL-3.0. No paid tier, no investors, nothing to sign up for.
Source LICENSE
Tell us privately first, so a fix can ship before anyone else knows.
Report on GitHub security@denyfirst.dev
Anonymous and pseudonymous reports are accepted without question. There is no bug bounty.
PGP key
75B7 A18A 8971 5E37 75DB CA2E A8D9 94D1 221A A045
Encrypt to it if you can. Compare it with SECURITY.md on GitHub first: whoever took this domain could show a key of their own here.