Skip to content

v2.1.2

Latest

Choose a tag to compare

@jackjackbits jackjackbits released this 02 Dec 23:31
· 14 commits to main since this release

bitchat 2.1.2 delivers major security, privacy, and recovery hardening across Cashu, Tor/Arti, private groups, BLE mesh, Nostr, push notifications, and macOS/iOS stability — including complete Swift strict concurrency (SWIFT_STRICT_CONCURRENCY = complete) with zero warnings, multi-context Tor circuit isolation, Cashu swap recovery protection, offline group key rotation replay, Lock-Screen PTT channel filtering, mesh-first DM failover, and macOS launch crash fixes.

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

Security, Privacy & Cryptography

  • Multi-Context Tor Isolation & Audit Hardening: Isolated Nostr DM, geohash, and courier traffic across separate Tor/Arti circuits with active-session tracking; retained Cashu swap recovery records on 404/501; added encrypted GroupStore at-rest sealing with crash-safe legacy migration; hardened Stealth Mode RAM-only handling, Crew Radar pin expiry, and device-linking confirmation; and resolved all Swift 6 concurrency and AttributeScopes warnings (#2164, #2108, #2095).
  • Complete Strict Concurrency & Protocol Hardening: Enabled SWIFT_STRICT_CONCURRENCY = complete across the app, hardened crypto zeroization, sealed NSE metadata, hardened push-gateway HTTP/APNs JWT/clustering/per-device retry dedup, and removed fail-open protocol defaults for relays and read receipts (#2108, #2091).
  • Rate Limiter, Dedup & Fragment Guards: Switched NoiseRateLimiter to a monotonic unified deque (#2102), moved BLESubscriptionAnnounceLimiter onto ContinuousClock (#2100), honored TTL checks in message deduplication (#2135), and rejected oversized first fragments before evicting active assemblies (#2044).

Mesh, Nostr, Cashu & Transport Reliability

  • Mesh-First DM Failover & Group Delivery Status: Prefer multi-hop BLE mesh before failing over to Nostr for reachable DMs (#2157), fix group message delivery status for unreachable and removed members (#2156), and replay missed group key rotations to offline BLE members upon reconnect (#2164).
  • Blossom Media, Tor Teardown & Noise Barrier Fixes: Fixed Blossom HTTP 415 encrypted media uploads and DM screenshot notices (#2149), moved error.localizedDescription out of the Noise manager barrier to eliminate multi-second BLE queue stalls (#2173), hardened Arti teardown and Tor stall recovery (#2098), fixed DM receipt UI lag and wedged Tor relay connects (#2107), and skipped relay ranking for invalid geohash strings (#2151).
  • Wire Compatibility, Cashu V4 & Cold Launch: Preserved received wire payload encoding across signing and relay (#2087), shared Cashu V4 decoding between chat and wallet (#2081), and fixed cold-launch concurrency, deduplication, and wipe gaps (#1960).

UX, Accessibility & Platform Stability

  • macOS Launch Crash Fix & Split Layout: Weak-linked PushToTalk and guarded the macOS runtime to eliminate macOS launch crashes (#2094), and refined macOS split layout, accessibility, RTL support, and 30-locale NSE localization (#2108, #2164).
  • Lock-Screen PTT Banner & Composer Polish: Filtered Lock-Screen / Dynamic Island PTT speaker banners by the pinned channel (#2153), preserved literal @mentions, #channels, and /commands during autocorrection (#2099), matched @mentions across NFC and NFD nicknames (#2125), and logged framed-file payloadLength rejections (#2121).

Tests, CI & Architecture

  • Added shared cross-platform wire-format golden test vectors (#2089), expanded test coverage across BLE, Nostr, Cashu, Push, Coordinators, NIP-19 Bech32, voice routing, and Push Gateway (#2085, #2088, #2004, #2077, #2155, #2172, #2174), enforced the PR iOS simulator suite list in CI (#2021), and cleaned up stale comments, dead favorites leftovers, and unused view code (#2078, #2079, #2080, #2169).

Contributors

  • jack (jackjackbits)
  • Jozef Koval (jozanek)
  • Taksh Kothari (chessing234)
  • heyaim

Full Changelog: v2.1.1...v2.1.2