This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 5932b3c2 apps/bttester: do not distribute CSRK
5932b3c2 is described below

commit 5932b3c2dd5275c83c10daa95c3e08ad9528f980
Author: Krzysztof Kopyściński <krzysztof.kopyscin...@codecoup.pl>
AuthorDate: Mon Jul 18 10:21:35 2022 +0200

    apps/bttester: do not distribute CSRK
    
    BLE_SM_OUR_KEY_DIST and BLE_SM_THEIR_KEY_DIST should be set to 3,
    as we do not support security mode 2 - CSRK shall not be distributed.
---
 apps/bttester/syscfg.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/bttester/syscfg.yml b/apps/bttester/syscfg.yml
index 330e38d0..0d975bd8 100644
--- a/apps/bttester/syscfg.yml
+++ b/apps/bttester/syscfg.yml
@@ -103,8 +103,8 @@ syscfg.vals:
     BLE_SM_BONDING: 1
     BLE_SM_MITM: 0
     BLE_SM_SC: 1
-    BLE_SM_OUR_KEY_DIST: 7
-    BLE_SM_THEIR_KEY_DIST: 7
+    BLE_SM_OUR_KEY_DIST: 3
+    BLE_SM_THEIR_KEY_DIST: 3
     BLE_SVC_GAP_CENTRAL_ADDRESS_RESOLUTION: 1
     BLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL: 9
     BLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL: 30

Reply via email to