Repository navigation
hash: every key derivation defaults to backends::hash2; retire the measure lane and tools/hash/measure.py - #26
Merged
Merged
Conversation
… and tools/hash/measure.py are retired The owner's decisions of 2026-11-16 (libs/hash at 3c9505a). tools/hash/doc_tables.py renders hash's backends.adoc and measurements.adoc, the reference measured on 2026-11-16, and fails on a hand edit of its data or a function without a default; tools/hash/measure.py and its test are removed, with the CI's setup of an own lane that builds every target and the lint's handling of its WebAssembly commands, which only hash's measure lane used. The fixtures of the removed profile and override messages go; argon2id_default_not_linked and scrypt_default_not_linked come.
pinhopro
pushed a commit
that referenced
this pull request
Nov 16, 2026
main (#26) retired tools/hash/measure.py and its test, whose docstring this branch had reflowed; the test goes, as main says.
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.
Records the new libs/hash (webcpporg/hash#4, 3c9505a) for the owner's decisions of 2026-11-16 (webcpporg/proposals#17, design D33):
backends::hash2is every key derivation's default,backends::sodiumargon2id's and scrypt's; no measurement or define decides a default.tools/hash/doc_tables.pynow renderslibs/hash/doc/backends.adocandmeasurements.adoc(the reference measured on 2026-11-16, which decides nothing), and its check, run at every doc build, fails on a hand edit ofmeasurements.json(digest) or a function without a default. Its test covers both.tools/hash/measure.pyandtools/test/hash_measure_test.py; theOwn lane (hash, measure)setup intools/ci/matrix.py(EVERY_TARGET_LANES) and its test; the lint's handling of a native lane's WebAssembly commands (compile_commands.py), which only that lane used, and its test; the hash_jamfiles fixtures of the removed profile and override messages. Added the fixtures ofargon2id_default_not_linkedandscrypt_default_not_linked.doc/releases/0.1.0.adocdrops the measure lane's lines.Verified locally: libs/hash test and example from scratch on native, wasip2, wasip3, emscripten and gcc-15; libs/crypto native; hash_jamfiles_test, hash_jamfiles_format_test, hash_doc_tables_test, matrix_test, lint_test, actions_test, environment_test, shipped_sources_test and release_test; full lint clean (1037 translation units);
b2 -a docandb2 site.🤖 Generated with Claude Code