Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1793163ybv; Thu, 6 Feb 2020 09:54:13 -0800 (PST) X-Google-Smtp-Source: APXvYqyMlRbqjypu964nl9YvHMGdFptc8J1SxRjJSNfOK1cTto/6CLweEcRoO4eiPNAIPeA3Uxty X-Received: by 2002:a9d:7305:: with SMTP id e5mr29797524otk.64.1581011653185; Thu, 06 Feb 2020 09:54:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581011653; cv=none; d=google.com; s=arc-20160816; b=kSfQkJu8z+h/6N0zOOhJCrygzA6usaL+rThonE7NrVyJCav/um5b0TafsvlolYNMXi /WWjjNC6+hHAuuh6fDgrYeX+Q8lYpYenp4PPFZQoQ3A9YOtIub7zqGsDaaKd0orpqfOk ilb6IByYvrsKXM4+sr+bnCkiXrrbars3D3JhII937zR2EVonP29o4k8cLGM8quZaDbD4 H5ywZZgkarrLdPA/xiru9mSQ96zm+2ydje2Yeo5TGIxpeU9f6Wuex6wEoisXG1naGeaV Cu1bEz2OVPH6tJ9PXeee+QwwWeCAaFRyh4PeprT3a4eSZxIFYe9Ot0jE4PhgP/EeoH7R eHWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Ybf6+9BEmNE/ItpgnSqjyqh2Kwgfzx8idRXKbH7XGuM=; b=xe4lfMa43mUDk5btZkassoxBldS5JU9mOJxDRs2mZORv8Ez7exWRmnvi41PpLsw6ma q0OR6Pa8W27qm/2K6KBkiRgfX+kjz98QRRIbi9Uy79IBKvpVw/8mHpdKVuQFNleO8RNu I7fWK0RqtcKM24o5fZCI4Cw1dxjP3kOCh8hP3TUjcX85WJvn6jImiHu2ez8gur4VKbGE efQGp8BjQhJbXCdFWmG8fIaaBQ+CaAa0B7XGAcYFSIKCYTbXHiXn1IvB3nTJ01EkBivE TknD+XKcuPayqLKtjRTzJnvMe4oJzBu4FuzyEYKLozjS/1Tsa+shI6Cq0Ip2HEMMPTak FeBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=nrfwpyKx; 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 g18si162328otp.61.2020.02.06.09.53.48; Thu, 06 Feb 2020 09:54:13 -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=nrfwpyKx; 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 S1727662AbgBFRxm (ORCPT + 99 others); Thu, 6 Feb 2020 12:53:42 -0500 Received: from mail-lj1-f170.google.com ([209.85.208.170]:41044 "EHLO mail-lj1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727607AbgBFRxm (ORCPT ); Thu, 6 Feb 2020 12:53:42 -0500 Received: by mail-lj1-f170.google.com with SMTP id h23so7042553ljc.8 for ; Thu, 06 Feb 2020 09:53:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Ybf6+9BEmNE/ItpgnSqjyqh2Kwgfzx8idRXKbH7XGuM=; b=nrfwpyKxnLfJq5/RqZ4Ixx7vOFt70jZWn7jhzfEhIPvNgVNsP2dJ5pE4Lnia/tgGWF xNHkiwqPxtZxM8dHUfKSml/p/9e46ONMEBGt0P+qKZmPK+M8cNwA/lA+zDtIkGmZfDRx bifEINzxm3gMu+4EzV44Rf224gWH4DaFX2BmGxds/4/36hT0WCV2dAGwzRNLZn1cuwXJ mwXclcKXtXXO/YwK13eft82w2r58IrgmrpKFDUKpAezBEdjHmFHBZoUzTTD5LcMKZLIf W2cLHPISQPmqDKAtkgnEGToFmdSRnr4qsuyvxWrAPnhC0lX171PPlquTJtLdji6O0D38 3llA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Ybf6+9BEmNE/ItpgnSqjyqh2Kwgfzx8idRXKbH7XGuM=; b=E8RqNokdw43eTCDoZbX2nJ9sp3PS2/E/5SfSj08XP0eWJLhYzwT1hE09x63Yftrb+b yGFl+niAVaVmMxkWKZKPlX/qYGAk0uMDVcS+/7MOLJpEFvAubS5vpnMq2ZYk0PyNAJFg sRZOYOXgwK467l12FtYy2lKOjmlEv7t2gPqyzc/7avd18hGAvmZIJn6i+MyWJcqoS6FY 6kKohyn3ZG1Y402Yj5yr2AdPoVWz6WuWz2/zQqFi9cGe1bChsVAn2QE2ZqjJ44xrP84i eQ7gCkerj+tgMMqmGKVw/kpHKZaGzj1mOXUftPlepuukDGPcYeOI21ufQXMtVNsBMAM3 yIbA== X-Gm-Message-State: APjAAAXjlpLWZPS9pl0QUYn95s0iAGhn/vOSvA9uMDzEJPMw8dGdJvMp DvHKrXF0i6BGvXnRyL/VffArzA== X-Received: by 2002:a2e:888b:: with SMTP id k11mr2755935lji.197.1581011620328; Thu, 06 Feb 2020 09:53:40 -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 j19sm57326lfb.90.2020.02.06.09.53.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 09:53:39 -0800 (PST) Date: Thu, 6 Feb 2020 18:53:37 +0100 From: "michal.lowas-rzechonek@silvair.com" To: "Gix, Brian" Cc: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: mesh: Missing API for delivering provisioning public key via OOB? Message-ID: <20200206175337.i647u3tydrf6z7s5@kynes> Mail-Followup-To: "Gix, Brian" , "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" References: <20200206171600.227uzfonhepltydy@kynes> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Brian, On 02/06, Gix, Brian wrote: > > Is my understanding correct, or is there something I've missed? > Yes... It looks like tools/mesh-cfgclient.c needs to implement the: > > array{byte} PublicKey() > > method. > > This is a good catch, and needs to be added. Ok, thanks. I'll give it a shot, if time permits. What puzzled me is that the provisioning gets stuck instead of failing, so it seems it's not only that cfgclient doesn't implement the method, but also the daemon doesn't seem to check for errors? -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND