Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1758319ybv; Thu, 6 Feb 2020 09:16:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwM4H2ruzJwJjB8GXx3eLZtPlfsg9q5omhyD+9iuqABCNgd7f6Iv0tubS5lwZcRHwCgmHp7 X-Received: by 2002:a05:6830:1304:: with SMTP id p4mr25823688otq.327.1581009404845; Thu, 06 Feb 2020 09:16:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581009404; cv=none; d=google.com; s=arc-20160816; b=cYmmqI+irC3vegIYeuZDxLLIxLTUEE0A+f8vZLlRDISPjibCY7yYSsaPhIVUkpJUq7 uWl692BGAL3eXfWTRIlwEbsNtZhRBILwEJr6r6F7byuRnKwItUuRGeZQHfiN66ck59PE gMaq4fq0+8M/kBgs4SioxEu8Axf/5jaBPkvlEIAsglz/4/begjZAY5jSFQPhXe4BlChv qeeD1161P+tAIJMX8t5crBu+6c3tXNtLlzAVVrVFtSxdgrOpr+tvKQnFp3cMqWrggjbS Uli6wmU4294I1gliVUCWlrNXaByAc3zynvtUV158QW/hX/FdYg7qK+GKNNGsQycbdx5g ozQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:mail-followup-to:message-id :subject:cc:to:date:from:dkim-signature; bh=nv2cx+jlMyJAJvM9ENXxF/zgRM4+tWvUSywJqIowGVc=; b=d77l8hm+MQO8b649nM4xHQjamCQ4+FIl4ZAgK+Za/G0lhxsmhfuMKskEbvN0tkwD6L hZ+gexM/4z+5jzueVW+wKvZ8hcj2v38jJxZGQL2VvfvMrX/JDabvYFsAcUOpXWYvVFE4 KmdyOdXsbWuKf9NGCrGy32A5Wk0bV45D/jFf7DvG2KLM8ntvoTBK04p3a0veONoLH6Fw 33i4p1K0RpA2KzIoPn+SYNFQVceymtcbNKLJoHDc220F0bIyNBvQ82Jtz/AQFR8k1Ekz oGEDQaH5Ijop9KbvKkovsUMcWmPsTadji0zyrtoOdWGXXQ38v9lSmRnRFAuBttKbVYGA 6b8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=FWD5KrLS; 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 t22si113089oth.211.2020.02.06.09.16.19; Thu, 06 Feb 2020 09:16:44 -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=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=FWD5KrLS; 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 S1727358AbgBFRQG (ORCPT + 99 others); Thu, 6 Feb 2020 12:16:06 -0500 Received: from mail-lj1-f177.google.com ([209.85.208.177]:36680 "EHLO mail-lj1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727390AbgBFRQG (ORCPT ); Thu, 6 Feb 2020 12:16:06 -0500 Received: by mail-lj1-f177.google.com with SMTP id r19so6944461ljg.3 for ; Thu, 06 Feb 2020 09:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:mail-followup-to:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=nv2cx+jlMyJAJvM9ENXxF/zgRM4+tWvUSywJqIowGVc=; b=FWD5KrLS9Ttcvk5Wfe0APmXBvElbfP64Tswt4QqtJfyHuDc5ED6m3FunZ2QXpLLi3e atWEMYLVmeYHHli2Cm4L91gGqTLD/SqFe9VljZzpCfB8UfnjqJHLnKHlrNUwdvEk8ovt 8oDkgYYCyqRoQVugXoNm/pFLod8USp2MQBOTUHtmGusqftjKxhuChQ+hiqE6Qv9u9nsE snMsA/c6mOIQQEJqwjBSMP/8istyBDhdcG2Bz8iQu+WHARH1vr3e1w1Bao5hAM1T+4jl jtPosBtT8mMeiA9a7/DmFvBizqwGLec2aXu2Zib4TQup1ihUrYlFWko+/vONlN99WhZ1 KQow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id :mail-followup-to:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=nv2cx+jlMyJAJvM9ENXxF/zgRM4+tWvUSywJqIowGVc=; b=ghchrNAE/iGjWk1Eu1sgXd5NtLOvuVSA0OS4i+jq9q6vqBek5bXfzzXjrLwiBf87WE 3lTr3u4qcOecRDHSvmQ/nozRvYiyKHKZOt1VFOvBswRhnUIUOYWhtnpl8OKnadGgYqOj rPxVPikHCP8OzKkG9Q7a/MCyJ7RTzXWDHNxRX7SSENcAcEyL35SyyblHcj+lDP8hiG5i UjS9TIPutmcGC9o/GqeyIGg92S9wvcifC5NlsT1BDUtrqR1RG9MjPFu033fGnU+Dp+Pv dNmnJVh3H2yG8oiHyqDQQIenCZyOZglP+KL5MQCRUt9PzFt9Q+qvsuxaZIqNtFK7QpvC FYkg== X-Gm-Message-State: APjAAAXPafPR/EibQUQtH+NfnAXdN4YbBNV6qvg+9dfHMhMNnvAQctyK 5/Zc1pe7K+gP4epSE8Ek3GpwKwUE9tGerw== X-Received: by 2002:a2e:80d1:: with SMTP id r17mr2695759ljg.292.1581009363342; Thu, 06 Feb 2020 09:16:03 -0800 (PST) Received: from kynes (apn-31-1-137-240.dynamic.gprs.plus.pl. [31.1.137.240]) by smtp.gmail.com with ESMTPSA id 14sm1650213ljj.32.2020.02.06.09.16.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 09:16:02 -0800 (PST) From: "=?utf-8?Q?Micha=C5=82?= Lowas-Rzechonek" X-Google-Original-From: =?utf-8?Q?Micha=C5=82?= Lowas-Rzechonek Date: Thu, 6 Feb 2020 18:16:00 +0100 To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, inga.stotland@intel.com Subject: mesh: Missing API for delivering provisioning public key via OOB? Message-ID: <20200206171600.227uzfonhepltydy@kynes> Mail-Followup-To: linux-bluetooth@vger.kernel.org, brian.gix@intel.com, inga.stotland@intel.com MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi, I have been playing with mesh-cfgclient, and I've noticed that provisioning procedure gets stuck when node reports Public Key OOB information available' in 'Public Key Type' field of Provisioning Capabilities PDU. While digging into the code and API, I think we have a missing feature in the API between provisioner application and the daemon - while there is an API to deliver OOB keys to the daemon when *the application* is being provisioned, there doesn't seem to be a way to deliver provisioned device's public key when is the application who does the provisioning. Is my understanding correct, or is there something I've missed? regards -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND