InfiniTimeOrg / InfiniTimeOrg/InfiniTime

Bluetooth Low Energy Privacy (MAC randomisation)

Open
#736 5 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C
Stars
3.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

  • I searched for similar feature request and found none was relevant.
Pitch us your idea!

I want PineTime Bluetooth MAC address to change periodically.

Description

Bluetooth and Wi-Fi scanning is widely used by Apple and Google to improve location services as an alternative to GPS geolocation. This works on smartphones by periodically sending aforementioned companies a list of discoverable Wi-Fi SSIDs and Bluetooth MACs that are in scanning range. In practice, this means that while PineTime's Bluetooth MAC is static and there are any smartphones of non-privacy-conscious users (e.g. a fellow passenger on the bus) in range with the Bluetooth scanning enabled, it is trivial for Apple & Google (and whomever this information is sold to or shared with, legally or not) to build an extensive profile of such PineTime user’s movements.

The NimBLE stack supports Bluetooth LE privacy:

LE Privacy 1.2 for frequent changes to the device address to make it difficult to track for outsiders

I propose adding this important feature to protect PineTime users from global location tracking by third parties.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the NimBLE documentation linked in the issue, focusing on its LE Privacy 1.2 support and how it applies to PineTime. The issue names no source files or tests, so locate the Bluetooth initialization and advertising entry points first. Done means the device periodically changes its Bluetooth address while remaining discoverable and usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
embedded-iot, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.