Feat/Add Crypto Libs #3

Merged
pn merged 35 commits from feat/add-crypto-libs into main 2026-01-10 21:59:18 +00:00
Showing only changes of commit e5230a6360 - Show all commits

View File

@@ -61,7 +61,7 @@ This document outlines the SQL schema design for the Nebula wallet's **encrypted
### SQLite WASM + Encryption
1. **Encryption**: Database encrypted with key derived from WebAuthn PRF extension
2. **Pure Go Driver**: `modernc.org/sqlite` (WASM compatible, no CGO)
2. **Pure Go Driver**: `github.com/ncruces/go-sqlite3` (WASM compatible, no CGO)
3. **Minimal Schema**: Only security-critical data in enclave
4. **INTEGER PRIMARY KEY**: Auto-increment without AUTOINCREMENT overhead
5. **TEXT for binary**: Base64 encoded (BLOB performance poor in WASM)