Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4587492ybc; Tue, 26 Nov 2019 11:15:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxHZydcNEGzKkjtRa+uZ603OToJTa22ir4hdQYbDOzBljFLQ+9FyBmrDzL2jadufzKISIiW X-Received: by 2002:a17:907:42d3:: with SMTP id ng3mr19366116ejb.9.1574795729200; Tue, 26 Nov 2019 11:15:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574795729; cv=none; d=google.com; s=arc-20160816; b=cw32eHgDEKTgYns5/Ch7YyZJoRf6bfNZf8UdJXzcRYPZ7x89IrgrOKm/YqsCYEa/M0 +Xjwh/1hLRF0hzn0SST1004F6XDfwld+y0eXXWXqXEENuW0/3XyZu88bOzJ1VtDg3km7 yHzDtlPPcEhOqa47b6ej6O4DfGgOUgXcfEDFzD6G5odM35JKuJnYOiLavgJ0q1z74Ia5 bOG83+eNPCIV4qt9imnqvtovZe81+EnY4fjiiTCtghbHgCv9h2uLX2F0rpmOy7ucZ9OU JH9gCk9lnX4X5goGU0q9Qh5zQXrOcrCl4GwwQx6ZYEEmJ1oMDhV8etZmmYtis5SZQboP USkw== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4fjFadtOE1y2ASE+pw74HaEijTyrQTOi/Pb5vTJXJmA=; b=XvOCUhtlGdloAXBbdWBZJe3dP65Dt/RYjaUf3rInqAxl7XGBx83CIY/j3VWBVS0Cxt 1btMu8SmzxE5qpdgWDkk1hxmI75APOgqcSIN1pZffka44AxFN82lmKdqD/6KsSY1pNrj NDHeVy4UG0mJ+/k7IUyN97qjFaCXPqAjeiAdEdmS2zEdCGGI5GUW3fJ+aSZ1k/Oo30bx Ft6SOmin1syEFx2ZH59JdsoKDns56u4hzouoZ/DTcv5WMz/vXQ4SwsJEJsV7t6VEP7CG GHwZu4aHr69TLpMj1le5gUZDpVy082nDVft8TGwuAVOBHoSZcUzykDo22YKalbV0250R VFJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="DCoL/2z0"; 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 z33si8715286edb.183.2019.11.26.11.15.04; Tue, 26 Nov 2019 11:15:29 -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=@chromium.org header.s=google header.b="DCoL/2z0"; 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 S1726036AbfKZTO4 (ORCPT + 99 others); Tue, 26 Nov 2019 14:14:56 -0500 Received: from mail-vk1-f193.google.com ([209.85.221.193]:33642 "EHLO mail-vk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725970AbfKZTO4 (ORCPT ); Tue, 26 Nov 2019 14:14:56 -0500 Received: by mail-vk1-f193.google.com with SMTP id b64so4749913vkg.0 for ; Tue, 26 Nov 2019 11:14:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4fjFadtOE1y2ASE+pw74HaEijTyrQTOi/Pb5vTJXJmA=; b=DCoL/2z02Jg8ekCdZLZdxpeExYCBAW5cqzA+7nS+9tuWOJ90JC4l1Qx8j7iG/zyM9t sheZnZDT3gfnr++2dhBoyVRkOn7jriA68h4XdJy2p5m9Lwlne1Dl9UxNgV7c5ku1r6d+ kX2osMt6UNDlrDaw58XxqMN5BVN/30OKKCDXE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4fjFadtOE1y2ASE+pw74HaEijTyrQTOi/Pb5vTJXJmA=; b=OdXXHJAI33Hbe3kzk2VogrzWiLpoUEjmhqF54QfOezXQw8ODYjmYmhi92nnYW4NUFH NEDLY64mehyJTfykQCKgrBZGPK1wxltgxzF5Em+6Qp4chXAN0PRqhDmSnGKOemD7TKay KwK97CMCxH7F1Q6X7O4xSaByRDdOYjaKAERp8r61+moWWFFtCtuwdUnQN9s23Gr4+RTm kI48K03/manRl0hySGkrRjpZnBjz/PfRkP+D13A6SwRW4jSIcOcZtSCK9Q0vYY+p5nKu sY2KnNGYF1e2hPv7JNzIrI3CkGfVD658H1v/FK13NzxejUFf0RwNo9rnyG6eWGoB8E4A nNYQ== X-Gm-Message-State: APjAAAV7gvjHe4P+M8+PT+w/u+vpEJr+Zfpv/KJ6yipzEnB7Hg7gf829 dAE1FRjjjf98qFFp8VHcya6nuXvNOUZzLQ== X-Received: by 2002:a1f:e0c2:: with SMTP id x185mr90994vkg.6.1574795694892; Tue, 26 Nov 2019 11:14:54 -0800 (PST) Received: from alain.us-east1-b.c.cloudtop-prod.google.com.internal (239.145.196.35.bc.googleusercontent.com. [35.196.145.239]) by smtp.gmail.com with ESMTPSA id q16sm3229784vke.31.2019.11.26.11.14.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 11:14:54 -0800 (PST) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [PATCH] Blocked key mgmt Api definition Date: Tue, 26 Nov 2019 19:14:52 +0000 Message-Id: <20191126191452.23603-1-alainm@chromium.org> X-Mailer: git-send-email 2.24.0.432.g9d3f5f5b63-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org --- doc/mgmt-api.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index 0d11aa035..7c77927a2 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -3013,6 +3013,39 @@ Set PHY Configuration Command Possible errors: Invalid Parameters Invalid Index +Load Blocked Keys Command +=========================== + + Command Code: 0x0046 + Controller Index: + Command Parameters: Key_Count (2 Octets) + Key1 { + Key_Type (1 Octet) + Value (16 Octets) + } + Key2 { } + ... + Return Parameters: + + This command is used to feed the kernel a list of keys that + are known to be vulnerable. + + Currently defined Key_Type values are: + + 0x00 Link Key (BR/EDR) + 0x01 Long Term Key (LE) + 0x02 Identity Resolving Key (LE) + + This command can be used at anypoint to add to the list of blocked 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. + + This command generates a Command Complete event on success or + a Command Status event on failure. + + Possible errors: Invalid Parameters + Invalid Index + Command Complete Event ====================== -- 2.24.0.432.g9d3f5f5b63-goog