skip to content

Which LE association model does a display-less, one-button blood-pressure cuff get when pairing with a phone, and what does it not protect against?

level: juniorimportance: should knowfreq 52%

answer

  1. capability is chosen from input and output
  2. no way to compare or type a number
  3. encrypted, but nobody verified the peer
  4. key agreement differs between legacy and SC

basics

~20 s

A device with no display and no numeric input reports NoInputNoOutput, so the pairing selects Just Works. The link gets encrypted, but the key is unauthenticated: Just Works gives no protection against an active man-in-the-middle during pairing.

solid answer

~40 s

A single button is not enough to take part in any model: the Security Manager maps a yes/no input with no output to NoInputNoOutput, and any pair that includes NoInputNoOutput resolves to **Just Works** (unless both sides hold OOB data). Under LE Secure Connections the key is still agreed with ECDH, so a passive listener cannot derive it, but nothing verifies who is on the other end, so an active interloper present at pairing is not stopped and the key is **unauthenticated**. Under legacy pairing the Temporary Key is zero, so even a passive listener is not stopped. The cuff must therefore not claim MITM protection.

go deeper

for a junior

Know that Just Works needs no display or typing and gives an encrypted but unauthenticated link.

for a middle

Explain how NoInputNoOutput maps to Just Works, what ECDH adds in Secure Connections, and which flag combinations ignore IO capabilities.

for a senior

Predict how a phone that needs authenticated keys reacts, and what a headless peripheral may request in its Security Request.

for a principal

Weigh whether an unauthenticated model plus pairing-window controls is acceptable for the data the device handles.

## What the cuff reports In the pairing feature exchange each device states one IO capability, built from its input and output. A device that can show a six-digit number has numeric output. For input, the Security Manager recognises no input, a yes/no mechanism (two buttons, or one button pressed within a time limit and otherwise taken as no) and a numeric keyboard. The Security Manager maps a device with a yes/no mechanism but **no output** to **NoInputNoOutput** (value `0x03`), because none of the pairing algorithms can use a yes/no input without a display. A cuff with one button and no screen is therefore NoInputNoOutput. ## Why that selects Just Works - If neither device sets the MITM flag, the IO capabilities are ignored and Just Works is used. - If one or both set MITM, the mapping table is consulted, and every cell that involves NoInputNoOutput is Just Works. - Only out-of-band data can override the IO capabilities: in Secure Connections one side holding the peer's OOB data is enough to select the OOB model, in legacy pairing both must hold it. ## What Just Works protects and what it leaves open | | Legacy pairing | LE Secure Connections | |---|---|---| | Key agreement | Temporary Key set to zero by both sides | ECDH on P-256; the commitment check and the six-digit comparison are skipped | | Passive listener at pairing | Not protected | Protected: the public exchange does not reveal the LTK | | Active interloper at pairing | Not protected | Not protected: the peer is not verified | | Resulting key | Unauthenticated | Unauthenticated | NIST's Bluetooth guide says the same thing in plain terms: Just Works provides no MITM protection, and some security modes and levels permit unauthenticated pairing. The key is still a real encryption key. It protects later traffic from someone who was not present at pairing and cannot be trusted to name who holds the other end. ## What changes the outcome - A numeric output (a small display) turns the capability into DisplayYesNo, so a phone that is DisplayYesNo or KeyboardDisplay and a Secure Connections pairing select Numeric Comparison. - OOB authentication data, if the cuff and phone share a second channel, selects the Out of Band model whatever the IO capabilities are. - Neither of these is a software setting on a display-less device: the model follows the hardware the product has. ## What the cuff may and may not say - As the Peripheral it must not request MITM protection in a Security Request: the specification allows that property only when its IO capabilities could support Passkey Entry or OOB data is available. - A phone that requires an authenticated key will end the pairing with a Pairing Failed message carrying the reason Authentication Requirements, because the generated key lacks the properties it needs. The cuff should expect that outcome and not work around it. - A bond made this way stays unauthenticated; the stored keys carry the properties of the pairing. ## What the logs and the phone show - A pairing that ends with the reason Authentication Requirements means the model selected could not deliver the properties one side demanded; on a display-less product this is the expected result when a phone insists on an authenticated key. - A pairing that completes tells you only that keys were created. The Security Manager keeps a record of the security properties with each distributed key, so the stored bond reads as unauthenticated and any service that demands an authenticated key will refuse it later. - The phone's pairing dialog is part of the product experience: with Just Works it shows no number to compare, which is the visible sign of the unauthenticated model. ## What a reviewer should record 1. The IO Capability and OOB data flag the product sends in its Pairing Response (`0x03` and `0x00` for this cuff). 2. Whether the SC flag is set, so that Secure Connections rather than legacy pairing is used with a capable phone. 3. When the cuff accepts pairing at all (for example only while the user holds the button), since the model itself offers no identity check. The reviewer's conclusion is not "Just Works is broken" but "Just Works is unauthenticated; compensate or choose a model that authenticates".

  • The phone asks for MITM protection and the cuff reports NoInputNoOutput. What happens?
    The tables still select Just Works, which yields an unauthenticated key. If the phone needs an authenticated key it ends the pairing with a Pairing Failed message whose reason is Authentication Requirements. Nothing in the cuff turns this into an authenticated pairing; only a different model or OOB data would.
  • Does Secure Connections make Just Works safe against a passive listener, and against a nearby active device?
    Against a passive listener, yes: the key comes from ECDH, so the public exchange does not reveal it. Against an active device at pairing, no: Just Works skips the comparison that would expose a substituted key, so the peer's identity is never checked.

Just Works is a hotel clerk who gives a real room key to whoever walks up and says they are the guest: the lock works and the corridor is private afterwards, but nobody checked the person at the desk.

  • Says Just Works is authenticated because ECDH P-256 is used.
  • Believes pressing the one button counts as verifying the peer.
  • Thinks setting the MITM flag makes a NoInputNoOutput device authenticated.
  • Says Just Works leaves the link unencrypted.
  • Claims legacy Just Works resists a passive listener.

Assumes Core 6.3. LE Secure Connections arrived in Core 4.2; before it, only legacy pairing existed and its Just Works used a zero Temporary Key.