Give some permissions to bluetooth
The bluetooth user will need to encrypt and decrypt data to ensure
that the integrity of passwords can be verified. These provide
the needed permissions to create/remove keys and sign/verify using them.
Bug: 117993149
Test: Bluetooth operations from the UI work
Change-Id: I52fda2ec78c1b390ae668b8a3f37fc4dbb35e857
Merged-In: I9092c2c282f26b40cd15da84125e6e11354ec48b
diff --git a/keystore/permissions.cpp b/keystore/permissions.cpp
index 1ba91d9..c86a02a 100644
--- a/keystore/permissions.cpp
+++ b/keystore/permissions.cpp
@@ -68,6 +68,7 @@
{AID_SYSTEM, static_cast<perm_t>((uint32_t)(~0))},
{AID_VPN, static_cast<perm_t>(P_GET | P_SIGN | P_VERIFY)},
{AID_WIFI, static_cast<perm_t>(P_GET | P_SIGN | P_VERIFY)},
+ {AID_BLUETOOTH, static_cast<perm_t>(P_GET | P_INSERT | P_DELETE | P_EXIST | P_SIGN | P_VERIFY)},
{AID_ROOT, static_cast<perm_t>(P_GET)},
};