Re: BLE pairing in Yosemite
Re: BLE pairing in Yosemite
- Subject: Re: BLE pairing in Yosemite
- From: alistair <email@hidden>
- Date: Thu, 13 Nov 2014 12:53:11 +0000
Looking at this further I have a supposition that seems to work. With this I am able to get a bonded and encrypted connection.
I believe that Mavericks didn't encrypt a new connection to a bonded peripheral. So to work around this I forced 'Secure Simple Pairing' on each connection.
This replaced any existing bonding information and started encryption. Yosemite however does start encrypting a bonded connection and will not initiate pairing
with an existing bonded peripheral. Our forcing a new pairing failed, I like this as it addresses the flaw where a cloned peripheral can gain an encrypted connection
by rejecting keys.
If keys are lost the user needs access to the computer to clear the bonding information. This can be done by 'alt clicking' on the bluetooth icon and deleting the
bonded peripheral. NB this has no relation to the list in the bluetooth Preferences dialogue.
Does anybody know how an 'app' can be informed when a connection to fails due to lost keys?
On 10/11/2014 13:37, alistair wrote:
I have a peripheral BLE
device which requires encryption to read a certain
characteristic.
On Mavericks this triggered a request to pair which we
answered with a 'just works' pairing response. This worked
and the connection was then encrypted allowing the reading of
this characteristic.
This does not work on Yosemite, it appears to fail pairing but
keep the failed keys. Attempting to trigger pairing and/or a
higher level of security does not seem to remove the existing
pairing information although the blue tooth preferences do not
indicate that the peripheral is bonded. I do note however
that the blue tooth preferences display is different and does
indicate changes in the area of BLE pairing.
Can anybody help me understand why this is and where we are
going with it?
Mac mini (Late 2012), OS X
Yosemite (10.10)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden