- Build a Postgres at-rest encryption extensions as WASM, that should "just work" as long as you can build the extension.
- Create an encrypted VFS for PGlite. This is doable now, but we haven't yet documents the VFS API as we want to make it a little cleaner.
But yes, it's 100% possible to build an at-rest encryption scheme for PGlite.
- Build a Postgres at-rest encryption extensions as WASM, that should "just work" as long as you can build the extension.
- Create an encrypted VFS for PGlite. This is doable now, but we haven't yet documents the VFS API as we want to make it a little cleaner.
But yes, it's 100% possible to build an at-rest encryption scheme for PGlite.