Menu

Two liboqs builds in one container, and two GCC 14 bugs
📰

Two liboqs builds in one container, and two GCC 14 bugs

DEV Community: security·asif naeem·10 days ago
#jZX5wV6h
#devtosecurity#devto#dev#ifdef#include
Long article (1557 words) — no AI summary yet.
Reading 0:00
15s threshold

pqc-probe compares a stock client with an experimental post-quantum one, over both TLS and SSH. Each experimental client is built on liboqs , the Open Quantum Safe library, and building them by hand takes an afternoon of cmake, autoconf and environment variables. So the release ships a Docker image with all four clients ready to use.

Getting there took two upstream bug reports, one library-name collision that would have failed silently, and a build that refuses to finish if the result is wrong. This post walks through each.

Part 5 of a series on building pqc-probe . Earlier: part 1 , part 2 , part 3 , part 4 .

Four stages, one runtime

The Dockerfile is a multi-stage build. Three builder stages carry the compilers, headers and source trees; the final stage copies only what they produced.

The Rust stage is unremarkable. The two OQS stages are where the work is, and they exist separately for a reason that matters later: the TLS stack and the SSH stack each want their own liboqs.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.