Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2927381ybb; Mon, 30 Mar 2020 16:15:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtV5eZHfXQcNbITN2He9Vy2l1Qh4ONOMqZjyIULw87LoRIb5ivqCdwwFolatkn8HL2tNb6v X-Received: by 2002:aca:724f:: with SMTP id p76mr343342oic.112.1585610125168; Mon, 30 Mar 2020 16:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585610125; cv=none; d=google.com; s=arc-20160816; b=FkuWp6MbjJ2SvVOk8suX3ZOoCgCkA+KxaEwlMlVIDO8zbwYfQv7G8DSKxxCcmexQuT RsAGLVSoMUO8qkKljJtYeSjFKeYc9jPgXYgMWenuMKS+bMXXMOGTznjfWscj0tP0Y3Tv 4aTO5VfzMD1tn4b9DYEQqDUToFi44lSR1h0oNB6BWqNEei2eYlwf9QaazyBkndCVaPXR Mfj9Ru2rXvVVgbfJilvCuxWszbXsWMx2o7mniFvZNpA/4yRvjbnKWIr+C6NqHIi+lJnR bjX4ywI6kt5RXHlSAGNij1XuchxVbKdGfUKhuQHgpU6YDHhrwdwK3jo5IJhD8fI1G1uz /vhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4rknbqjutgBSTudD2Y4+sw3QTe4JdzLaehn0U2S3BNU=; b=OqHPyXCJFdwys1dr9z7x1VTaw2T59YbWeWq6oRBFRO9WiampJNr/LP0Agqa5c8eDtp eiGed6I+ZAi0y0XLISJUAiago3+WlLirFkCaScy1Ax76i2GHbypVwk7U2ZffS9P/eFgY XQ+xcb4z9WH9MJ6ohpe+gVj8S8E0kfakp/5v1Cd54qvLf60IYHUoOQqdbar5a7bRA0d4 Sjm33bZUDvoFxMTCSu1yZ4JEuS8INnQl9m9/SIwss7KLG1M5yMO1GJGEUpsGDyrJQ92m dfXqsCUhM0XnsDeNh56B3f3kED+rMiqhYENxfCCnV7oopcTjKtnTz4xt87+jLoMpa/fI Eadw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Eky9+P5f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si7276409otr.262.2020.03.30.16.14.58; Mon, 30 Mar 2020 16:15:25 -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; dkim=pass header.i=@chromium.org header.s=google header.b=Eky9+P5f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728880AbgC3XOh (ORCPT + 99 others); Mon, 30 Mar 2020 19:14:37 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:41692 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728876AbgC3XOh (ORCPT ); Mon, 30 Mar 2020 19:14:37 -0400 Received: by mail-oi1-f193.google.com with SMTP id k9so17300911oia.8 for ; Mon, 30 Mar 2020 16:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4rknbqjutgBSTudD2Y4+sw3QTe4JdzLaehn0U2S3BNU=; b=Eky9+P5fAHRPmWdrjwfWpXFS1ONOwkpHhTeqaekddHI1qjLMxFkWUzY6tkpPlJRVJE 5s2rzZDOi1/nVFVUI2Qz6hXgxLBkj2R8Wg3LcHvkpgY3efA9sZzkwWAopOPBb1gFVoqE uoPu97ySj+lp0dkex3vm8AlH2cIcHYVrIw5pg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4rknbqjutgBSTudD2Y4+sw3QTe4JdzLaehn0U2S3BNU=; b=BaosWipnoG3gcXSyrICfICMhCfVaXbL4kZG5hcRd/rar62uup8DuxKnYf2Q0mZ8pDa zQWDbAlwcNzmnds0eSsonFukHTHbXzZpPd/5vdI/IBCJQVHpyr9hQ+kbbaxdsLtWcJ2F YCVX8uScalAlJo87jlyTpYxycFeg+bAIpiQaN7r9ChmEgVYtbl8iJC55me7lUaonp6Ut FzoiLIn3tE7EmOwsmT8ajK2nJbmriTaJvRqqp3z2fCr8ZqWPDEflpKv/m3OfF15vGEqu tmypsSuGgPLkndliKRS5WWHDcKTx68kYXr01MXdWqPJyDCnd2mkgmhVwFw6Dw0GaOW3S oIAA== X-Gm-Message-State: ANhLgQ3e3KN5cfvKy+XlTW/UUyjb3wRE0INEiU2jUwRILUIbw7HzueUY jcVXhcTq8ZPnZRmdxCBBHoTPyXT1oAEvYpfxjklN8dtx X-Received: by 2002:aca:d10:: with SMTP id 16mr334707oin.142.1585610076831; Mon, 30 Mar 2020 16:14:36 -0700 (PDT) MIME-Version: 1.0 References: <20200328003423.14079-1-sonnysasaka@chromium.org> In-Reply-To: From: Sonny Sasaka Date: Mon, 30 Mar 2020 16:14:24 -0700 Message-ID: Subject: Re: [PATCH] Bluetooth: Always request for user confirmation for Just Works To: Marcel Holtmann Cc: Bluetooth Kernel Mailing List , Sonny Sasaka Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Thanks, Marcel. On Mon, Mar 30, 2020 at 3:24 PM Marcel Holtmann wrote: > > 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 >