Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2894749ybb; Mon, 30 Mar 2020 15:28:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsas2IsWK76hOWVJFPn1XV8ewPuVeaAyBsYLmy1c5XTPiSmc9tu6eimRT+MkdwOHUDKfOG5 X-Received: by 2002:a9d:12ce:: with SMTP id g72mr10891215otg.350.1585607299440; Mon, 30 Mar 2020 15:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585607299; cv=none; d=google.com; s=arc-20160816; b=cVM6Upx4B68BKHOzj5PgZ4eKb2v84r5lGEcg+VmfFJNLcG361AI7dExVdQH2MNAWhs KasRSyFXEqswgFSTKOlMwwfD6JXCJeeQ/VGy1z8PsnITT9DYPed1lZ8JCaZYMP+kcRh3 rqliS+BCOoCUcEmii3SevlNwia6LKo0DUfcMJ73nNI0gPb90q6QrX1gQwvmawLhW4HnF rHmP0OcvcsYQxly6UgtOXhLcaf41R2AOyAnuw112P3W46BpGd2xu1K9B2iBoMJyuNkrn T2VrTZynSOpXVIK1ef1wXuVDg5X/eMx0tho6K1E3hTECpXl3mLkKPuxGv8IOXD6pOxEb nfew== 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=XvbZT8/V5BIYnDoVeGKgjENyP+958AHGXLbbmDuS470=; b=rwXHJLjaSBbNRJgaA46k2ApcphW1lw+i4VmC5PtxaDuDbwHRUz5Zt3O4HUHMtHpvyM 79ajH2iMaeA+21vq0P7lJ0ghvUuk/tDh0ZPXZfBlJSogSyo4yn1hir2YfGS9tux2udyN y/fQS+geE0B40VZ1fcReLLubeyPNki3aoIwYG3tQcwZm+99gglDoMzvvniErYHBZPB5g x1F1wT2jLm9PE1xW6IPI+6QFIGV4epBXAetnIMwg6P2UTr0yXRc0yJfAU6DsDTMFkk+b vRcGF02QaGQWiq1l0GgNNKOKeKlgsi5Re5SNFzcPHqRJKEippoZqUm4a+Y5jjljrm2GC /GpQ== 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 d11si6366960oig.212.2020.03.30.15.28.07; Mon, 30 Mar 2020 15:28:19 -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 S1729465AbgC3WYb (ORCPT + 99 others); Mon, 30 Mar 2020 18:24:31 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:57444 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729461AbgC3WYb (ORCPT ); Mon, 30 Mar 2020 18:24:31 -0400 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 865CCCECB0; Tue, 31 Mar 2020 00:34:02 +0200 (CEST) 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] Bluetooth: Always request for user confirmation for Just Works From: Marcel Holtmann In-Reply-To: <20200328003423.14079-1-sonnysasaka@chromium.org> Date: Tue, 31 Mar 2020 00:24:29 +0200 Cc: Bluetooth Kernel Mailing List , Sonny Sasaka Content-Transfer-Encoding: 7bit Message-Id: References: <20200328003423.14079-1-sonnysasaka@chromium.org> To: Sonny Sasaka 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 Sonny, > To improve security, always give the user-space daemon a chance to > accept or reject a Just Works pairing (LE). The daemon may decide to > auto-accept based on the user's intent. > > Signed-off-by: Sonny Sasaka > --- > net/bluetooth/smp.c | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel