Show HN: Cryptosql (because you assume the data will leak)
Category: security
Tags: encryption, sqlite, privacy, webauthn, design-pattern
Score: 5.5/10 (Innovation: 4, Technical: 5, Documentation: 8, Utility: 5)
CryptoSQL is a design pattern and reference implementation for application-layer field encryption in SQLite-backed apps, assuming the database will leak. It defines public/shared/private column tiers and uses WebAuthn PRF to derive keys, with a runnable todo example. The honest threat model and clear scope are its strongest points.
Target audience: backend devs, full-stack devs
Repository: https://www.bennolan.com/p/220 ยท JavaScript
View on Hacker News