Repository navigation
v1.1.1 — sudo lockout fix + real-device BLE recovery
Fixes
sudo lockout on uninstall/upgrade (#23). The Homebrew cask deleted the PAM module while leaving the /etc/pam.d/sudo reference, which made sudo unable to initialize PAM — a full lockout. Uninstall now restores the pam.d backup (or strips our line) before removing the module. If you're already stuck, recover without sudo:
osascript -e 'do shell script "grep -v pam_touchbridge /etc/pam.d/sudo > /tmp/s && cp /tmp/s /etc/pam.d/sudo && rm /tmp/s" with administrator privileges'Real-device BLE re-identify recovery (#28, #29). Restored CoreBluetooth connections reconnect cleanly instead of reusing stale state; ECDH starts only after characteristics are ready; the daemon recovers when a session key arrives before the connect event. Thanks to @Souitou-iop for the fixes and the first real-iPhone verification.
Also: fixed the depends_on macos: brew deprecation warning; ProximityMonitor no longer sleeps the display during tests.
Install / upgrade
brew update && brew upgrade --cask touchbridge
sudo bash /usr/local/share/touchbridge/patch-pam.sh # re-activate after upgradeFull changelog: CHANGELOG.md