Hasty Briefsbeta

Bilingual

Magic Switch: Share Apple Magic keyboard/track-pad/mouse between two Macs

6 hours ago
  • Magic Switch is a free, open-source macOS app for sharing Apple Magic Keyboard, Trackpad, or Mouse between two Macs without an Apple ID or USB re-pairing.
  • The app was created as an improved alternative to the existing blue-switch software, which lacked security, authentication, encryption, and proper error handling.
  • Magic Switch uses a 12-character pairing code with PBKDF2-HMAC-SHA256 for secure mutual authentication, ChaCha20-Poly1305 encryption, and rate-limiting to prevent attacks.
  • The handoff process includes pre-flight checks, rollback on failure, and single-device or all-device transfer options to ensure peripherals are never stranded.
  • Ownership of peripherals is determined dynamically by checking live Bluetooth connections and querying the other Mac, preventing conflicts between devices.
  • The UI features a menu-bar popdown with hover hints, auto-updating information, and settings for managing peripherals and paired Macs.