Repository navigation
hash: every guard and wipe on webcpp::secure; hash's copies deleted - #15
Merged
Merged
Conversation
added 12 commits
November 25, 2026 05:11
…ery wipe is secure's erase_secret; hash's copies are gone and hash depends on secure
… within the ten lines of Unreleased
…ash/doc_tables.py --write)
…g the targets where it executes nothing (collect.py --render-only)
… tests name secure::detail::wipe
…now reads it again at its end (secure's guard, after Windows on ARM64's catch)
…gned to __STDCPP_DEFAULT_NEW_ALIGNMENT__ (Boost 1.92.0's Cobalt placed it 8 bytes off, and MSVC x64 release faulted on movaps)
… (clang-tidy's static-accessed-through-instance on a static await_ready)
…with a bounds-checked loop in place of string_view::substr, which may throw from a noexcept function (clang-tidy's bugprone-exception-escape)
…an exception leaves DIT as found while it unwinds the call and that Windows on ARM64 clears it after the catch; the MACs page names every system where mac sets DIT
…ns, set 1.2 ns); the provisional NOTE of the guard goes
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hash on webcpp::secure: every keyed function holds
secure::timing_guard(36 sites, the engaged arguments unchanged, the HKDF byte-pieces forms from hkdf-pieces included) and every wipe issecure::erase_secret(88 sites, the same bytes); hash'sdetail/timing.hppanddetail/wipe.hppare deleted with no alias, and hash depends on config and secure. Its own seam recorder and DIT helper stay intest/support/(owner's decision O1).Also:
async_cobaltchecks under MSVC that each promise frame is aligned (Boost.Cobalt 1.92.0's frames were 8 mod 16 on MSVC, a crash in release; the superproject's CI carries upstream's fix as a Boost patch); the DIT section of the backends page, regenerated, says what Windows on ARM64 does after a catch; the guard's rows measured again on an idle machine; the changelog.Verified locally before merge on every lane with secure and crypto (clang, gcc-15, wasip2, wasip3, Emscripten, release builds, macOS and Linux lint, MSVC 14.3 and 14.5 x64 debug, MSVC 14.5 arm64 debug for the timing tests). Depends on webcpporg/secure#1 (merged).
🤖 Generated with Claude Code