← All projects
Project record1 mention
Originally shared on Hacker News

SQLite VFS encryption extension (libsodium)

An open source SQLite VFS extension that adds modern encryption using libsodium. It takes the VFS approach rather than modifying the SQLite source as SQLCipher does, keeps the vanilla SQLite source intact, and relies on a modern encryption library plus extensive testing to earn user trust.

Last shared
01 / The problem

What it addresses

Existing SQLite encryption approaches like SQLCipher require adapting the SQLite source; using a VFS instead is not straightforward but feasible, and users need convincing that a VFS-based extension is viable.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. SQLite VFS encryption extension (libsodium)

    An open source SQLite VFS extension that adds modern encryption using libsodium. It takes the VFS approach rather than modifying the SQLite source as SQLCipher does, keeps the vanilla SQLite source intact, and relies on a modern encryption library plus extensive testing to earn user trust.

    Problem: Existing SQLite encryption approaches like SQLCipher require adapting the SQLite source; using a VFS instead is not straightforward but feasible, and users need convincing that a VFS-based extension is viable.

    Posted by @lifeinthevoid · Original source ↗

    Source text · @lifeinthevoid · · Source ↗

    I’m working on an Open Source SQLite VFS extension with modern encryption using libsodium. Using the VFS instead of adapting the source like SQLcipher is not straightforward but feasible. I hope that a modern encryption library, extensive testing and using vanilla SQLite source can convince users to give the extension a chance.