Re: [Rats] Dealing with Attestation Roots

Anders Rundgren <anders.rundgren.net@gmail.com> Wed, 22 April 2020 14:55 UTC

Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 991A03A0E19 for <rats@ietfa.amsl.com>; Wed, 22 Apr 2020 07:55:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TPB6pfCV1dbW for <rats@ietfa.amsl.com>; Wed, 22 Apr 2020 07:55:02 -0700 (PDT)
Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3ED0D3A0E1D for <rats@ietf.org>; Wed, 22 Apr 2020 07:55:02 -0700 (PDT)
Received: by mail-wr1-x429.google.com with SMTP id d17so2731897wrg.11 for <rats@ietf.org>; Wed, 22 Apr 2020 07:55:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Q03D1Hj3e6ykydwCrszf3c5TYQsNb3RdO9Ude+ZxlT4=; b=grqCFRAJrUbWYDt0R8PSoXX6MtkzpZIDvUupWAcEu96fbdMtFHpdG9cFulLz2iGYGi GMBKg34VrXC3Mqlbkh6FECk2ZXPDyzbQL4CKOcTDlhThsVg8RenVvnkBTCf4QQ8TDI4S 4sKUr3IPwmUxWsT1h2+AoyuD1AMMJqBe+WlyCod+CTgx+PdIrpLfkq3wtAK/w9Z/Nb9E iprIVvsLtXA7vRbRyeCqjoQ1FfS8pkGIDPF6V6i47TmWZj/EO6+CED82j75Mwi4+VrhZ k3I1Th4kHx0NRMP6ZU0nLD9xrl6hbpWZ0GX0wDjZjY2ALiQwMKe28XoAnrVs/kYCWHZa 2Ndw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Q03D1Hj3e6ykydwCrszf3c5TYQsNb3RdO9Ude+ZxlT4=; b=Z9FCCph5SuP774YHB/EIXm/ooA30iTc+fmUCTiPh++w4kZeseEKDLEnr6y0B8twt60 nEHQqkDP5dYQ4OnQ13lji/+9McPVJMM+qMSOyTrLhlnixQXS2IStYAo/EIoLc/D+wMHx KccGProMh8sIFLMiYZuk+yXgUg/ZirVqRwhfpZ2Cn1yalX27buzXWxM6khUXPeFY4P+W nKE/8+VtPRUhK2RIP2msttn5LVX396NjxG1KtbwznHbLg/NaFpMz4NhYCmfdLsaM22Jb esuzbE20pSOcclF5mOU1Kv3c9hKdera1T6seSbme4a9AYnB7KiSGW7RZrIjhXSaEt9xv FOyw==
X-Gm-Message-State: AGi0PuaqQgZwWjEoLEMoPmhMUaWBUMmzotGUMCsgPKXm7+WtUHAcot+V nmwVr0soN5wxNtR/zHO5liCd7ThocUc=
X-Google-Smtp-Source: APiQypI5xXiRvEiiGziWBp70vv/CCY4DdIFm+PTJI+3hSsbSKTqY2Y/RnlWgORcCWhh2iKRWXm8kbg==
X-Received: by 2002:adf:dd8a:: with SMTP id x10mr29574351wrl.308.1587567300174; Wed, 22 Apr 2020 07:55:00 -0700 (PDT)
Received: from [192.168.1.79] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id x13sm8430134wmc.5.2020.04.22.07.54.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Apr 2020 07:54:59 -0700 (PDT)
To: Laurence Lundblade <lgl@island-resort.com>
Cc: "rats@ietf.org" <rats@ietf.org>
References: <49d8907c-7637-3d21-0619-4999565fc50e@gmail.com> <7C65B977-FA56-4118-BA8B-121BD9697F7C@island-resort.com>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <d67985a1-97da-3e23-81e6-1b58b61e1d1a@gmail.com>
Date: Wed, 22 Apr 2020 16:54:57 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0
MIME-Version: 1.0
In-Reply-To: <7C65B977-FA56-4118-BA8B-121BD9697F7C@island-resort.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/Nocesl23fNfPVWWzHs0oLTi0n0w>
Subject: Re: [Rats] Dealing with Attestation Roots
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Remote ATtestation procedureS <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2020 14:55:05 -0000

On 2020-04-22 16:38, Laurence Lundblade wrote:
> Hi Anders,

Hi Laurence,
Thank you for responding!

> 
>> On Feb 27, 2020, at 9:51 AM, Anders Rundgren <anders.rundgren.net@gmail.com> wrote:
>>
>> Hi List,
>> In the https://cyberphone.github.io/openbankingwallet project the idea was to use attestations.  The most recent version of the Android app indeed supports this as well.
>>
>> In an ideal world the root would be provided by Google.  However, since we don't live in an ideal world there are vendors out there who do not follow that "recipe”.
> 
> Are you referring to Android N Key Attestation that is implemented in the key store?

This is indeed one possible usage.
https://developer.android.com/training/articles/security-key-attestation

> 
>>
>> For W3C's PaymentRequest API a simpler solution is used which do not match attestations but is better than nothing.  This scheme builds on publishing a manifest associated with the app.  Here is my particular manifest:  https://mobilepki.org/w3cpay/method
>>
>> But I still would like to use attestations and also not being tied to browsers.
>>
>> What about making attestations optionally contain a URL to the root like https://huawei.com/teeroot ?
> 
> I don’t know what https://huawei.com/teeroot  is. I can’t get anything from this URL.

That's correct, I don't even know where to find Huawei's attestation root which is how I came to this idea :)


> I’m guessing you are after an X.509 root certificate, one that is used for Android-style attestation. Is that right?

Right.  Is using an X.509 root certificate an unusual way of dealing with attestation verification?

Anders

> 
> LL
> 
> 
>> Since the number of vendors in finite and the Web-PKI is in a fairly good shape these days, this could serve as a workaround for those who don't have any number of cycles to spend on installing arbitrary tee root certificates.  That is, a verifier's "trust registry" would simply hold host names like "huawei.com", "sony.com", "samsung.com", etc.
>>
>> If there is a better method, I'm all ears!
>>
>> thanx,
>> Anders
>>
>> _______________________________________________
>> RATS mailing list
>> RATS@ietf.org
>> https://www.ietf.org/mailman/listinfo/rats
>