Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1338848ybl; Wed, 14 Aug 2019 15:13:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyijougcJMqLq6L5o3qMXZk2I+zJEXK8oqBea+YTA+ScyhTnZ0ung7SVjOadI44ehg5fI2A X-Received: by 2002:a17:90a:8403:: with SMTP id j3mr92702pjn.3.1565820802771; Wed, 14 Aug 2019 15:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565820802; cv=none; d=google.com; s=arc-20160816; b=xwO/QDnEHPo/H0pf/qF0tVfL0jK9DvxYdXMrXZG/ejRbely4RAnlFpssc4Gk0YRFcR qqGJRhG3KcGO/J++3EJPCvlVzFlaflkvcdnILMJCcYCCJXkPkPpwHoN7KrQ2YRx+qxEp kWJwpYESWzFO64UKUvF0D3u3qXD3Wk4Tgv8/pc/QWur40syEg7wESnliwMM7R3A57Y9o RVtxvoSR9JE5+82XN7X2XjqwC8xwCpq1EjoCgJyUm+pkA/r+5Soh5xBZwvBqBjt+EWQ5 cDgK3Jq5FEP4RRoZhIpSOn3M5bv5nGJ9O0e+LBX+v7vrHnW3e1h2NgFIUf1BWJH7nlTq avRg== 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=6EW+yFHfhHxA42xWVkp3iNxEOcB8Gl9Ta9f69RQeF6U=; b=aMK8JhVKg+3yt8v1SdSYleAZ1BasD8T78/u2QLAM8b/akwrXEhgmoSAgK9wcdjqn1G S7Wjc8eGrzRK0Nkn05Ee26MfhQeFwuiGY5zf5tXQ4LwZKWOwxsVLsrFT+xijLwWTWw/E U41TemVkfSm6aPV8ohhE8RLdLILWxZt340lDu8U1AfPh2i6iILMEC4JeP+nUYjKba/p2 IHIj9LIahNKRCW5lIhppN0cDlRI5e/AWyjATZi4/00e+l1NW+mT/LmX6St+YNM+B+XXS mz/bwECvio6tpLiDzWQgwYsnvPvn6IT3GSQ7Nt8oIGc8YYaQCuunQiI5VWPOOkQJx69O GQpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=g8k00JpE; 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 u3si673713plq.143.2019.08.14.15.12.52; Wed, 14 Aug 2019 15:13:22 -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=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=g8k00JpE; 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 S1727937AbfHNVUr (ORCPT + 99 others); Wed, 14 Aug 2019 17:20:47 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37964 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729546AbfHNVUr (ORCPT ); Wed, 14 Aug 2019 17:20:47 -0400 Received: by mail-lj1-f193.google.com with SMTP id r9so446408ljg.5 for ; Wed, 14 Aug 2019 14:20:45 -0700 (PDT) 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=6EW+yFHfhHxA42xWVkp3iNxEOcB8Gl9Ta9f69RQeF6U=; b=g8k00JpEvAgaS8YaJy6DHIQWezOoz1tcS9Hx4ttKZ8Dd2Ws0pKRXGkl0JNNu8tIOug clMQI3fiXimZBMdHuXtfszmkN1Y8Dr+5rCjJTMRnrHLERM83qSdUF98DWslDw6pwL6Lt Bg4SQR1D98ET/MtCLXGgWzzy0Q0BKTNM5BEZocDLcw1uJTwGTNag3d0RhTpvqLnTU+l8 2ogmZ51xlqdzCR42YO1+MJfIkfftpIhCc78MH8VCbv45hUAvaLQFWnScV5T8ovbCL40M S1WLt0/C/Uiw+IbuKT+6uHiwmxVZgXLXwGmyZl3rwm/G5lukQVjNHW4AzFMKYICGidBv IEXw== 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=6EW+yFHfhHxA42xWVkp3iNxEOcB8Gl9Ta9f69RQeF6U=; b=hHSyXGBYdQcRvIskDGW0C5saDgu+Czdrns4MyiUaSWGVRI009C3xisHZlz18UilOB1 cXH1qlpMg99ro20LiVTODQJVBuPgcS5eiBZIj2OBCQQ/KIvh6tTaM00uumUVat6fbwLh HVhrcPC+EvLjvX6GzFwQaGC02Nwl2QigvtyU5f7Xzhlm0E+NJp0zBK0YRpaH0wSPIgZY 1fKLovVOGvhQLrx+E+sh2ZoyCp0y90Rpyrfo7EFxUHvRLyuFDb9thn5Sf4LrwDhWNqQJ hBw5F1YvNnKB7LAoNJ1kR0SWZccgMzabeuDPv7a3zZFBfCdNiO1rBujXiWJRmSOX7T/s aTZg== X-Gm-Message-State: APjAAAXtcKgdiAaOBtnx6x1c75zfKHOU4Y6dTC3J4lev5FG4UGbuyl2l eZAo2AZjfB5OyE5saHteYp1Tww== X-Received: by 2002:a2e:89c8:: with SMTP id c8mr964710ljk.138.1565817644959; Wed, 14 Aug 2019 14:20:44 -0700 (PDT) Received: from kynes ([217.153.94.18]) by smtp.gmail.com with ESMTPSA id d16sm108891lfl.29.2019.08.14.14.20.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Aug 2019 14:20:44 -0700 (PDT) Date: Wed, 14 Aug 2019 23:20:41 +0200 From: "michal.lowas-rzechonek@silvair.com" To: "Gix, Brian" Cc: "johan.hedberg@gmail.com" , "marcel@holtmann.org" , "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" Subject: Re: [PATCH BlueZ 0/1] mesh: Add D-Bus Security for sensitive data Message-ID: <20190814212041.ty27uuyolyujaoqe@kynes> Mail-Followup-To: "Gix, Brian" , "johan.hedberg@gmail.com" , "marcel@holtmann.org" , "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" References: <20190814014357.32453-1-brian.gix@intel.com> <20190814075200.j3jmxpto7kszjjkp@mlowasrzechonek2133> <20190814205256.xkuqo4zqyl63erhc@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 08/14, Gix, Brian wrote: > I don't think so.... If a token is leaked, and we offer *any* kind of > mechanism to export keys, then any permissions that the App with > legitimate access to the token has, is then conferred on *any* entity > that obtains access to the token. > > The only way around this is to not allow any access, by any apps, to > any exportable keys.... or to secure access to the token. No, not the only way. We could require additional authentication before attached applicatino can access export functionality - for example, check that user running the application belongs to a certain group. regards -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND