Feature/secure-storage-integration (web + native)#545
Draft
0xB19 wants to merge 1 commit intofeature/secure-storagefrom
Draft
Feature/secure-storage-integration (web + native)#5450xB19 wants to merge 1 commit intofeature/secure-storagefrom
0xB19 wants to merge 1 commit intofeature/secure-storagefrom
Conversation
9fdfe76 to
56ed2ab
Compare
448b759 to
e8cbea9
Compare
6cb7d87 to
ff2b0de
Compare
… optimizations Native Capacitor plugin (iOS/Android): - SecureStoragePlugin (Swift/Kotlin) with UniFFI bindings to Rust - 8MB stack threads for PQ crypto, parallel execution (3 threads) - Build scripts, XCFramework, jniLibs - Biometric Secure Enclave fixes Web storage: replace OPFS+WAL with IndexedDB: - New IdbBlockStorage: in-memory HashMap for sync VFS + async IDB persistence - Delete opfs_wal_storage.rs + wal.rs (-800 lines) - Fire-and-forget flush timer (non-blocking worker) - Same key-value model as redb on native Shared VFS write buffering (pending.rs): - Buffer writes in x_write, coalesce at x_sync - Group by contiguous blocks (avoid re-encrypting untouched intermediate blocks) - synchronous=NORMAL so SQLite calls x_sync at COMMIT SDK optimizations: - withTransaction batching (addMessage, discussion init, send queue) - Deferred session persist (beginDeferPersist/flushPersist) - sendMessage always persists immediately (ratchet safety) Build: - npm run wasm:build:secure (cargo + wasm-bindgen) - .cargo/config.toml with 4MB WASM stack
ff2b0de to
04e7b57
Compare
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.