Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp978001ybb; Wed, 8 Apr 2020 13:48:19 -0700 (PDT) X-Google-Smtp-Source: APiQypIXGMZDn8BrgBawvUkF0+nmSEs9RYyFHA0I7V4ZQkVjfqZYHS5p49sqcK2r3ihqGbBYbeoA X-Received: by 2002:aca:4d86:: with SMTP id a128mr4027337oib.96.1586378899369; Wed, 08 Apr 2020 13:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586378899; cv=none; d=google.com; s=arc-20160816; b=FncDwJbfxKWZySAUszQdyKhrMCOJZyPeV2L/kzjK7Bp0MgPsxb1QthCptruOyo90+Q jkPxlTW9lv80Yrflpa7Q51uXXR/kvzmE0OKNoAacpV/wA1JVQMq3NBdWaEOfRVYatF1q iF6rz05vh7WlWnP84I4F0SmMttHwss1a2XHS1WuLAWF1VcHQNUepCA3c+nWewAUdUxUU i4cxM2y7zAaVmEryTMal/8AH8m2e0T84HyRN+Mub4DgryQYuToqUfC6Kv9aR1P5tst0h iWBQddrfGWkePHHhfH0JASliGfEXjw48NtJxgndKt6ied3EnqEmmYRc5CdqECXgpvgNo lewQ== 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=kpTg7TnlzDeO3Yul99AGAs+EXi9XY6+g/k2HZDXYQOM=; b=zDqS1dpydrM1LnBq+f/PeVja2kvZSRJtcw+69+9NumwutvPqqpE/QS+KYKg0vjZG+N 3XUqueptJ/BFraCilJrOxifhb/sxrZOtBTajr/c5lqhtKUWg8nD6P9m8M/nyO9JSOrok b+9bcnHKWM2pgVRJ/RZGmPrnNBAQsNG/sfm+8Pk9E5pYE1qZx9eQ/vmmvF0m7BqMmlRw QozxhJOteNAqZGy0ICgaoRgjzAg6r4NiNBoSQzRiIkX8ubK/oEEGOuyUgVqY99Zk5Lsr /aRu0QU/wKX3cmevTF9cK3FSi9J7dykm9R0IXFIUGSkKSmYblcEd7P9yCXesAs/7gq9F n8Aw== 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 h19si775428otn.123.2020.04.08.13.47.49; Wed, 08 Apr 2020 13:48: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 S1728433AbgDHUTX (ORCPT + 99 others); Wed, 8 Apr 2020 16:19:23 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:47939 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726774AbgDHUTX (ORCPT ); Wed, 8 Apr 2020 16:19:23 -0400 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id AE5EBCECEB; Wed, 8 Apr 2020 22:28:56 +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 v2] Bluetooth: Always request for user confirmation for Just Works (LE SC) From: Marcel Holtmann In-Reply-To: <20200406180402.7782-1-sonnysasaka@chromium.org> Date: Wed, 8 Apr 2020 22:19:21 +0200 Cc: Bluez mailing list Content-Transfer-Encoding: 7bit Message-Id: <099E59E3-9EFC-4E8C-807A-E339E05AE4A9@holtmann.org> References: <20200406180402.7782-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. > > This patch is similar to the previous patch but applies for LE Secure > Connections (SC). > > Signed-off-by: Sonny Sasaka > --- > net/bluetooth/smp.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel