Skip to content

Add synchronous browser storage primitives - #525

Closed
Dzejkop wants to merge 1 commit into
codex/supplied-storage-keysfrom
codex/browser-storage-support
Closed

Add synchronous browser storage primitives#525
Dzejkop wants to merge 1 commit into
codex/supplied-storage-keysfrom
codex/browser-storage-support

Conversation

@Dzejkop

@Dzejkop Dzejkop commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Add synchronous Rust storage components for browser hosts and share SQLite connection configuration between encrypted vaults and plaintext blob databases.

  • Add a software keystore backed by a host-supplied secret and a SQLite atomic blob store, with UniFFI constructors for both.
  • Open and close the blob database connection on every operation. The database stores already-sealed blobs.
  • Extract common SQLite configuration and plaintext opening alongside the encryption-specific code, including OPFS SAH pool support.
  • Keep generic storage primitives in walletkit-db and the UniFFI adapters in walletkit-core.

This PR sits above #522 and below #523. Native primitive tests live alongside the implementations; browser integration coverage remains in #523 with its browser test harness. The split preserves the previously tested combined tree.

@Dzejkop
Dzejkop force-pushed the codex/browser-storage-support branch from e1e3253 to 6a41a57 Compare September 9, 2026 14:48
@Dzejkop
Dzejkop force-pushed the codex/supplied-storage-keys branch from 82b960c to 13757ea Compare September 9, 2026 15:47
@Dzejkop
Dzejkop force-pushed the codex/browser-storage-support branch from 6a41a57 to 7fd8cfa Compare September 9, 2026 15:47
@Dzejkop Dzejkop closed this Sep 10, 2026
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.

1 participant