supabase_chat_seal 0.1.0 copy "supabase_chat_seal: ^0.1.0" to clipboard
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 cryptography Apache-2.0 + crypto BSD-3), so it is safe to use in closed-source apps — unlike the GPL-licensed supabase_chat_e2ee.
  • SealIdentity (generate/restore, BYO-persistable X25519 key pair) and SealManager (per-recipient encrypt, decrypt, trust).
  • PublicKeyDirectory (SupabasePublicKeyDirectory / InMemoryPublicKeyDirectory) for public-key distribution over Supabase.
  • SealedChatRoom decorator: verify-first encrypt-on-send / decrypt-on-receive for 1:1 rooms, with sender self-readback (static pairwise key).
  • Safety numbers + strict requireVerified mode (MITM protection) and IdentityChangedException (key-change rejection).
  • SQL migration for the e2ee_public_keys directory.
  • 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).
0
likes
150
points
55
downloads

Documentation

API reference

Publisher

verified publisherandroidpoet.dev

Weekly Downloads

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.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, cryptography, meta, supabase, supabase_chat, supabase_realtime_kit

More

Packages that depend on supabase_chat_seal