Add response validation and inclusion proof caching#228
Merged
Conversation
alessandromazza98
approved these changes
Feb 20, 2026
Merged
agentotto bot
pushed a commit
that referenced
this pull request
Mar 18, 2026
…en_mutex The upstream thread-safety fix for sqlite3mc_cipher_name (issue #228) was committed to sqlite3mc main in 07a1a60 on 2026-03-18, five days after the v2.3.1 release. Rather than waiting for the next release, pin the build directly to the fix commit via GitHub's /archive/<sha>.zip URL. build.rs changes: - Replace the release-zip URL with the commit-SHA source archive URL (https://github.com/utelle/SQLite3MultipleCiphers/archive/07a1a60...zip) - SHA-256: 014d49636fea11fd598089f0ee4d19f022edc3aead0c769156444618eba6f051 - Extract the full source tree from the archive (stripping the GitHub-added top-level prefix directory) - Run the bundled scripts/amalgamate.py to generate sqlite3mc_amalgamation.c and sqlite3mc_amalgamation.h before compiling (python3 required at build time) - SQLite version bundled at this commit: 3.51.3 ffi.rs changes: - Remove open_mutex() and its OnceLock/Mutex imports - Restore sqlite3_open_v2 to a direct unsafe call (no Rust-side serialization) The upstream fix replaces the sqlite3mcConfigureFromUri → sqlite3mc_cipher_name call path (which wrote to a static char[] buffer shared across threads) with a new sqlite3mcFindCipherName helper that returns a stable pointer into globalCodecDescriptorTable memory — making concurrent opens race-free without any Rust-side locking. Upstream issue: utelle/SQLite3MultipleCiphers#228 Fix commit: utelle/SQLite3MultipleCiphers@07a1a60
agentotto bot
pushed a commit
that referenced
this pull request
Mar 20, 2026
The thread-safety fix for sqlite3mc_cipher_name (upstream issue #228, commit 07a1a60) has landed in the official v2.3.2 release (2026-03-19). Switch build.rs from the raw GitHub commit-SHA source archive to the official release amalgamation zip: URL: https://github.com/utelle/SQLite3MultipleCiphers/releases/download/v2.3.2/sqlite3mc-2.3.2-sqlite-3.51.3-amalgamation.zip SHA256: 3462d3f09e91daa829b8787d93f451168fbafc4ccbf9d579f5e4117416f5c82d The release zip ships sqlite3mc_amalgamation.c/.h pre-generated at the archive root, so the amalgamate() helper and the Python 3 build-time dependency are no longer needed and have been removed.
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.
No description provided.