Re: [Sat] Version -02 of the SATP core protocol draft ---- FW: New Version Notification for draft-hargreaves-sat-core-02.txt

Denis Avrilionis <denis@compell.io> Sun, 12 March 2023 07:42 UTC

Return-Path: <denis@compell.io>
X-Original-To: sat@ietfa.amsl.com
Delivered-To: sat@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C932C151532 for <sat@ietfa.amsl.com>; Sat, 11 Mar 2023 23:42:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 (2048-bit key) header.d=compell.io
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 bzJKJsXQnwmH for <sat@ietfa.amsl.com>; Sat, 11 Mar 2023 23:42:06 -0800 (PST)
Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 F3ED9C14CE25 for <sat@ietf.org>; Sat, 11 Mar 2023 23:42:05 -0800 (PST)
Received: by mail-wr1-x42d.google.com with SMTP id j2so8611187wrh.9 for <sat@ietf.org>; Sat, 11 Mar 2023 23:42:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=compell.io; s=google; t=1678606924; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=1W3Naz0fbEVrEqp04t6ICK8SEzjcxyp1rA0WSqwwr5k=; b=RVPPxX3hsY3+tEBYTLSje4dRLM+d/cP5jqOoZDU+VliVnHnmerv6KVLRmegJnhXjl0 hgPpklGJOepFMY6nd2wiuhFH88GAeBqBt+nVG18/ERtRZA081ONS9AKkx5n5uG16R2GZ +JOcbDNPkTe+tz6vAY7BD1cyAiXcGbZ8vqzgrvX41OIAAE4KnhXPa4K3KJaEwdlQfuiJ Doz5ITqBBQ8/TkV2aGSfEQksDV98wqKwOhveRFdss+5RO5nGZXZGV/6boiDWWv6/ACYd 1gBUIRoWSZ/29dc4qY9LLuGCGUw3EbEBbQ+LOwOuw4kARguxx5Nvj+j9CeSvTAh3BJjv ekoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678606924; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1W3Naz0fbEVrEqp04t6ICK8SEzjcxyp1rA0WSqwwr5k=; b=6vTRJtxlUi7TOXWZBihjbnMXATEGewexO7P67IXLH+l9flF6x7Ati53o9Q6llc4/av uvVZDPFczhGr1bJMX3OYsWa4ZH2I+8ZrZYv2O4Jvx+HHV2i6GBjbWY4go1OnxfsZPNkj Ckq4gp4L0IjsUY00yBROdxstY5VdisKT83AdBO4sjwQOyjOklslc002aneFYemWcPiIa bS5oxlP8++gBhIHDv2umHNSnUOZSUsKL1ltnCoWfAKzODnnxVBfeU31HpfICDnU4OeZM wLlfcOq1xmBy+mdtBahVb6ifAvQAKljEqET5SrDMleenEjdlbRwGhWqFHyyhvBbmFotw 1rtw==
X-Gm-Message-State: AO0yUKULzuoj3zUb1wc4qnOyEUt+XTxl6xcbzz4nZ7U5ip+gLl6P2hd2 dW+j9SGJ6HlThGU06kpPBPz6RkzO18K3G7vFArqAlQ==
X-Google-Smtp-Source: AK7set/qxhxBRQZPjKEXc9r53w0NtiTGBwNZttUVcUkqWdL3y1UG8God/Hw3+IGm8WSdeMzPjzDu2A==
X-Received: by 2002:adf:e585:0:b0:2ce:a34b:2b0b with SMTP id l5-20020adfe585000000b002cea34b2b0bmr2553459wrm.28.1678606923953; Sat, 11 Mar 2023 23:42:03 -0800 (PST)
Received: from smtpclient.apple ([2a02:85f:e0b7:d900:d423:dabe:b1a3:f5a4]) by smtp.gmail.com with ESMTPSA id b16-20020a5d4b90000000b002be0b1e556esm4265344wrt.59.2023.03.11.23.42.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 11 Mar 2023 23:42:03 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: Denis Avrilionis <denis@compell.io>
Mime-Version: 1.0 (1.0)
Date: Sun, 12 Mar 2023 09:41:52 +0200
Message-Id: <E1D2FB88-93EC-46C0-B472-F4842386A455@compell.io>
References: <2dddee52ac644f0aa082e6216282b335@oc11expo23.exchange.mit.edu>
Cc: sat@ietf.org, Martin Hargreaves <martin.hargreaves@quant.network>, Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>, Claire Facer <Claire.Facer@quant.network>, Wes Hardaker <wjhns1@hardakers.net>
In-Reply-To: <2dddee52ac644f0aa082e6216282b335@oc11expo23.exchange.mit.edu>
To: Thomas Hardjono <hardjono@mit.edu>
X-Mailer: iPhone Mail (20D67)
Archived-At: <https://mailarchive.ietf.org/arch/msg/sat/tLxlCRGdGhFkowp6eBmQ50yw-PU>
Subject: Re: [Sat] Version -02 of the SATP core protocol draft ---- FW: New Version Notification for draft-hargreaves-sat-core-02.txt
X-BeenThere: sat@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "The purpose of this mailing-list is to discuss the secure asset transfer \(SAT\) protocol and related aspects." <sat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sat>, <mailto:sat-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sat/>
List-Post: <mailto:sat@ietf.org>
List-Help: <mailto:sat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sat>, <mailto:sat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Mar 2023 07:42:09 -0000

