Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp195925pxa; Fri, 14 Aug 2020 01:11:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUFFKSBlMVUdEaID4OLskMyTQFoEaTD9Usoq1HxihsQUG1gQVERCQPplIEQtrBFGs7QSQG X-Received: by 2002:a17:906:9717:: with SMTP id k23mr1338628ejx.493.1597392667267; Fri, 14 Aug 2020 01:11:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597392667; cv=none; d=google.com; s=arc-20160816; b=rDNiBc/rdTEuNpFt0UQB7Z35VYNZQuTGyrlQJpFJs/hU4jQrWIQs+HL3cCCaruvDiI AgaAYoGMA5bhgg0DPSR4VTm0S8Yqh+8737iV5E9rvv9ZBGcpQAlXVoC+TSoGJaBARLLh G4vlgr2sg9KF46TUzgGtnEn0tspRLJIe8HbIKPNhz47QFrMuGNtmNKym7NIgBmWJVhVU FjO+0ys+BNHg+2pr9hzoapA2F23q3ed+ewUfA6FTjjh+6xNjCqGWpyRPz7KrcLaXSQF6 j5XBvTAQTINHwWE6GqKqC06C4O5rIBrxKksnJQFqDKZvuDWhfkL5wwJ7m0UVlvQSLLkn V3Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:date:message-id:subject:from:to:dkim-signature; bh=SA8BRs4UvPAdIj12RFtIhXoPxHJyIrccxcow0rqIa9M=; b=JpD5O6TjdiwAjgisjLZviXkQoHlRR3Bj1urZxCXcgj3bmZkhgc6tNsMykRqLjpKFcL 4PjWh6Ho+N2Wi7vcRKm14rf/kDh6j9dnwRc8T+oKg1tdXRKX8x+tmrGv5NvNkfm5ziAH YdepUQuQNmSGPATfsyrfzbG3Yv/pouPwVqr1j4XXRy7zCx7MJWU4r/eJJNTIDdFPlSWO Y9Xy/kcFxsLAf19pmPaordG13DRcVqtpPfvTkJ5qfDteC0EcxEirPgMfaG+khF14cRQX c/ZyyhDbwRBkuI9B0AwloIL9tkW66/GRfznAC+g6dDBJREfmJW4BmEnTUyg7wgUAcEBc 6i4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tugraz.at header.s=mailrelay header.b=B3QqD0b5; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=student.tugraz.at Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cn16si4778027edb.505.2020.08.14.01.10.24; Fri, 14 Aug 2020 01:11:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@tugraz.at header.s=mailrelay header.b=B3QqD0b5; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=student.tugraz.at Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726185AbgHNHxM (ORCPT + 99 others); Fri, 14 Aug 2020 03:53:12 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:60399 "EHLO mailrelay.tugraz.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbgHNHxM (ORCPT ); Fri, 14 Aug 2020 03:53:12 -0400 X-Greylist: delayed 425 seconds by postgrey-1.27 at vger.kernel.org; Fri, 14 Aug 2020 03:53:11 EDT Received: from [129.27.228.116] (tug-swl-228-116.tugraz.at [129.27.228.116]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4BSb8q37dmz3x42 for ; Fri, 14 Aug 2020 09:46:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1597391163; bh=SA8BRs4UvPAdIj12RFtIhXoPxHJyIrccxcow0rqIa9M=; h=To:From:Subject:Date; b=B3QqD0b5H7+YYEDwTvK+axVJquOfP1FNgBGtFEdDAoQtF1dmFSW5abS+3mD7aSNLH 9s8Qmbs55UCPnmMcCu7nS7oPGFlBDz3iQzJFEvmFaH2EEc3X9dXn9QUu2sE2unTB4h dxjJbI8vAVItuwTuYAVkNjd+m3h/Ym+Z6JDdLbTM= To: Bluetooth Kernel Mailing List From: Christian Seifert Subject: [BlueZ] BLE Security Mode 2 Support Message-ID: Date: Fri, 14 Aug 2020 09:46:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Avast (VPS 200813-8, 13.08.2020), Outbound message X-Antivirus-Status: Clean X-TUG-Backscatter-control: 8/uCiIPrZbSKetTI+3UC4A X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello, i am trying to implement a communication channel that uses BLE Security Mode 2 Lvl 1 or 2. Both participants that need to communicate are Raspberry Pi's running Raspberry Pi OS and BlueZ as Bluetooth Stack. The data i want to send is already encrypted which makes Data Signing interesting for me. Does BlueZ Support BLE Security Mode 2 Lvl 1/2 and if yes how can i access the functionality? Furthermore in my research to find the answer for this question i always seemed to come across Security Mode 3 mentioned in combination with BlueZ. Does this simply refer to Security Mode 1 Lvl 3? In order to find an answer for this question: I searched the web rigorously / Tried to find an answer in forums / Read the Documentation / Tried to read the source code / Checked the archives As i found nearly nothing regarding this topic my last resort is to ask this E-Mail Chain and i would be extremely gratefull if someone would be able to answer my question or tip me off into the right direction. Thank you very much for your time and help in advance! Best regards, Christian Seifert PS: Please excuse my poor Translation attempts as English is not my first language. I will gladly try to rewrite any confusing or misleading parts in my message if pointed out!