Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5742464ybc; Wed, 27 Nov 2019 08:45:39 -0800 (PST) X-Google-Smtp-Source: APXvYqyJPP+7jgY2hpBklSQ/n2o53G8vR/JgnAtECvy6QuWDpSj9DHMumX+SzN2u2t50TDTY0Uol X-Received: by 2002:a17:906:ccc6:: with SMTP id ot6mr50288737ejb.137.1574873139104; Wed, 27 Nov 2019 08:45:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574873139; cv=none; d=google.com; s=arc-20160816; b=BhW+2/IuZ/ptNBulqTauam4ptXSKHzTrixz2cs5MPIVRdgB8khx8pFT4PN9nX8Tqow RbkOGZ9tgtEnsTjHwvZqwVGajpngjxJceFgy/QnqOUlWwHM5SSC2kK+AzLw/TyaX95pd KxViVewWLyj2Swnu0RX2ckNDGC1TvDwE8FBZkUCapwffj8NwXMKcKYOyd7N/Yh6DXOAu nRYbTg5GWVHdrkjsiMevSghszvwFeDd/Jfo+YjbygMG3CDOhHhSSFPUMB56BAw9oSpt0 t5kH2OGwwdvWU47x1OoG78+etdDhjJjSxkDmQIiPX7MofRYCNcXodbaXcvUzjSH5RHk4 kUvA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=o7v0iri1xznoORrO8tt9R9HlpBOv+2jUUOI9T8+7g5U=; b=tJ2xw/3ZRh6p0bsgkAknV3Nt+8GIZPD5lcBxxdE8PPExir36CskW+G/MjC4WUdkK4E GqizB7EhlagDa9cm4SS50WI/QTH8+X60aGYdtnwn4weQdNbByywc/k6bhr+Rd9VSA4+u miRK3TE3aps3C80WnM76fSAoU0CJEY5j4weX7bLZ1UQTTky4hyM5Z+/iWHkRf0uzG8b8 pXA+VQ4HIT4HcC+u42cTq9LA1N3KeEAsDM2bGm0aNe0ZPoEcieGpRiVwBi7UXyFvx1L4 RiJErmivIy8zMfaOjTpCOate4uLied7oz7DPMiCCk2eM2/yArqqokqJShOK7MJD+LQct YSzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="L5JE/7Hg"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x23si11858109edl.72.2019.11.27.08.45.02; Wed, 27 Nov 2019 08:45:39 -0800 (PST) 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=@google.com header.s=20161025 header.b="L5JE/7Hg"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727095AbfK0Qo7 (ORCPT + 99 others); Wed, 27 Nov 2019 11:44:59 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:38657 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726984AbfK0Qo7 (ORCPT ); Wed, 27 Nov 2019 11:44:59 -0500 Received: by mail-lj1-f194.google.com with SMTP id k8so14678390ljh.5 for ; Wed, 27 Nov 2019 08:44:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=o7v0iri1xznoORrO8tt9R9HlpBOv+2jUUOI9T8+7g5U=; b=L5JE/7HgwqDGPqU4xJ+/WvhrLHA8UulFY6xcOs33EPf+Zld3f8dgrpWc6tv+fn+FH0 IeorUXmMW6nseDw5VlsynruUEDBABDW8EmXZtZNso5fBQ+s/FHFb/ZExwHEJB8YX0IA0 XXz5Q82h9qwYI4MIbOclIE/2aS3cIVdrZHP9U4uazDoL6BJvLYLaRDb4ehuVSCF3CCFF 4oOW69AYMjk00AblBXLrsvrq5bfdjq+rJ6VwMky/T6NpzFdcp95eoU41H6WkLY06KPJH prVBwwFGMIZCXSX7GkFNYVlV26aagC3+siHm7QHAJ1sRe4BaZMuesX2WYXE9HxVs8lzb XyAQ== 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:content-transfer-encoding; bh=o7v0iri1xznoORrO8tt9R9HlpBOv+2jUUOI9T8+7g5U=; b=Nn5/StHd4Pw4CDEYujVOl/yvdq48x+lFyH7U+7ZIu+LU52s8rf4A7LfOz1xMrtCs1W ygZhDoxNaNlfcpQpvFlY97DJJdsDNY3vBpWZthP00zWDUwKYEIW3FuAA0z9KfJeZh1fH keHk6/sG40q1SU5MhEek27y5Z3b9uyALYfwo2Oz2fOh5zeaAimsV0XOrxhRsYfy7dlSg FVVMUndj3XG2O+EzgsQkW3iULhP9s18I3KK7/YNdyY5rplirrA1DdKDZuCH8iBzma7+1 OgenvX5usAd2zSoo/l41bA45co/sMFxmnaPlJkywmd/8W+Iz9UHfK73Mynip3Y785FBk hMBA== X-Gm-Message-State: APjAAAUwumIyeqVM8Lo3Ca1wc/E8kq8rEyG7PpXIGWM5TzdzCPpHi6iv Zdz/dPKf/Dy4P9X0SCu/fk6ZXtQSKZiF0HDQWtBy8w== X-Received: by 2002:a2e:b4ba:: with SMTP id q26mr30919920ljm.60.1574873097023; Wed, 27 Nov 2019 08:44:57 -0800 (PST) MIME-Version: 1.0 References: <20191126191452.23603-1-alainm@chromium.org> <7223C834-7E4C-4521-9C1E-CA7C2F26EC63@holtmann.org> In-Reply-To: From: Alain Michaud Date: Wed, 27 Nov 2019 11:44:45 -0500 Message-ID: Subject: Re: [PATCH] Blocked key mgmt Api definition To: Luiz Augusto von Dentz Cc: Marcel Holtmann , Alain Michaud , Bluez mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, Yes, look for more patches from me on this next week. Thanks, Alain On Wed, Nov 27, 2019 at 10:54 AM Luiz Augusto von Dentz wrote: > > Hi Marcel, Alain, > > On Wed, Nov 27, 2019 at 8:02 AM Marcel Holtmann wro= te: > > > > Hi Alain, > > > > > --- > > > doc/mgmt-api.txt | 33 +++++++++++++++++++++++++++++++++ > > > 1 file changed, 33 insertions(+) > > > > patch has been applied. > > > > > + > > > + This command can be used at anypoint to add to the list of bloc= ked keys. Any connections that > > > + are attempting to use the keys will be terminated. If a device = tries to distribute the keys during > > > + pairing, pairing will fail. > > > + > > > > However, I ended up rewording this part since it doesn=E2=80=99t sounde= d right to me. We can adjust this once we have the implementation to match = against, but for now I kept it simple. Oh, and we need to stay within the r= ule that it has to readable in 80 character wide terminal. So no long lines= . > > Will there be a follow up change to add support for this in the > daemon, I suspect we will need to have it given as a file or will the > blacklist be just hardcoded? > > -- > Luiz Augusto von Dentz