Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp687503ybb; Wed, 25 Mar 2020 07:45:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtQRxD25AHfuiBe3RX+wn2eNVxBeqKF0XUJAR3MWoxZS0pV/e75P29MsOiVq2DJMBnX/z6R X-Received: by 2002:aca:3c56:: with SMTP id j83mr2789792oia.52.1585147545015; Wed, 25 Mar 2020 07:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585147545; cv=none; d=google.com; s=arc-20160816; b=djWxn12hYtbRsT1ThIsYM7mdSXOCsdqF6hpiTVUxR4r997rEdZ4MFg2rTP34FeZBD2 cfF+ekWSkGewwJkqgnoFV8tsl2D2iRipjgqrKGAPfSBlhZOqZE6EchfFDciYW9yhsEFY tDWz5lom4wInU5laz1FxXJLj1vwbuayZBO+p4Y1PTdEKM7hEZ1R//WMA2MBtXkB3nTDP tM4E8bApXfctjlGhwTIEBcdYjGTO70AIR8bBrjAbNKBJ3qNiac8LwJW5ZUq4/clzskYm fUwqnMV2t3b6bvoUkKySO/SgA82JZh2BtVR41abfbnIXEdHBB/9M1/voGV5bC/p/L06M 3SZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=9D9NrtxJKgA4C9mbcJnZEQ41GNafDFd/v8Xe6MvXJ98=; b=F5n3XZjYm0JkMR+FylgTgmpbsODhyCNuH8tx2biPZmZclGG6GrwhNEuepcTy7SoM8r UGg+zByXveLEUqrtqXIuhIvn1Otp+4/tLeF/3JWfamHqEu2SEWIDAel5Co94AreGCe1O FT2cPVDByE8jFCg9nSceo/T1kVwaXyUTwus6qMDiI+TEgx4GDJbRvvJpLYvVyb52HBHW DNzdoYsW24GR5YxCeNpAZ1FtnfoV1eExjv13o+WHq8nyUPsrkRscbgE3o1RvfXavjB9Z TogWmVRPNSI6Y5/bfHrBsINWwza1rl5DH9wEn0s80CPogaWCmu43sqVlznMhSK7ggZYv 3g9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si10982233oia.165.2020.03.25.07.45.08; Wed, 25 Mar 2020 07:45:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727593AbgCYOnf convert rfc822-to-8bit (ORCPT + 99 others); Wed, 25 Mar 2020 10:43:35 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:44773 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727236AbgCYOnf (ORCPT ); Wed, 25 Mar 2020 10:43:35 -0400 Received: from marcel-macpro.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id C695BCECCF; Wed, 25 Mar 2020 15:53:05 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH v2] bluetooth: Enforce classic key size verification. From: Marcel Holtmann In-Reply-To: Date: Wed, 25 Mar 2020 15:43:33 +0100 Cc: Alain Michaud , Marcel Holtmann , BlueZ Content-Transfer-Encoding: 8BIT Message-Id: <1AFDC1E2-8875-4EFC-8A75-DAB89DA9FFB5@holtmann.org> References: <20200320133748.154926-1-alainm@chromium.org> <1ACCF17B-90EB-4DE1-BD8C-A927ABEC3913@holtmann.org> <992DB845-DB7F-41B9-93E0-538B08BDF910@holtmann.org> To: Alain Michaud X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Alain, > I suspect we'd want bluetoothd to have a configuration that can enforce a more secure posture. > > Unfortunately when the command isn't supported, the platform is left between a rock and hard place... There isn't much we can do but to block the use of Bluetooth if the platform requires a more secure posture. so if the BR/EDR part is not up to the policy that the host requires, we could still configure the LE part. BlueZ is set up in this way that you can run a dual-mode controller as just a LE controller. I would also opt for the kernel just tells us what options it have. Then at least we can provide some feedback to the end-user on why Bluetooth is not available or why only selected features are available. Regards Marcel