BLE HID keyboard security question
Posted: Wed Jun 30, 2021 3:57 am
I'm implementing a BLE HID keyboard using the ESP32-BLE-Keyboard library. I have a question about security.
Suppose I pair and bond with the desired remote host (phone or PC) using a PIN. Now if the remote host has Bluetooth turned off and I switch on the BLE keyboard, is it possible for a third party to turn on BLE scanning and pair/bond with the keyboard (assuming they know the PIN) ?
If so, is there any way I can at the time of pairing/bonding, get any permanent / semi-permanent remote host identifier that I can store in ESP32 non-volatile storage? So that I am aware it has changed.
So my issue is I need to generate a whitelist of remote hosts that the keyboard is allowed to send keystrokes to. Is this possible ?
Suppose I pair and bond with the desired remote host (phone or PC) using a PIN. Now if the remote host has Bluetooth turned off and I switch on the BLE keyboard, is it possible for a third party to turn on BLE scanning and pair/bond with the keyboard (assuming they know the PIN) ?
If so, is there any way I can at the time of pairing/bonding, get any permanent / semi-permanent remote host identifier that I can store in ESP32 non-volatile storage? So that I am aware it has changed.
So my issue is I need to generate a whitelist of remote hosts that the keyboard is allowed to send keystrokes to. Is this possible ?