← Tutorials & Labs

Lab Setup

Setting up and troubleshooting a local lab environment.

A subcategory of Tutorials & Labs, collecting its introduction, articles and resource entry points.

§

Articles here

22 Nov 2026 Tutorials & Labs

Systematic Debugging of Build Failures: Logs, Bisection and Minimal Reproductions

A general method for build failures: preserve the scene completely first, read the log from the first error, narrow the scope layer by layer with version, configuration and dependency bisection, and converge on a minimal reproduction.

Debugging MethodBuildsBisectionMinimal Reproduction

Read more →
22 Nov 2026 Tutorials & Labs

Freezing a Reproducible PQC Lab Environment into a Docker Image

Write your PQC lab environment into a Dockerfile and pin every layer: base image, system packages and source commits all fixed, with the digest recorded after the build, so the same experiment gets the same environment on any machine.

DockerReproducibilityImagesEnvironment Freezing

Read more →
22 Nov 2026 Tutorials & Labs

Version Pinning and Snapshots for Your Lab Environment

A four-layer pinning method for reproducible environments: system packages, language packages, source commits and image digests fixed layer by layer, paired with a snapshot strategy and a rollback drill, so any experiment can return to the environment state it ran in.

Version PinningSnapshotsReproducibilityEnvironment Management

Read more →
22 Nov 2026 Tutorials & Labs

Building liboqs from Source: An Environment Troubleshooting Handbook

The common environment failures of a liboqs source build, class by class: missing or outdated toolchain pieces, OpenSSL headers and link paths, the dynamic-library cache, and Python bindings that cannot find the library — each with a locating command and a fix.

liboqsBuild TroubleshootingCMakeSource Build

Read more →
22 Nov 2026 Tutorials & Labs

Lab Setup Checklist: Building a PQC Development Environment on Linux from Scratch

A tick-box checklist for setting up a PQC lab environment: verify the distribution and CPU instruction sets, install the toolchain and cryptography dependencies item by item, and finish with a set of version checks so environment drift never contaminates your results.

LinuxEnvironment SetupToolchainChecklist

Read more →
22 Nov 2026 Tutorials & Labs

Building a Local Test CA with openssl ca

Stand up a local test certificate authority from scratch with OpenSSL's built-in ca command: the directory skeleton and configuration file, root CA generation, server certificate issuance and verification, plus the classic failures — serial conflicts and database corruption.

OpenSSLCACertificatesPKI Lab

Read more →
22 Nov 2026 Tutorials & Labs

Two-Machine and VM Lab Topologies: Putting Client and Server in Their Places

Build a two-machine topology for PQC protocol experiments: choosing among the three VM network modes, static addresses and connectivity checks, injecting delay and loss with tc netem, and finally documenting the topology so it can be reset in one step.

Virtual MachinesNetwork TopologynetemExperiment Design

Read more →
22 Nov 2026 Tutorials & Labs

Setting Up Wireshark to Capture a TLS 1.3 Handshake with PQC Groups

From installation and capture privileges to reading the capture: capture a TLS 1.3 handshake in Wireshark or tshark, locate hybrid post-quantum groups such as X25519MLKEM768 in the key_share extension, and decrypt application data with a key log file for cross-checking.

WiresharkTLS 1.3Packet CaptureHybrid Key Exchange

Read more →
§

More in this section