Learning Path
Post-Quantum PKI Lab
QLAB is an educational resource to help teams understand PKI and Post-Quantum Cryptography (PQC) migration through hands-on practice.
βThe PKI is the tool for transition β post-quantum is an engineering problem, not magic.β
What youβll learn:
- Understand the quantum threats to current cryptography (SNDL, TNFL)
- Assess your PQC migration urgency using Moscaβs theorem
- Issue classical and post-quantum certificates with the same workflow
- Build complete PQC hierarchies (Root CA β Issuing CA β End-Entity)
- Deploy hybrid certificates for backward-compatible migration
- Manage full lifecycle: revocation, OCSP, CRL
- Sign code, timestamp documents, and create LTV signatures
- Encrypt with ML-KEM key encapsulation (the new pattern)
- Practice crypto-agile CA migration
QLAB uses Qpki for all PKI operations.
Installation
Section titled βInstallationβPrerequisites:
- Git β for cloning the repository
- Bash β for running demos (Git Bash or WSL on Windows)
- OpenSSL 3.x β optional, for cross-verification commands
macOS / Linux
Section titled βmacOS / Linuxβgit clone https://github.com/remiblancher/qlab.gitcd qlab./tooling/install.shWindows
Section titled βWindowsβ# 1. Install QPKI (PowerShell)git clone https://github.com/remiblancher/qlab.gitcd qlab.\tooling\install.ps1
# 2. Run demos (requires Git Bash or WSL)./journey/00-revelation/demo.shNote: The install script works in PowerShell, but the demos require Git Bash or WSL.
Getting Started
Section titled βGetting Startedβ./journey/00-revelation/demo.shLearning Path
Section titled βLearning PathβTotal time: ~2h | Quick path: 20 min (Revelation + Quick Start)
πΊοΈ Journey Map
Section titled βπΊοΈ Journey Mapβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ AWARENESS BUILD LIFECYCLE ββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββ βLab-00βββLab-01β β βLab-02βββLab-03β β βLab-04βββLab-05β ββ βWhy? β βHow? β βChain β βHybridβ βCRL β βOCSP β ββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββ β ββ MIGRATION ENCRYPTION LONG-TERM SIGS ββ ββββββββ ββββββββ ββββββββ¬βββββββ¬βββββββ ββ βLab-10β β βLab-09β β βLab-06βLab-07βLab-08β ββ βAgile β βKEM β βSign βTime βLTV β ββ ββββββββ ββββββββ ββββββββ΄βββββββ΄βββββββ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββπ Awareness
Section titled βπ Awarenessβ| # | Lab | Time | Takeaway |
|---|---|---|---|
| 0 | The Quantum Threat | 10 min | Your data is already being recorded |
| 1 | Classical vs Post-Quantum | 10 min | Same workflow, just different algorithms |
β Letβs build!
π Build
Section titled βπ Buildβ| # | Lab | Time | Takeaway |
|---|---|---|---|
| 2 | Full PQC Chain | 10 min | Build a 100% PQC chain |
| 3 | Hybrid | 10 min | Or hybrid to coexist with legacy |
β PKI operations stay identical
βοΈ Lifecycle
Section titled ββοΈ Lifecycleβ| # | Lab | Time | Takeaway |
|---|---|---|---|
| 4 | Revocation | 10 min | Revoke = same command |
| 5 | OCSP | 10 min | Verify = same protocol |
β Sign, timestamp, archive for decades
πΌ Long-Term Signatures
Section titled βπΌ Long-Term Signaturesβ| # | Lab | Time | Takeaway |
|---|---|---|---|
| 6 | Code Signing | 10 min | Signatures that outlive the threat |
| 7 | Timestamping | 15 min | Prove WHEN, forever |
| 8 | LTV | 15 min | Bundle proofs for offline verification |
β Except for encryptionβ¦
π Encryption
Section titled βπ Encryptionβ| # | Lab | Time | Takeaway |
|---|---|---|---|
| 9 | Encryption | 15 min | KEM keys require a new pattern: attestation |
β And for production migration?
π§ Migration
Section titled βπ§ Migrationβ| # | Lab | Time | Takeaway |
|---|---|---|---|
| 10 | Crypto-Agility | 15 min | CA versioning + trust bundles |
Algorithms
Section titled βAlgorithmsβPost-Quantum (NIST 2024)
Section titled βPost-Quantum (NIST 2024)β- ML-DSA (FIPS 204) β Lattice-based signatures β replaces ECDSA
- SLH-DSA (FIPS 205) β Hash-based signatures (conservative)
- ML-KEM (FIPS 203) β Key encapsulation β replaces ECDH
Hybrid (Transition)
Section titled βHybrid (Transition)β- Catalyst certificates (ITU-T X.509 9.8)
- Composite certificates (supported, no lab demo)
See Qpki for the full list of supported algorithms.
Resources
Section titled βResourcesβ- Qpki β The PKI toolkit used by QLAB
- Glossary β PQC and PKI terminology
- Troubleshooting β Common issues and solutions
- NIST Post-Quantum Cryptography
- FIPS 203 (ML-KEM)
- FIPS 204 (ML-DSA)
- ITU-T X.509 (Hybrid Certificates)
License
Section titled βLicenseβApache License 2.0 β See LICENSE