All projects

Cryptography

Rootward

PKI and cryptography built from scratch: a hand-built three-tier certificate authority, a byte-level X.509 inspector with its own ASN.1/DER parser, and an attack lab of malformed certificates tied to real TLS incidents.

OpenSSL · X.509 · ASN.1/DER · PKI · RSA-4096 · CRL/OCSP

Overview

Rootward is a project to understand public key infrastructure at the byte level. It uses learning certificates only.

Certificate authority

A three-tier certificate authority built by hand with the OpenSSL CLI:

  • an offline RSA-4096 root
  • an intermediate CA
  • leaf certificates

X.509 inspector

A byte-level X.509 inspector with a hand-written ASN.1/DER parser, covering:

  • chains of trust
  • signature verification
  • CRL and OCSP revocation

Attack lab

A set of malformed certificates, each tied to a real TLS incident, to show how certificate validation fails in practice.