Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b1972f8
libs/secure: webcpp::secure as a submodule
Nov 24, 2026
dc61dda
tools: secure_jamfiles_test, a user's Jamfile of webcpp::secure on ev…
Nov 25, 2026
b3fd97c
ci: secure's constant-time lane, its packages and dudect's judge
Nov 25, 2026
7c819a7
tools: secure_collect_test
Nov 25, 2026
ba175e8
tools: secure_collect_test covers the load note
Nov 25, 2026
48046a7
Merge remote-tracking branch 'origin/main' into secure/genesis
Nov 25, 2026
07f7c6d
tools: hash's DIT section names secure's guard and Windows on ARM64, …
Nov 25, 2026
c6b36cb
tools: the user Jamfile tests' library lists within 100 columns
Nov 25, 2026
16db4fa
tools: hash's DIT section names crypto's timing_nested_hash_test, and…
Nov 25, 2026
445b12e
build: register secure, a library of the superproject
Nov 25, 2026
6fcf44c
guidelines: secure is accepted and built, in chapter 17, and crypto's…
Nov 25, 2026
d38b436
libs/secure, libs/hash, libs/crypto: the gitlinks at secure built and…
Nov 25, 2026
e726bc1
guidelines: hash's and crypto's pages keep their own provisional guar…
Nov 25, 2026
55e4895
libs/secure, libs/hash, libs/crypto: the gitlinks at the final review…
Nov 25, 2026
a364e35
guidelines: hash's increments 1 to 7 are merged, in webcpporg/hash, o…
Nov 25, 2026
ba2195e
libs/secure, libs/crypto: the gitlinks at item 14's fixes (876351e, 4…
Nov 25, 2026
fc25ea3
guidelines: chapter 17 names the guard's parameter guard_engaged, as …
Nov 25, 2026
1690f78
libs/secure: the blocks page and two messages name the headers' prese…
Nov 25, 2026
0319fa4
libs/secure, libs/hash, libs/crypto: the guard sets DIT again after a…
Nov 26, 2026
df13714
boost: Cobalt's coroutine frames aligned to 16 bytes on MSVC (cobalt-…
Nov 26, 2026
7e48882
libs/hash, libs/crypto: the gitlinks at the E2 and E3 fixes (async_co…
Nov 26, 2026
65fe1b6
boost: the Cobalt alignment patch changes MSVC's build alone (the hea…
Nov 26, 2026
fc2655b
tools/hash: the DIT section of hash's backends page says an exception…
Nov 26, 2026
27422d0
CODING-GUIDELINES: the second Boost patch is named beside the first; …
Nov 26, 2026
36bca37
libs/secure, libs/hash, libs/crypto: the gitlinks at fixer 3's change…
Nov 26, 2026
6fd0cfa
libs/secure: the gitlink at the guard page's rendered braces
Nov 26, 2026
0a1c062
libs: the gitlinks at the guard's idle re-measurement; the guidelines…
Nov 26, 2026
d002b3f
libs/secure, libs/hash, libs/crypto: the gitlinks at the merges of se…
Nov 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,22 +423,24 @@ jobs:
WEBCPP_WASIP2_TEST_TIMEOUT: ${{ (matrix.library == 'crypto' && matrix.lane == 'constant-time') && '1800' || '600' }}
run: python3 tools/ci/matrix.py own-lane "$LANE"

# crypto's constant-time lane: every dudect output printed, a warning for every |t| of 10
# or more, and on a runner GitHub hosts a case over 10 measured again in two fresh
# processes, failing when two of the three exceed 10 (libs/crypto's change api-gaps, D7).
# The launcher's bound is the lane's, so a run of the judge's own lasts at most that, and
# the judge's subprocess timeout (2400 s) lies beyond it.
# crypto's and secure's constant-time lanes, each by its own library's judge: every dudect
# output printed, a warning for every |t| of 10 or more, and on a runner GitHub hosts a case
# over 10 measured again in two fresh processes, failing when two of the three exceed 10
# (libs/crypto's change api-gaps, D7; secure's judge is a copy of crypto's). The launcher's
# bound is the lane's, so a run of the judge's own lasts at most that, and the judge's
# subprocess timeout (2400 s) lies beyond it.
- name: Judge dudect
if: ${{ !cancelled() && matrix.library == 'crypto' && matrix.lane == 'constant-time' }}
if: ${{ !cancelled() && matrix.lane == 'constant-time' && (matrix.library == 'crypto' || matrix.library == 'secure') }}
env:
WEBCPP_WASIP2_TEST_TIMEOUT: '1800'
LIBRARY: ${{ matrix.library }}
TARGET: ${{ matrix.platform }}
RERUN: ${{ runner.environment == 'github-hosted' && '--rerun' || '' }}
shell: bash
run: |
# RERUN is empty off the hosted runners, so it is left unquoted to vanish.
# shellcheck disable=SC2086
python3 libs/crypto/test/constant_time/dudect_judge.py --bin bin \
python3 "libs/$LIBRARY/test/constant_time/dudect_judge.py" --bin bin \
--target "$TARGET" $RERUN --launcher tools/boost/asio-wasip2/run.sh

- name: Save the third-party builds
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,6 @@
[submodule "third_party/libs/botan"]
path = third_party/libs/botan
url = https://github.com/randombit/botan.git
[submodule "libs/secure"]
path = libs/secure
url = ../secure.git
8 changes: 5 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ for web developers and for AI developers (`CODING-GUIDELINES.md` chapter 16).
| beast | HTTP and WebSocket applications using native/WASIp3 sockets, browser WebSocket/fetch, WASI host HTTP or supplied streams | native, emscripten, wasip2, wasip3, by backend | a submodule at `libs/beast`; all 53 upstream applications remain in its compatibility matrix |
| cobalt | Boost.Cobalt coroutine applications with shipped Wasm adaptations and optional corrected SSL | native, emscripten, wasip2, wasip3, by capability | a submodule at `libs/cobalt`; see its feature and application matrices for variants |
| config | webcpp's configuration, which every library includes first: the target, exceptions and webcpp's version, as Boost.Config is Boost's; webcpp's own | native, wasip2, wasip3, emscripten | a submodule at `libs/config` |
| crypto | AES-GCM, the AES block cipher, random_device, constant_time_equal and secp256k1 over C libraries built from source (BearSSL, OpenSSL, libsecp256k1, ctaes), webcpp's own | native, wasip2, wasip3, emscripten (OpenSSL not on emscripten); its own lane c-suites | a submodule at libs/crypto |
| crypto | AES-GCM, the AES block cipher, random_device and secp256k1 over C libraries built from source (BearSSL, OpenSSL, libsecp256k1, ctaes), webcpp's own | native, wasip2, wasip3, emscripten (OpenSSL not on emscripten); its own lane `c-suites` | a submodule at `libs/crypto`; depends on hash and secure |
| hash | hashing and key derivation: Boost.Hash2's algorithms by alias, Keccak-256, BLAKE3, HKDF, PBKDF2, Argon2 and scrypt over C backends (XKCP, BLAKE3, libsodium, BearSSL, OpenSSL, Botan) and a browser backend; a wrapper | native, wasip2, wasip3, emscripten (by backend); its own lane `c-suites` | a submodule at `libs/hash`; depends on config and secure |
| secure | the side-channel and secret-in-memory primitives crypto, hash and codecs share (the DIT timing guard, `erase_secret`, `secret<N>`, `constant_time_equal`, `declassify` and constant-time building blocks); no algorithm; webcpp's own | native, wasip2, wasip3, emscripten; its own lane `constant-time` | a submodule at `libs/secure`; header-only, depends on config alone |
| xactor | a deterministic actor system, webcpp's own | native, wasip2, wasip3 (`xactor_asio` native only) | a submodule at `libs/xactor`; the model for every port |
| xstate | a port of XState 5.33.2's state machines and actors; depends on xactor and Boost.JSON | native, wasip2, wasip3; its oracle lane | a submodule at `libs/xstate`; the first user of the shared oracle (`CODING-GUIDELINES.md` chapter 12) |
| pratt | a Pratt parser engine, generic through concepts, with a calculator built on it, webcpp's own | native, emscripten, wasip2, wasip3 | a submodule at `libs/pratt`; born with the allocation rule (`CODING-GUIDELINES.md` chapter 4) |
Expand Down Expand Up @@ -105,8 +107,8 @@ webcpp/
.clang-tidy clang-tidy's checks, every repository's
pyrightconfig.json Pyright's settings for every Python file
libs/<name>/ a library: a repository of its own, a submodule here (asio, beast, cobalt,
config, crypto, xactor, xstate, pratt, wasi, trystero, document, idna,
lexical, webrtc)
config, crypto, hash, secure, xactor, xstate, pratt, wasi, trystero,
document, idna, lexical, webrtc)
third_party/ third-party code the libraries and their tests use, not webcpp's: each
a submodule under third_party/libs/, pinned at a commit and keeping its
own licence (openssl, libdatachannel, bearssl, secp256k1, bitcoin for
Expand Down
Loading
Loading