Re: [SCITT] Endor: A SCITT PoC for W3C Verifiable Credentials

Dick Brooks <dick@reliableenergyanalytics.com> Wed, 03 August 2022 13:26 UTC

Return-Path: <dick@reliableenergyanalytics.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 B1CC1C15948F for <scitt@ietfa.amsl.com>; Wed, 3 Aug 2022 06:26:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.603
X-Spam-Level:
X-Spam-Status: No, score=-2.603 tagged_above=-999 required=5 tests=[AC_DIV_BONANZA=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.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 ybPA-jGv0BJ6 for <scitt@ietfa.amsl.com>; Wed, 3 Aug 2022 06:26:48 -0700 (PDT)
Received: from forward3-smtp.messagingengine.com (forward3-smtp.messagingengine.com [66.111.4.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C7784C159490 for <scitt@ietf.org>; Wed, 3 Aug 2022 06:26:47 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailforward.nyi.internal (Postfix) with ESMTP id 9290E19401DA; Wed, 3 Aug 2022 09:26:46 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 03 Aug 2022 09:26:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1659533206; x=1659619606; bh=rL4phmvtb4lQV ygGJ9MFufSXC6HlyvLZDKFJrhKRuEM=; b=d4TKF1yVkXC6Hcjy+xQq6qhuxsKII qmaiNng2iyaSkmLVTNOUkzCPSv57ZNrhtdOD12RUqQCzTE/NUBR24ZQ7GZFQYE17 2jENl35Fi62nr4sCAyajflP+OHTggQR1D/2uxDVb7Qbdt3C15WFd9+ARIzb1EWyH 4mW/oQKYjoMdwuzB8pKoS6NsVsRmdQG49Wsv6Am8UkhX6V2Ppo/3VR2g9ApR1jyn xgLwpi8qf/3KcVchQoivGUNMPsxGSH2ZKjldtGr48OFtjrzPE+pn7z7zlaipY1Pt ORvKsk67wDarGrccOMIegNDzFucaPzNDKa80Uq3dQSC/Ccu4befCaJ24A==
X-ME-Sender: <xms:lnfqYqW0V_duX8aPwGVTcmfpQ-CoR0rCZYAQx4S6Edya5g-eVOHyBQ> <xme:lnfqYmlEtgJNWClODW5hzc0dcuEspKV5u274VWlvg3gCcAW6npamaulFAErTrbPuT CKEHGKJdfG-YUDRCw>
X-ME-Received: <xmr:lnfqYubOPf9Hv3lpATm4hecN78arO1IOWSpJmKapCQFCPteefb8n6CE>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddvjedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheprhfhvfevfhgjufffohfkgggtofhtsehrtdhgpedvtdejnecuhfhrohhmpedf ffhitghkuceurhhoohhkshdfuceoughitghksehrvghlihgrsghlvggvnhgvrhhghigrnh grlhihthhitghsrdgtohhmqeenucggtffrrghtthgvrhhnpeevtdfhvdejffeufeegudff teevffejjeeggfeukeekgfdvheetfeehteelteetveenucffohhmrghinhepnhgrvghssg drohhrghdpohgrthhirdgtohhmpdifihhkihhpvgguihgrrdhorhhgpdhrvghlihgrsghl vggvnhgvrhhghigrnhgrlhihthhitghsrdgtohhmpdhgihhthhhusgdrtghomhdpfiefrd horhhgpdhivghtfhdrohhrghdpohhuthhlohhokhdrtghomhdpfiefihgurdhorhhgpdgv sghirdgrtgdruhhkpdhquhguthdrohhrghdpthhrrghnshhmuhhtvgdrihhnughushhtrh hivghsnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep ughitghksehrvghlihgrsghlvggvnhgvrhhghigrnhgrlhihthhitghsrdgtohhm
X-ME-Proxy: <xmx:lnfqYhUoH6odtD2rIEp3u_B8UQ2rAoXp6zWlYZwtHOFEUR07qVepQg> <xmx:lnfqYkmz5tKuDoEnhtj2yadxCjY1mrFKXcJLj_nR4pbTu3b3rqbqxw> <xmx:lnfqYmeIgCcPydarftmMV9XxHCwhL7lXTeIrlYz2KF_SL9AEMO6A9A> <xmx:lnfqYruiAzTCCFVvLXC1rwcCGAfRZWct6OJj_5XihjkOgTQr0RbZgQ>
Feedback-ID: i57d944d0:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Aug 2022 09:26:45 -0400 (EDT)
Reply-To: dick@reliableenergyanalytics.com
From: Dick Brooks <dick@reliableenergyanalytics.com>
To: 'Orie Steele' <orie@transmute.industries>
Cc: 'Steve Lasker' <Steve.Lasker=40microsoft.com@dmarc.ietf.org>, scitt@ietf.org
References: <CAN8C-_K-w5QQqrZDS9VH2-gzOO9e+HS8b9nGvG+ZBjJ-PM-MCw@mail.gmail.com> <LV2PR21MB3350154C13FA8A6F9D940FA79C9C9@LV2PR21MB3350.namprd21.prod.outlook.com> <13e501d8a738$1b277ed0$51767c70$@reliableenergyanalytics.com> <CAN8C-_JvDwS4CTBJMm9YN8jdXnLATPg0j3xO5BFs+yraWZc2Yg@mail.gmail.com>
In-Reply-To: <CAN8C-_JvDwS4CTBJMm9YN8jdXnLATPg0j3xO5BFs+yraWZc2Yg@mail.gmail.com>
Date: Wed, 03 Aug 2022 09:26:43 -0400
Organization: Reliable Energy Analytics LLC
Message-ID: <144801d8a73c$adb8dec0$092a9c40$@reliableenergyanalytics.com>
MIME-Version: 1.0
Content-Type: multipart/related; boundary="----=_NextPart_000_1449_01D8A71B.26A73EC0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQFW99ZsMx84Va7zOFRPyoGd1SQCTgH1aWAUAs6kgHECt6pWGq5kp4fA
Content-Language: en-us
Archived-At: <https://mailarchive.ietf.org/arch/msg/scitt/_IXRFkdNGe3W5UiAZZIb2lR95Q4>
Subject: Re: [SCITT] 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: Wed, 03 Aug 2022 13:26:52 -0000

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

 

 <https://reliableenergyanalytics.com/products> Never trust software, always verify and report! ™

 <http://www.reliableenergyanalytics.com/> http://www.reliableenergyanalytics.com

Email:  <mailto:dick@reliableenergyanalytics.com> 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 <mailto: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

 

 <https://reliableenergyanalytics.com/products> Never trust software, always verify and report! ™

 <http://www.reliableenergyanalytics.com/> http://www.reliableenergyanalytics.com

Email:  <mailto:dick@reliableenergyanalytics.com> dick@reliableenergyanalytics.com

Tel: +1 978-696-1788

 

From: SCITT <scitt-bounces@ietf.org <mailto:scitt-bounces@ietf.org> > On Behalf Of Steve Lasker
Sent: Tuesday, August 2, 2022 8:21 PM
To: Orie Steele <orie@transmute.industries <mailto:orie@transmute.industries> >; scitt@ietf.org <mailto: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 <mailto:scitt-bounces@ietf.org> > On Behalf Of Orie Steele
Sent: Saturday, July 30, 2022 2:08 PM
To: scitt@ietf.org <mailto:scitt@ietf.org> 
Subject: [SCITT] Endor: A SCITT PoC for W3C Verifiable Credentials

 

I made this today:

https://github.com/OR13/endor <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FOR13%2Fendor&data=05%7C01%7CSteve.Lasker%40microsoft.com%7C79cb3d326bec41bf51ac08da726fb0f1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637948121310174010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=GdRRD0aMpzOJQIcqCyhajcz2NXRZH4irlRR31FFausk%3D&reserved=0> 

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://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ebi.ac.uk%2Fchebi%2F&data=05%7C01%7CSteve.Lasker%40microsoft.com%7C79cb3d326bec41bf51ac08da726fb0f1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637948121310174010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=bXykuDkWeLmveTLjWO5zepwu20MQ5H8LIcQJyCaKN%2BM%3D&reserved=0> 
- https://qudt.org/ <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fqudt.org%2F&data=05%7C01%7CSteve.Lasker%40microsoft.com%7C79cb3d326bec41bf51ac08da726fb0f1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637948121310174010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QOs%2F5MIMJSm%2BkqzHSSxV6MtsA4mOIzanJ6Vwtpl4NO8%3D&reserved=0> 

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 <http://www.transmute.industries> 

 

 <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.transmute.industries%2F&data=05%7C01%7CSteve.Lasker%40microsoft.com%7C79cb3d326bec41bf51ac08da726fb0f1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637948121310174010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=RgoG8nYGEEYJJBk1amvfg9rTTO71hz9Z8SXKK1Ot7FE%3D&reserved=0>