Skip to content

secure: genesis (the DIT guard, erase_secret, secret, constant_time_equal, declassify and constant-time blocks), built and merged - #34

Merged
pinhopro merged 9 commits into
mainfrom
secure/genesis
Nov 26, 2026
Merged

pinhopro merged 9 commits into
mainfrom
secure/genesis

Conversation

@pinhopro

Copy link
Copy Markdown
Contributor

The genesis of libraries/secure: webcpp::secure, the side-channel and secret-in-memory primitives that crypto, hash and codecs share (the DIT guard, erase_secret, secret, constant_time_equal, declassify and the constant-time blocks), approved by the owner on 2026-11-24, with its plan (reference/plan.md), the owner's decisions (O1 decided: test helpers stay in each library's test/support), hash's and crypto's moves folded into the delivery, and the design and spec as built (the guard leaves DIT as found, Windows on ARM64's clear after a catch, the blocks need DIT on 64-bit ARM).

Built and merged: webcpporg/secure#1, webcpporg/hash#15, webcpporg/crypto#19, webcpporg/webcpp#59. Status implementing until the CI on the superproject's main is green (CONTRIBUTING step 5). Also: hash's tasks note the guard's idle re-measurement; origin/main merged. tools/proposals.py check: 0 problems.

🤖 Generated with Claude Code

R added 9 commits November 24, 2026 13:58
…cret, declassify and constant-time blocks shared by crypto, hash and codecs)

webcpp::secure is a new library approved by the owner on 2026-11-24: the side-channel and
secret-in-memory primitives, no algorithm, depending on config alone, every name under
webcpp::secure. reference/prior holds the guard of config's withdrawn change timing-guard (Windows
on ARM64 included, never pushed), its tests, its shared seam and crypto's headers and tests that
move. The change's files are those of the design branch's commit 375b9eb.
…'s migrations folded into the delivery, O1 decided, the wipe's test seam (B9)

The plan builds webcpp::secure in nine tasks from reference/prior, then moves hash and crypto onto
it, then registers it in the superproject, with the delivery as the controller's checklist. The
owner's decisions of 2026-11-24 are recorded: O1 decided (each library keeps its own test
support), the migrations of hash and crypto are tasks of this delivery (tasks.md sections 7 and
8). Builder's call B9 moves hash's wipe test seam to secure; the spec gains it and the requirement
"One copy in webcpp".
…d, D8's constraint as built: std::unsigned_integral admits bool, the blocks take detail::mask_word, STATUS dated)
…et and cleared), Windows on ARM64's clear after a catch and the guard-free catch, timing_guard_exceptions on the Windows lane, the blocks need DIT on 64-bit ARM and dudect measures them inside a guard, the page's Exceptions section, and the risk
…rypto#19, webcpp#59); the status stays implementing until the CI on main
@pinhopro
pinhopro merged commit 0180a43 into main Nov 26, 2026
2 checks passed
@pinhopro
pinhopro deleted the secure/genesis branch November 26, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant