Skip to content

fix: remove unnecessary input snapshots - #467

Merged
HamdaanAliQuatil merged 1 commit into
masterfrom
fix/input-lifetimes
Nov 11, 2026
Merged

HamdaanAliQuatil merged 1 commit into
masterfrom
fix/input-lifetimes

Conversation

@HamdaanAliQuatil

@HamdaanAliQuatil HamdaanAliQuatil commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Follows the decision in #464: callers keep mutable inputs unchanged until the operation completes.

Removes payload and verification-signature snapshots, documents input lifetimes, and replaces mutation-during-operation tests with checks that operations leave caller buffers unchanged. Keeps the small IV/counter copies, FFI buffers, and constant-time HMAC comparison.

The stream-chunk lifetime audit is separate; this does not change how stream chunks are consumed.

Validation: full VM suite passed (1,585 tests, one Valgrind skip). The CLI ASan workload, formatting, lib/test analysis, and JS/Wasm compilation also pass locally. Browser execution and platform integration remain for CI. The iOS job currently cannot start because its runner configuration is unsupported.

@HamdaanAliQuatil
HamdaanAliQuatil merged commit 95b9e8d into master Nov 11, 2026
16 checks passed
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.

2 participants