supabase_chat_seal 0.1.0
supabase_chat_seal: ^0.1.0 copied to clipboard
Permissive (MIT) end-to-end encryption for supabase_chat: a sealed box over X25519 ECDH + AES-256-GCM with safety-number verification. No copyleft dependencies, so it is safe to use in closed-source apps.
0.1.0 #
- Initial release.
- Permissive (MIT) opt-in end-to-end encryption for
supabase_chat: a sealed box over X25519 ECDH + HKDF-SHA256 + AES-256-GCM. The server only ever stores ciphertext. - No copyleft dependencies (uses
cryptographyApache-2.0 +cryptoBSD-3), so it is safe to use in closed-source apps — unlike the GPL-licensedsupabase_chat_e2ee. SealIdentity(generate/restore, BYO-persistable X25519 key pair) andSealManager(per-recipient encrypt, decrypt, trust).PublicKeyDirectory(SupabasePublicKeyDirectory/InMemoryPublicKeyDirectory) for public-key distribution over Supabase.SealedChatRoomdecorator: verify-first encrypt-on-send / decrypt-on-receive for 1:1 rooms, with sender self-readback (static pairwise key).- Safety numbers + strict
requireVerifiedmode (MITM protection) andIdentityChangedException(key-change rejection). - SQL migration for the
e2ee_public_keysdirectory. - Docs: device migration & passphrase-encrypted key-backup recipe, the
forward-secrecy / dynamic-key trade-off vs
supabase_chat_e2ee, and a "what E2EE can't do" limits matrix (server-side search/restore, local export).