gurselm/proximity-unlock · Works · Source available

Reversed Apple Watch proximity status flags to enable Linux desktop unlocking with Claude

View JSON
gurselm/proximity-unlock: A Bluetooth proximity unlock daemon for KDE Plasma 6 using iPhone identity and Apple Watch distance.
Image: GitHub (gurselm/proximity-unlock)

Who did what

“Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>”
github.com, checked 27 Nov 2026

The project uses a specific security model that trusts the device rather than the user. It acknowledges that relay attacks are not prevented and that the watch lock flag is reverse-engineered, meaning it could break with future watchOS updates.

What was done

This project implements a Linux proximity unlock system for KDE Plasma 6, using an iPhone for identity and an Apple Watch for distance. It reverse-engineers Apple's Nearby Info flags to detect if a watch is unlocked on the wrist.

The proximity-unlock project provides a Bluetooth-based screen unlocking mechanism for KDE Plasma 6 on Linux. It uses an iPhone to establish an encrypted, bonded classic Bluetooth link for identity verification, while distance is determined via BLE signal strength (RSSI). The system optionally integrates an Apple Watch, which is bonded directly to the Linux host by posing as a BLE heart-rate strap. The author reports that the watch's proximity status is derived from reverse-engineered Apple Nearby Info flags, specifically bit 0x80, which indicates whether the device is unlocked on the user's wrist. The daemon requires a password after boot and enforces a configurable password-age limit to mitigate risks from stolen devices. Commit logs credit Claude Opus 5.5 as a co-author for implementation details, including the guided setup command and background thread management for Bluetooth links. The project is currently experimental and tested on KDE Plasma 6.8. It includes a test suite for verifying presence rules and BLE event parsing without requiring physical hardware. Source

Try it

setup

Pair an iPhone via system Bluetooth settings, then run the guided setup script: git clone https://github.com/gurselm/proximity-unlock && cd proximity-unlock && ./proximity-setup

Discussion

Your library

Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. An automated check matched its claims against them on 30 Nov 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

The weekly dump: new projects, once a week