HID accepts bonded device connections only.
authorAlain Michaud <alainm@chromium.org>
Tue, 10 Mar 2020 02:35:18 +0000 (02:35 +0000)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
commite80fe4b86876479925f99f7d943f075981b572e4
treed991cc1e9f219c5ba1d18a8e7e466e77d68982dc
parent094860e8ad01039c66a7ac185410cb9c3c56b5be
HID accepts bonded device connections only.

This change adds a configuration for platforms to choose a more secure
posture for the HID profile.  While some older mice are known to not
support pairing or encryption, some platform may choose a more secure
posture by requiring the device to be bonded  and require the
connection to be encrypted when bonding is required.

Reference:
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00352.html
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/input/device.c
profiles/input/device.h
profiles/input/input.conf
profiles/input/manager.c