Hi Thomas,

I proposed to present a message flow to cover the transfer context for our meeting 14 March. 
@claire @wes please tell me if I can have 10’ to present on Tuesday.

To my view the transaction context includes the session id so perhaps we can refer to a transaction context ID throughout the flow, that would be simpler than the couple <contextID, sessionID>

--
Denis

> On 12 Mar 2023, at 00:46, Thomas Hardjono <hardjono@mit.edu> wrote:
> 
> 
> 
> Folks,
> 
> Attached below is the link to an update the core protocol draft.
> 
> 
> (a) The major updates to the draft :
> 
> -- Uses the terms "Lock Assertion" and "Receipt" (instead of "Evidence").
> 
> -- Inclusion of an explicit "session_id" value in each message.
> 
> -- The addition of a new subsection on the Commit-Ready message (which previously was not in draft-01)
> 
> -- The message flows now matches our agreed flows in v16 of the color message-flow diagram PNG file (in our repo).
> 
> 
> 
> (b) What was not added as yet (but text may be needed):
> 
> The architecture draft-03 talks about a Context-ID, which is transfer-context information/parameter that App1 and App2 are assumed to have established in Stage 0 (which is out of scope for SATP). This occurs at the Application level/layer, before SATP gets kickstarted.
> 
> The idea is that the Context-ID value could be (should be) bound somehow to the session_id so that the Applications can always see the progress of a transfer occurring between the two gateways.
> 
> Because the App1 & App2 could have multiple independent transfers occurring simultaneously and some of those may be handled by the same pair of gateways G1 and G2, the combination of the <Context-ID, session_id> allows each transfer flow to be identifiable.
> 
> We need to discuss this more, I think.
> 
> 
> 
> Best
> 
> --thomas
> 
> 
> ________________________________________
> From: internet-drafts@ietf.org [internet-drafts@ietf.org]
> Sent: Saturday, March 11, 2023 5:29 PM
> To: Martin Hargreaves; Rafael Belchior; Thomas Hardjono
> Subject: New Version Notification for draft-hargreaves-sat-core-02.txt
> 
> A new version of I-D, draft-hargreaves-sat-core-02.txt
> has been successfully submitted by Thomas Hardjono and posted to the
> IETF repository.
> 
> Name:           draft-hargreaves-sat-core
> Revision:       02
> Title:          Secure Asset Transfer Protocol (SATP)
> Document date:  2023-03-11
> Group:          Individual Submission
> Pages:          29
> URL:            https://www.ietf.org/archive/id/draft-hargreaves-sat-core-02.txt
> Status:         https://datatracker.ietf.org/doc/draft-hargreaves-sat-core/
> Htmlized:       https://datatracker.ietf.org/doc/html/draft-hargreaves-sat-core
> Diff:           https://author-tools.ietf.org/iddiff?url2=draft-hargreaves-sat-core-02
> 
> Abstract:
>   This memo This memo describes the Secure Asset Transfer (SAT)
>   Protocol for digital assets.  SAT is a protocol operating between two
>   gateways that conducts the transfer of a digital asset from one
>   gateway to another.  The protocol establishes a secure channel
>   between the endpoints and implements a 2-phase commit to ensure the
>   properties of transfer atomicity, consistency, isolation and
>   durability.
> 
> 
> 
> 
> The IETF Secretariat
> 
> 
> -- 
> sat mailing list
> sat@ietf.org
> https://www.ietf.org/mailman/listinfo/sat