Spork 101
Certificate authorities explained
🏛️ Think of the DMV
The DMV verifies your identity and issues a license. A Certificate Authority (CA) does the same for websites — verifies ownership and issues a certificate.
Checks your identity
Gives you a license
Checks a website's identity
Gives it a certificate
📄 What Does a Certificate Do?
Proves identity. Your browser checks the certificate and shows a padlock if it's valid.
🔗 How Trust Works
Your browser ships with a list of trusted CAs. If the certificate was signed by a trusted CA, the browser accepts it. This system is called PKI (Public Key Infrastructure).
✍️ Certificates Use Signatures
A CA signs each certificate using math (RSA or ECDSA today). The signature proves the certificate is authentic and unmodified.
⚠️ That Math Will Break
Quantum computers can solve the math behind RSA and ECDSA efficiently. A broken signature means the certificate cannot be trusted.
💡 New Math Exists
NIST published post-quantum standards in August 2024. CAs need to adopt them.
🥄 CA Software
Spork is a certificate authority written in Rust. It issues, manages, and revokes certificates — the same services commercial CAs provide, in a single binary.
🔐 Post-Quantum From Day One
Supports NIST post-quantum algorithms alongside classical ones. Issue certificates with old math, new math, or both.
🧰 Built-In Toolkit
- OCSP — Answers the question: "Is this certificate still valid?"
- CRL — A published list of revoked (canceled) certificates.
- ACME — Automatic certificate issuing. No manual steps needed.
- EST — Enterprise enrollment. For organizations with many servers.
- SCEP — Device enrollment. For phones, routers, and IoT devices.