Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
6efd821
libs/codecs: webcpp::codecs as a submodule
Nov 26, 2026
0bf806f
ci: codecs' constant-time lane, its packages and dudect's judge
Nov 27, 2026
c3208e5
ci: codecs' fuzz lane and its packages
Nov 27, 2026
b592ae4
Merge remote-tracking branch 'origin/main' into codecs/genesis
Nov 27, 2026
e31f879
third_party: Bitcoin Core's base58 vectors, test data of codecs
Nov 27, 2026
21cfd62
libs/codecs: the gitlink at codecs built (93a955c)
Nov 30, 2026
a3565a8
build: register codecs, a library of the superproject
Nov 30, 2026
9a74acb
tools: codecs_jamfiles_test, a user's Jamfile of webcpp::codecs on ev…
Nov 30, 2026
7576e90
guidelines: codecs is accepted and built, in chapter 17
Nov 30, 2026
9eb8220
build: codecs' release notes within the line limit
Nov 30, 2026
69a9262
tools: codecs_jamfiles_test lint fix
Nov 30, 2026
af323b1
guidelines: chapter 17's sources point at STATUS.md, the throw_except…
Nov 30, 2026
4a34c4e
libs/codecs: the gitlink at overview's throw_exception rule (ba2a08c)
Nov 30, 2026
c5ead8d
guidelines: chapter 17 says codecs keeps no secret value type or wipe…
Nov 30, 2026
7d034dd
libs/codecs: the gitlink at the final review's fixes (9748826)
Nov 30, 2026
9eb993e
libs/codecs: the gitlink at the residual size-sentinel fix (bb8d0f6)
Nov 30, 2026
f9ed61b
libs/codecs: the gitlink at the encode_fault brief fix (4848c23)
Nov 30, 2026
c703e6e
libs/codecs: the gitlink at the own_format C4458 fix (9e1baee)
Nov 30, 2026
6b6ff87
libs/codecs: the gitlink at the merge of codecs' genesis (80d90d0)
Nov 30, 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
14 changes: 7 additions & 7 deletions .github/workflows/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,14 +423,14 @@ 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 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.
# crypto's, secure's and codecs' 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, and codecs'
# of secure'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.lane == 'constant-time' && (matrix.library == 'crypto' || matrix.library == 'secure') }}
if: ${{ !cancelled() && matrix.lane == 'constant-time' && (matrix.library == 'crypto' || matrix.library == 'secure' || matrix.library == 'codecs') }}
env:
WEBCPP_WASIP2_TEST_TIMEOUT: '1800'
LIBRARY: ${{ matrix.library }}
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,6 @@
[submodule "libs/secure"]
path = libs/secure
url = ../secure.git
[submodule "libs/codecs"]
path = libs/codecs
url = ../codecs.git
5 changes: 3 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ for web developers and for AI developers (`CODING-GUIDELINES.md` chapter 16).
| asio | Boost.Asio with browser event-loop suspension, WASIp2/P3 networking and optional source-built TLS | native, emscripten, wasip2, wasip3 | a submodule at `libs/asio`; see its feature matrix for variants |
| 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 |
| codecs | one contract for converting bytes and values to text and back, and any data through streams; seven formats (hex, base32, base58, base64, bech32, percent, RFC 7468's armor); header-only, percent over Boost.URL; webcpp's own | native, wasip2, wasip3, emscripten; its own lanes `constant-time` and `fuzz` | a submodule at `libs/codecs`; depends on config and secure, percent also on Boost.URL |
| 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 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 |
Expand Down Expand Up @@ -107,8 +108,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, hash, secure, xactor, xstate, pratt, wasi, trystero,
document, idna, lexical, webrtc)
codecs, 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