Re: [SCITT] Trust Anchors ... was RE: [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

Carl Wallace <carl@redhoundsoftware.com> Mon, 29 August 2022 15:04 UTC

Return-Path: <carl@redhoundsoftware.com>
X-Original-To: scitt@ietfa.amsl.com
Delivered-To: scitt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30B2FC147930 for <scitt@ietfa.amsl.com>; Mon, 29 Aug 2022 08:04:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 tagged_above=-999 required=5 tests=[AC_DIV_BONANZA=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=redhoundsoftware.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Viq6qnGVY719 for <scitt@ietfa.amsl.com>; Mon, 29 Aug 2022 08:04:29 -0700 (PDT)
Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A73D4C14792E for <scitt@ietf.org>; Mon, 29 Aug 2022 08:04:29 -0700 (PDT)
Received: by mail-qt1-x831.google.com with SMTP id h22so6327227qtu.2 for <scitt@ietf.org>; Mon, 29 Aug 2022 08:04:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhoundsoftware.com; s=google; h=mime-version:thread-topic:message-id:cc:to:from:subject:date :user-agent:from:to:cc:subject:date; bh=GncLh8ZuHcKGFtUQKd0hIcreQZunYCpEZsg4zDQ1xSs=; b=BG+6gLcT6MOXR4g3Ip2WJEamWmmh/jOO0BcMSZbpdB/57KFBqmWLXxxQNMo2ucguws 9P7u1pusYIHcwh1Fs7K8FO6POZnbzhBSaZCiAorAJkl+7iyMIj0LfZ/xS7YxHjBtAcGR BMhVAoSuvy944AF8ISc5RgJGpiSIh3zifX9zE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:thread-topic:message-id:cc:to:from:subject:date :user-agent:x-gm-message-state:from:to:cc:subject:date; bh=GncLh8ZuHcKGFtUQKd0hIcreQZunYCpEZsg4zDQ1xSs=; b=NdRDQM1i2IB7hQ/DEkeP4qoE3pzZZKWOxW/rKi9zi79KWj4vHHtKYGFWySTqacVTWr 7wmd24HnfjmkIJs+Kz8wMAcTdki62Zn4thC3K1gLu+bkfmBO0N7FQCiNv+teHAsUjSDJ w4r4mio9Uli/ruEU6bxkoy6nJPmKPy2Zq+xEVt8d+eLtE3PgodcLyrZZY22v3/L75DX5 IbLsS3//CCbg18MsaIRKLoInDkMrHaBWR2fwHQ/aDd/QJfhU9IRnJ9h4NN9AqWAEjKjP NDZptJGuVz1/WX8W13QZ9G74hQ7sK+MYRCK/SX19piGY7sxVpdbEhCuSJHI2F6l1ZJr3 I15A==
X-Gm-Message-State: ACgBeo27AVKyYbQvxnzs+d0HKqosExrsu2g+mnq1SyC/1jkQyHEM43Vz RYE2A7uKchkInZKVXDNr/rtNGg==
X-Google-Smtp-Source: AA6agR6Mwp0+IFBznrIg2FS6iWRI0GXZ+aiknsJ++RQZvBCkrxe2a2SsFtQtLcYH8a6xyKw+5yT5Jg==
X-Received: by 2002:a05:622a:1196:b0:342:f7a9:a138 with SMTP id m22-20020a05622a119600b00342f7a9a138mr10820863qtk.344.1661785467706; Mon, 29 Aug 2022 08:04:27 -0700 (PDT)
Received: from [192.168.4.22] (pool-173-66-83-240.washdc.fios.verizon.net. [173.66.83.240]) by smtp.gmail.com with ESMTPSA id s18-20020a05620a255200b006bbc09af9f5sm6348954qko.101.2022.08.29.08.04.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Aug 2022 08:04:26 -0700 (PDT)
User-Agent: Microsoft-MacOutlook/16.64.22081401
Date: Mon, 29 Aug 2022 11:04:26 -0400
From: Carl Wallace <carl@redhoundsoftware.com>
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Steve Lasker <Steve.Lasker@microsoft.com>, "dick@reliableenergyanalytics.com" <dick@reliableenergyanalytics.com>, Orie Steele <orie@transmute.industries>
CC: "scitt@ietf.org" <scitt@ietf.org>, 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>
Message-ID: <101FEC1B-FE53-4BF3-8617-795064AB6DA8@redhoundsoftware.com>
Thread-Topic: [SCITT] Trust Anchors ... was RE: [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials
Mime-version: 1.0
Content-type: multipart/mixed; boundary="B_3744615866_1503331576"
Archived-At: <https://mailarchive.ietf.org/arch/msg/scitt/gw6KXLFlAjVp0A8l4gc0CA4cTAY>
Subject: Re: [SCITT] Trust Anchors ... was RE: [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials
X-BeenThere: scitt@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Supply Chain Integrity, Transparency, and Trust" <scitt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/scitt>, <mailto:scitt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/scitt/>
List-Post: <mailto:scitt@ietf.org>
List-Help: <mailto:scitt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/scitt>, <mailto:scitt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2022 15:04:34 -0000

Inline…

 

From: SCITT <scitt-bounces@ietf.org> on behalf of Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Date: Wednesday, August 24, 2022 at 5:10 AM
To: Carl Wallace <carl@redhoundsoftware.com>, Steve Lasker <Steve.Lasker@microsoft.com>, "dick@reliableenergyanalytics.com" <dick@reliableenergyanalytics.com>, Orie Steele <orie@transmute.industries>
Cc: "scitt@ietf.org" <scitt@ietf.org>, 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>
Subject: [SCITT] Trust Anchors ... was RE: [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

 

This exchange caught my attention. 

 

For the purpose of specifying an interoperable protocol it does not matter how a trust anchor store looks like and particularly how many trust anchors it contains. It is, of course, important when deploying the protocol in a specific vertical. 

 

[CW] The spec I referenced does not specify a protocol but does represent how the TA store looks, mostly with an eye on putting optional fences around trust anchors so we stop treating all trust anchors as more or less 100% trusted within the context the TA store is used. Provided security considerations are satisfied, how a TA store is transported is not important nor is how an application ultimately stores TAs. The main point is expressing and enforcing limitations on use.

 

For example, a typical trust anchor store in a web browser for use with TLS has a large number of trust anchors (because that’s how the companies in the CA Browser Forum decided it). This trust anchor store can be (and typically is) augmented for use in enterprise environments. That does, however, not mean that the use of TLS in other environments requires the use of the same trust anchor store. The use of TLS on IoT devices, for example, use a very limited trust anchor store that is unrelated to the trust anchor store used by web browsers.

 

[CW] I agree limiting the number of TAs is probably the most effective tool, but if you look at TA usage for FIDO or key attestations today, many cases (if not most) are vendor-specific TAs and CAs. Why not define the TAs to codify this (without relying on the honor system)? 

 

Ciao

Hannes

 

From: SCITT <scitt-bounces@ietf.org> On Behalf Of Carl Wallace
Sent: Friday, August 12, 2022 12:55 PM
To: Steve Lasker <Steve.Lasker@microsoft.com>; dick@reliableenergyanalytics.com; Orie Steele <orie@transmute.industries>
Cc: scitt@ietf.org; 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>
Subject: Re: [SCITT] [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

 

Inline…

 

From: Steve Lasker <Steve.Lasker@microsoft.com>
Date: Thursday, August 11, 2022 at 7:20 PM
To: "dick@reliableenergyanalytics.com" <dick@reliableenergyanalytics.com>, 'Carl Wallace' <carl@redhoundsoftware.com>, Orie Steele <orie@transmute.industries>
Cc: "scitt@ietf.org" <scitt@ietf.org>, 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>
Subject: RE: [SCITT] [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

 

Hi Carl, you bring up a great point that I should have clarified. 

There roots of trust should be a collection. 

 

[CW] My point was more that even where there is a collection and it is possible to (tightly) bound the scope of a trust anchor or any public key then we should. The code signing example has cropped up here fairly often (i.e., why should my code signing key be accepted as fit to verify a signature on some other company’s code). FIDO attestation roots suggest that at least in some cases per-company TAs/CAs are the norm. TAs/CAs could be constrained to codify that practice.

 

You may choose to have a “public/vertical” trust policy, and an internal team “trust policy”. 

We’ll need a means to correlate the multiples, as how do they merge.

 

[CW] I’m not following why we would merge collections. Selecting a collection for use seems more likely.

 

Dick – yup. It’s interesting to think about how a company stamps their security stamp, and how it relates to the sources they allow in. 

 

From: SCITT <scitt-bounces@ietf.org> On Behalf Of Dick Brooks
Sent: Thursday, August 11, 2022 6:10 AM
To: 'Carl Wallace' <carl@redhoundsoftware.com>; Orie Steele <orie@transmute.industries>; Steve Lasker <Steve.Lasker@microsoft.com>
Cc: scitt@ietf.org; 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>
Subject: Re: [SCITT] [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

 

Just like other entities in the sw supply chain, the entity providing the root of trust can impact the trustworthiness score of software. 

 

Thanks,

 

Dick Brooks

  

Active Member of the CISA Critical Manufacturing Sector, 

Sector Coordinating Council – A Public-Private Partnership

 

Never trust software, always verify and report! ™

http://www.reliableenergyanalytics.com

Email: dick@reliableenergyanalytics.com

Tel: +1 978-696-1788

 

From: Carl Wallace <carl@redhoundsoftware.com> 
Sent: Thursday, August 11, 2022 7:22 AM
To: Orie Steele <orie@transmute.industries>; Steve Lasker <Steve.Lasker@microsoft.com>
Cc: scitt@ietf.org; Steve Lasker <Steve.Lasker=40microsoft.com@dmarc.ietf.org>; dick@reliableenergyanalytics.com
Subject: Re: [SCITT] [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

 

A single “trust store” may or may not suffice, but we likely want to put some fences around each trust anchor to limit what the trust anchor may be used to verify.

 

The FIDO metadata alliance has method of organizing trust anchors based on authenticator type: https://fidoalliance.org/specs/mds/fido-metadata-statement-v3.0-ps-20210518.html.

 

I briefed this new spec to the RATS working group last month: https://datatracker.ietf.org/doc/html/draft-wallace-rats-concise-ta-stores-00. There’s a fork of the Veraison project’s Corim repo with support for the -00 draft added here: https://github.com/carl-wallace/corim. I’d imagine the environment and constraints parts move a bit still, but the rough idea may be what you are getting at below.

 

 

From: SCITT <scitt-bounces@ietf.org> on behalf of Orie Steele <orie@transmute.industries>
Date: Wednesday, August 10, 2022 at 2:30 PM
To: Steve Lasker <Steve.Lasker@microsoft.com>
Cc: "scitt@ietf.org" <scitt@ietf.org>, Steve Lasker <Steve.Lasker=40microsoft.com@dmarc.ietf.org>, "dick@reliableenergyanalytics.com" <dick@reliableenergyanalytics.com>
Subject: Re: [SCITT] [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

 

> This just points to the value of having personal, company, industry policy based trust stores

+1 to this, here are a few examples of how groups have formed their own trust systems:

- https://www.iata.org/en/pressroom/pr/2020-12-16-01/ (aviation / travel)
- https://vci.org/issuers (healthcare)
- https://support.apple.com/guide/keychain-access/what-is-keychain-access-kyca1083/mac (personal)

You can imagine scenarios where a more limited set of issuers  might be required, or cases where you really want to be very open.

Regards,

OS

 

On Wed, Aug 10, 2022 at 1:21 PM Steve Lasker <Steve.Lasker@microsoft.com> wrote:

It’s an interesting example of whether a single root trust store is the best solution. 

Just because the browser trusts a root certificate, doesn’t mean it’s something we individually, or as a company believe is appropriate. We’ll just leave the specifics for obvious conclusion. 

This just points to the value of having personal, company, industry policy based trust stores

 

From: SCITT <scitt-bounces@ietf.org> On Behalf Of Dick Brooks
Sent: Wednesday, August 3, 2022 11:26 AM
To: 'Hart, Charlie' <charlie.hart@hal.hitachi.com>; Orie Steele <orie@transmute.industries>
Cc: 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>; scitt@ietf.org
Subject: Re: [SCITT] [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

 

That’s correct, Charlie. OATI’s root cert is not included in the browser trusted certificate store. 

 

I’m not sure why they chose to do this. 

 

Thanks,

 

Dick Brooks

  

Active Member of the CISA Critical Manufacturing Sector, 

Sector Coordinating Council – A Public-Private Partnership

 

Never trust software, always verify and report! ™

http://www.reliableenergyanalytics.com

Email: dick@reliableenergyanalytics.com

Tel: +1 978-696-1788

 

From: Hart, Charlie <charlie.hart@hal.hitachi.com> 
Sent: Wednesday, August 3, 2022 12:00 PM
To: 'Orie Steele' <orie@transmute.industries>; dick@reliableenergyanalytics.com
Cc: 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>; scitt@ietf.org
Subject: Re: [SCITT] [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials

 

(Side comment: I see that OATI is not a recognized root certificate authority by Mozilla or Apple - didn't check others - so the website is therefore inaccessible without relaxing security.)

 

From: SCITT <scitt-bounces@ietf.org> on behalf of Hart, Charlie <charlie.hart@hal.hitachi.com>
Sent: Wednesday, August 3, 2022 11:48 AM
To: 'Orie Steele' <orie@transmute.industries>; dick@reliableenergyanalytics.com <dick@reliableenergyanalytics.com>
Cc: 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>; scitt@ietf.org <scitt@ietf.org>
Subject: Re: [SCITT] [EXT]Re: Endor: A SCITT PoC for W3C Verifiable Credentials 

 

Thanks Dick. That is really helpful for SCITT a lot of related projects I am working on.

 

Charlie

From: SCITT <scitt-bounces@ietf.org> on behalf of Dick Brooks <dick@reliableenergyanalytics.com>
Sent: Wednesday, August 3, 2022 9:26 AM
To: 'Orie Steele' <orie@transmute.industries>
Cc: 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>; scitt@ietf.org <scitt@ietf.org>
Subject: [EXT]Re: [SCITT] Endor: A SCITT PoC for W3C Verifiable Credentials 

 

Orie,

 

Here is a high-level overview of the authentication mechanism and tracking used today for OASIS, inter-tie electricity scheduling.

 

Everything starts with the NAESB registry (EIR); https://www.naesb.org/pdf4/webregistry_mo_registration_quick_ref_guide_v1.0_0417.pdf 

 

Entities involved in inter-tie electricity transactions must register with NAESB’s EIR, see link above.

The registration process requires a party to obtain a NAESB compliant X.509 certificate from an accredited certificate authority (ACA); https://www.naesb.org/pdf4/ac_authorities_2022.pdf

 

Entities use their digital certificates for identification in OASIS; https://www.naesbwry.oati.com/NAESBWRY/sys-index.wml 

 

Inter-tie transactions are scheduled and tracked, using an E-TAG; https://en.wikipedia.org/wiki/NERC_Tag 

 

E-TAG’s are used to “connect the dots” and settle transactions that flow across Balancing Authroities.

 

Hope this helps.

 

Thanks,

 

Dick Brooks

  

Active Member of the CISA Critical Manufacturing Sector, 

Sector Coordinating Council – A Public-Private Partnership

 

Never trust software, always verify and report! ™

http://www.reliableenergyanalytics.com

Email: dick@reliableenergyanalytics.com

Tel: +1 978-696-1788

 

From: Orie Steele <orie@transmute.industries> 
Sent: Wednesday, August 3, 2022 9:09 AM
To: dick <dick@reliableenergyanalytics.com>
Cc: Steve Lasker <Steve.Lasker=40microsoft.com@dmarc.ietf.org>; scitt@ietf.org
Subject: Re: [SCITT] Endor: A SCITT PoC for W3C Verifiable Credentials

 

Thanks! 

 

I am interested in applying Verifiable Credentials to energy use cases, even if we don't have customers in that sector today.

The calls are open (https://github.com/w3c-ccg/traceability-vocab#meetings), but fair warning that most of the work happens on github async, and we usually just process issues and PRs during call time.

There are also aspects of Verifiable Credentials that I believe are relevant to the structure of endorsements / receipts:

The concept of "evidence":

- https://www.w3.org/TR/vc-data-model/#evidence
- https://datatracker.ietf.org/doc/html/draft-ietf-cose-countersign#section-3.1
- https://datatracker.ietf.org/doc/html/rfc4998

 

As one example.

I am hopeful that the next version of the Verifiable Credentials specification can point more directly to IETF RFCs to make its arguments, 
even if the json data model can't be updated to support CBOR / COSE as a first class citizen this round.
Perhaps the next charter for that WG might support this better, if we pave the way with examples.

Regards,

OS

 

On Wed, Aug 3, 2022, 7:54 AM Dick Brooks <dick@reliableenergyanalytics.com> wrote:

I agree. This paper by Orie, Michael, Brian and Mahmoud is very useful as guide for terminology and semantics.

 

I can provide the authors with a description of how we track electricity transactions for inter-tie scheduling, called OASIS a NAESB standard, if interested.

 

Thanks,

 

Dick Brooks

  

Active Member of the CISA Critical Manufacturing Sector, 

Sector Coordinating Council – A Public-Private Partnership

 

Never trust software, always verify and report! ™

http://www.reliableenergyanalytics.com

Email: dick@reliableenergyanalytics.com

Tel: +1 978-696-1788

 

From: SCITT <scitt-bounces@ietf.org> On Behalf Of Steve Lasker
Sent: Tuesday, August 2, 2022 8:21 PM
To: Orie Steele <orie@transmute.industries>; scitt@ietf.org
Subject: Re: [SCITT] Endor: A SCITT PoC for W3C Verifiable Credentials

 

Very cool, Orie. 

Love the sandbox experiments

 

 

From: SCITT <scitt-bounces@ietf.org> On Behalf Of Orie Steele
Sent: Saturday, July 30, 2022 2:08 PM
To: scitt@ietf.org
Subject: [SCITT] Endor: A SCITT PoC for W3C Verifiable Credentials

 

I made this today:

https://github.com/OR13/endor

As it says in the readme, this is just a toy example I made up to experiment with.

The nice thing about endorsing W3C Verifiable Credentials is that they are already an abstraction that applies to "non software supply chain" use cases... 

For example, we model cyber physical supply chain flows using them:

https://w3id.org/eability

There are a number of organizations looking at oil and gas, steel, ecommerce, and agriculture supply chains.

Often they will share some common trade documents such as Bills of Lading or Commercial Invoices.

These are examples of "SCITT Artifact Types" which you might expect to see across various distinct supply chain use cases.

However, as is the case with Oil and Gas needing to account for fluid dynamics, and software needing to account for compilers, build servers and various source files, there are cases where you may need to model components of a supply chain with Verifiable Credentials that are highly specific to the use case.

If you can tolerate modeling in RDF, W3C Verifiable Credentials come with a built in abstract data model that integrates well with existing industry ontologies such as:

- https://www.ebi.ac.uk/chebi/
- https://qudt.org/

My main complaint against W3C Verifiable Credentials is the limitation to JSON representations, if we could represent RDF in CBOR, we would have the best of both worlds with the main remaining disadvantage being the namespace overhead inherent in RDF.

If you drop that, you will likely need some registry or algorithm process for handling collisions and interoperability, but there are various solutions to those problems.

If you feel I butchered any of the concepts or terminology, feel free to yell at me here or on github issues, as I said, I made this today, it's not reflective of actual SCITT architecture, it was just to explore the space.

Regards,

OS

 

-- 

ORIE STEELE

Chief Technical Officer

www.transmute.industries

 


 

-- 

ORIE STEELE

Chief Technical Officer

www.transmute.industries

 

-- SCITT mailing list SCITT@ietf.org https://www.ietf.org/mailman/listinfo/scitt 

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. 

-- SCITT mailing list SCITT@ietf.org https://www.ietf.org/mailman/listinfo/scitt