Skip to content

BLE Session

Jmaxxz edited this page Aug 6, 2016 · 7 revisions

August uses BLE for communication between the user's cellphone and their smart lock. The BLE is encrypted however, August uses the just works key exchange mechanism. While this makes things very convenient it is not very secure. However, August does not rely on BLE for securing communication between the lock and the phone. August encrypts all communication between the lock and phone with AES128CBC. While establishing a session both the phone and lock generate 64 random bits (they quality of the lock's random number generator is unknown). This article covers the process used to exchange these bits and establish an encrypted session between the lock and the phone. Once an encrypted session is established commands can be issued to the lock.

Offline session establishment

Offline Session

Online session establishment

Online Session