github permissionlesstech/bitchat v2.1.0

54 minutes ago

bitchat 2.1.0 introduces opt-in zero-knowledge APNs push notifications with on-device decryption, end-to-end encrypted remote media over Blossom, Offline Crew Mode with encrypted Crew Radar pins and check-ins, standard Nostr NIP-17 interop, QR device linking & Recovery Kits, a built-in Cashu ecash wallet, Universal Invite Links (bitchat.free), an app-wide performance overhaul, and deep privacy & security hardening.

Platform requirements: iOS 17.0+ / macOS 14.0+ (build 1).

Zero-Knowledge Push Notifications & Multi-Region Gateway

  • Opt-in Background Notifications (Everyday Mode): Added PushWakeupService and bitchatNotificationServiceExtension for instant DM alerts with zero-knowledge on-device NIP-44 v2 decryption—no plaintext, senders, or contacts ever leave your device; hard-disabled in Stealth Mode and immediately revoked on opt-out or Panic Wipe (#1985, #1991, #1994).
  • Multi-region Fly.io 6PN push gateway (push-gateway): Added ClusterCoordinator with Fly.io 6PN peer discovery, Rendezvous (HRW) pubkey sharding, CRDT LWW registration + tombstone replication, 30-day inactivity TTL, and apns-collapse-id deduplication (#1985, #1991, #1992, #1995).
  • Stale & duplicate DM notification suppression: Added make-before-break EOSE gating, 54h NIP-59 freshness filtering, and persisted/replicated seenEventIDs on push-gateway; silenced stale (>24h) and already-seen DMs in the Notification Service Extension; matched both outer giftWrap.id and inner messageID in main-app dedup; preserved private DM dedup across geohash channel switches; and awaited processed-event preload on silent-push wake-ups (#1995).

Encrypted Remote Media, Offline Crew Mode & Universal Links

  • Encrypted remote media over Blossom: Send end-to-end encrypted photos and voice notes in remote DMs and private groups using random per-file ChaCha20-Poly1305 keys transmitted only inside the encrypted chat envelope (#1993).
  • Offline Crew Mode: Opt-in encrypted Crew Radar pins (kept strictly in RAM with automatic TTL expiry, never written to disk or persistent outbox) and one-tap Safe / Moving / Meetup / SOS check-ins over Bluetooth mesh and Nostr (#1985, #1994).
  • Universal Invite Links (bitchat.free): Shareable https://bitchat.free/invite and https://bitchat.free/crew Universal Links backed by Associated Domains and hosted AASA/fallback pages (#1993, #1995).

Nostr NIP-17 Interop, Device Linking & Cashu Ecash Wallet

  • Standard NIP-17 / NIP-44 v2 / NIP-59 interop: Seamlessly exchange encrypted DMs with external NIP-17 Nostr clients (Damus, Amethyst, Primal, etc.) and sync sent messages across linked devices via self-copies (#1985).
  • Device Linking & Recovery Kits: Pair a second device locally via short-lived encrypted QR codes (bitchat://link) or export a passphrase-encrypted Recovery Kit (#1985).
  • Cashu Ecash Wallet: Optional non-custodial Chaumian ecash wallet (NUT-01/02/03/07/09/12) with strict token validation and Tor-routed mint calls, supporting online and offline token transfers directly in chat (#1985, #1753).

Performance, Privacy Hardening & Polish

  • App-wide performance overhaul: Major hot-path optimizations across BLE, crypto, storage, UI, 3D Globe, image downsampling, and lifecycle transitions, plus gating the app-switcher privacy cover on Stealth/RAM-only mode (#1971, #1975, #1987, #1990).
  • Privacy & security sweep: Full Keychain uninstall/reinstall & panic coverage across all services and shared push access groups; fail-closed previews and ChaCha20-Poly1305-sealed 24h notification handoffs; isExcludedFromBackup = true across Application Support, media, sealed stores, caches, and Arti Tor state; RAM-only Crew GPS delivery; blocked HTTP 3xx redirects and hardened non-global IP/credential filtering across Blossom, Cashu, and Push HTTP clients; and updated Privacy Policy & Privacy Manifests (#1991, #1994, #1995).
  • UI & reliability fixes: Redesigned People sheet rows (#1988), UX polish & mesh reaction fixes (#1993), improved multi-device logging (#1989), Nostr DM retry OK fencing (#1978), OSAllocatedUnfairLock Keychain concurrency cleanup (#1561), and SwiftLint force_cast enforcement (#1727).

Full Changelog: v2.0.0...v2.1.0

Don't miss a new bitchat release

NewReleases is sending notifications on new releases.