
From nobody Wed Mar  3 11:33:16 2021
Return-Path: <rlb@ipv.sx>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73E763A18F7 for <mls@ietfa.amsl.com>; Wed,  3 Mar 2021 11:33:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=ipv-sx.20150623.gappssmtp.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 LIw2iZSk-dM5 for <mls@ietfa.amsl.com>; Wed,  3 Mar 2021 11:33:12 -0800 (PST)
Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (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 19F8D3A18F8 for <mls@ietf.org>; Wed,  3 Mar 2021 11:33:12 -0800 (PST)
Received: by mail-qv1-xf2f.google.com with SMTP id r5so12270926qvv.9 for <mls@ietf.org>; Wed, 03 Mar 2021 11:33:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L0wBLWMYrUW7zGTgMGTjX5bblc+ZssnZ+5sb+uEbmCA=; b=MDh3CR7OG4n7nf8FfRj4f01A4dB0oXIBs/yilbkOq2fvq/I2OCTXFIcmzsoJfbCM1T vkqfn65B6wnTD1Rgb8zyfsTWOKI5LV/+1t9uOclbyBvkwK69fhZTqZF49xdDRh5R3YSB pk6+xddDASACDOKOZp+RkwKMZEBJa7u2lQYW93ByBV9rOMXCflugV25NxI95evHj1quO l6rjPkHGvIDetIKaZ6lDwl6FO6NNbCx4DC8PXXx33p91XeptX4BGp+TDYoPyu/9COa6W /vUTo1bH3owHuteYQb7Cg12KFn2VM7zQ7M9aYMZYwnR8vbjH9NH3D9k5JwgOvPFLS/H6 KZ/Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L0wBLWMYrUW7zGTgMGTjX5bblc+ZssnZ+5sb+uEbmCA=; b=D4ZD9LI/XP1QGgoXz/fgI5+0GMTymt+abA6H64e0rvFbwVrnPbjOdcOJUMf1hh4QI8 LmYiaF5OvMMU1s+WG/7gIEaHVh0nai04lEk2ygZFXRYSK5WNQ1y7P9j3pbB4AvTm8pkd 4N5b1dI6IXwkcpKyUGsMs7qiWAELnQLDKmRneUCvTX2pxHZYTZPPxjka+BQw+SausRzz sEUpUHBszimjYt0wtpg8sloo1Ylo1b1yPoJWZJq5FPkThpebwfFQc7CLu3aKBmLYg9n2 wCgt/SY7RAjOG6Xr4N8PCkgf5TREMiOhWjKePinc162efFGgE5xhbI7RMUI6PgbCMM1T dlbg==
X-Gm-Message-State: AOAM533goj8FXM8aShL2QbgUeUVDs2sx1b0B8UcvCRzYMH9LALKk7hpr kwcm+/nf0tg8YXaayZ+opTIkEX55TP41jC6tlAwZFocGZk0X6ni6
X-Google-Smtp-Source: ABdhPJx/o7smqFTVOYAGWlF6QTo2IbFphGLdgfc6b9Qo4f3IMSqHqTDVq4NSmeTU6z0kxm39oLI2WJ3mc0G67UNqNEs=
X-Received: by 2002:a05:6214:268c:: with SMTP id gm12mr553333qvb.36.1614799988183;  Wed, 03 Mar 2021 11:33:08 -0800 (PST)
MIME-Version: 1.0
References: <107abb03-e620-43ed-ac75-034ab6ed1ff4@www.fastmail.com> <8E3FEF5E-F5B5-4B58-A5BD-2464383C245A@wire.com> <924f2f66-795c-4149-b5bf-dd61bf99e678@www.fastmail.com>
In-Reply-To: <924f2f66-795c-4149-b5bf-dd61bf99e678@www.fastmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Wed, 3 Mar 2021 14:32:49 -0500
Message-ID: <CAL02cgS_feKFwkarCQ=M649KAZSGznVnAF0OoRw20FBE4f5+Vw@mail.gmail.com>
To: Hubert Chathi <hubertc@matrix.org>
Cc: Messaging Layer Security WG <mls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000adeb8a05bca6ebc6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/EogKajJylbHkXDE3CP-iNZFAI1w>
Subject: Re: [MLS] question about group contexts and deriving epoch secrets
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Mar 2021 19:33:14 -0000

--000000000000adeb8a05bca6ebc6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks for raising this, Hubert, I agree that it's ambiguous in the
current text, but I think there is a solution here that we just need to
clarify :)  Basically, I think the "provisional" GroupContext morphs into
the "new" GroupContext over the course of generating / applying a commit.
Let me try to articulate my theory of how things work here, then if that
makes sense, we can try to turn it into spec text.

The joiner side seems unambiguous.  The joiner gets the GroupContext for
the epoch in which they're added -- in fact, the GroupInfo carried in a
Welcome is basically just a signed GroupContext.

When creating / verifying a Commit, you need a GroupContext at three points=
:
1. When you encap/decap the UpdatePath
2. When you ratchet forward the key schedule
3. When you sign the MLSPlaintext of the Commit

All three of these need to be different:
* Case (3) uses the GroupContext from the old epoch, i.e., the one that
corresponds to MLSPlaintext.epoch, so that recipients can verify the
signature before processing the message
* Case (2) uses the GroupContext for the new epoch, after the proposals and
UpdatePath have been applied, so that joiners can compute the epoch_secret
* Case (1) uses a "provisional" GroupContext that  captures the state of
the tree at the time the UpdatePath is computed:
    * epoch =3D old_group_context.epoch + 1
    * tree_hash reflects the tree with proposals applied
    * group_id, confirmed_transcript_hash, and extensions stay the same

Looking at this in chronological order for the Commit generator:
* Cache the old GroupContext for use in signing later
* Apply proposals to the tree
    =3D> provisional GroupContext
    =3D> compute UpdatePath using provisional GroupContext
* Sign Commit using old GroupContext
    =3D> update confirmed_transcript_hash
    =3D> new GroupContext
    =3D> epoch_secret
    =3D> confirmation_tag

Does that make sense to you?

--RLB


On Tue, Feb 9, 2021 at 6:46 PM Hubert Chathi <hubertc@matrix.org> wrote:

> On Tue, 9 Feb 2021, at 04:56, Raphael Robert wrote:
> > I think =E2=80=9Cnew GroupContext=E2=80=9D and =E2=80=9Cprovisional Gro=
upContext=E2=80=9D are synonyms.
>
> I'm not so sure about this.  The "provisional GroupContext" is created
> after applying the proposals (line 2532), but before the UpdatePath is
> applied to the tree (line 2559).  Whereas, from what I understand, new
> members are only given the tree after the UpdatePath is applied, which
> would give a different tree_hash and hence GroupContext.  I don't know if
> I'm just misunderstanding something.
>
> > Creating the Commit:
> >  - Use the confirmed transcript hash (old intermediate transcript hash
> > combined with new commit content from current MLSPlaintext)
> >  - Create new provisional GroupContext with new provisional epoch (old
> > epoch  + 1), new tree hash (after proposals were applied to old tree)
> > and confirmed transcript hash from above
> >
> > Applying a Commit as an existing member:
> >  - Same as creating a Commit
> >
> > Joining a group from a Welcome message:
> > - Create GroupContext with epoch from GroupInfo, tree hash from
> > GroupInfo and confirmed transcript hash from GroupInfo
> >
> > Does that answer the question?
> >
> > If you think the spec is wrong/confusing feel free to file a PR.
>
> Yes, once I manage to understand what's going on, I plan on filing a PR.
>
> >
> > Raphael
> >
> > > On 9. Feb 2021, at 00:45, Hubert Chathi <hubertc@matrix.org> wrote:
> > >
> > > When deriving the epoch secret, you do "ExpandWithLabel(., "epoch",
> GroupContext_[n], KDF.Nh)", so you need a GroupContext.  As far as I can
> tell, there appears to be a contradiction about which GroupContext to use=
:
> in the "Key Schedule" section (Line 1404), it says to use "The GroupConte=
xt
> object for current epoch", but in the "Commit" section under the part
> talking about a group member who applies a Commit message (Line 2660), it
> says to use the provisional GroupContext.  (The part talking about the
> group member who creates the Commit message doesn't say which GroupContex=
t
> to use.)  If we are supposed to use the "new" GroupContext (after applyin=
g
> both the proposals and the update), but if we are supposed to use the
> provisional GroupContext, then I don't think that a new member has access
> to the tree_hash or confirmed_transcript_hash to create the GroupContext
> needed to derive the epoch secret.  So it seems like the "new" GroupConte=
xt
> should be correct, but Line 2660 is pretty expli
> > > cit about using the provisional GroupContext.
> > >
> > > _______________________________________________
> > > MLS mailing list
> > > MLS@ietf.org
> > > https://www.ietf.org/mailman/listinfo/mls
> >
> > _______________________________________________
> > MLS mailing list
> > MLS@ietf.org
> > https://www.ietf.org/mailman/listinfo/mls
> >
>
> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls
>

--000000000000adeb8a05bca6ebc6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Thanks for raising this, Hubert, I agree that it&#39;=
s ambiguous in the=C2=A0 current text, but I think there is a solution here=
 that we just need to clarify :)=C2=A0 Basically, I think the &quot;provisi=
onal&quot; GroupContext morphs into the &quot;new&quot; GroupContext over t=
he course of generating / applying a commit.=C2=A0 Let me try to articulate=
 my theory of how things work here, then if that makes sense, we can try to=
 turn it into spec text.<br></div><div><br></div><div>The joiner side seems=
 unambiguous.=C2=A0 The joiner gets the GroupContext for the epoch in which=
 they&#39;re added -- in fact, the GroupInfo carried in a Welcome is basica=
lly just a signed GroupContext.</div><div><br></div><div>When creating / ve=
rifying a Commit, you need a GroupContext at three points:<br></div><div>1.=
 When you encap/decap the UpdatePath</div><div>2. When you ratchet forward =
the key schedule</div><div>3. When you sign the MLSPlaintext of the Commit<=
/div><div><br></div><div>All three of these need to be different:</div><div=
>* Case (3) uses the GroupContext from the old epoch, i.e., the one that co=
rresponds to MLSPlaintext.epoch, so that recipients can verify the signatur=
e before processing the message<br></div><div>* Case (2) uses the GroupCont=
ext for the new epoch, after the proposals and UpdatePath have been applied=
, so that joiners can compute the epoch_secret</div><div>* Case (1) uses a =
&quot;provisional&quot; GroupContext that=C2=A0 captures the state of the t=
ree at the time the UpdatePath is computed:<br></div><div>=C2=A0=C2=A0=C2=
=A0 * epoch =3D old_group_context.epoch + 1<br></div><div>=C2=A0=C2=A0=C2=
=A0 * tree_hash reflects the tree with proposals applied</div><div>=C2=A0=
=C2=A0=C2=A0 * group_id, confirmed_transcript_hash, and extensions stay the=
 same</div><div><br></div><div>Looking at this in chronological order for t=
he Commit generator:</div><div>* Cache the old GroupContext for use in sign=
ing later</div><div>* Apply proposals to the tree</div><div>=C2=A0=C2=A0=C2=
=A0 =3D&gt; provisional GroupContext</div><div>=C2=A0=C2=A0=C2=A0 =3D&gt; c=
ompute UpdatePath using provisional GroupContext<br></div><div>* Sign Commi=
t using old GroupContext <br></div><div>=C2=A0=C2=A0=C2=A0 =3D&gt; update c=
onfirmed_transcript_hash</div><div>=C2=A0=C2=A0=C2=A0 =3D&gt; new GroupCont=
ext</div><div>=C2=A0=C2=A0=C2=A0 =3D&gt; epoch_secret</div><div>=C2=A0=C2=
=A0=C2=A0 =3D&gt; confirmation_tag<br></div><div><br></div><div>Does that m=
ake sense to you?</div><div><br></div><div>--RLB<br></div><div><br></div></=
div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On=
 Tue, Feb 9, 2021 at 6:46 PM Hubert Chathi &lt;<a href=3D"mailto:hubertc@ma=
trix.org">hubertc@matrix.org</a>&gt; wrote:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex">On Tue, 9 Feb 2021, at 04:56, Raphael Robert wr=
ote:<br>
&gt; I think =E2=80=9Cnew GroupContext=E2=80=9D and =E2=80=9Cprovisional Gr=
oupContext=E2=80=9D are synonyms.<br>
<br>
I&#39;m not so sure about this.=C2=A0 The &quot;provisional GroupContext&qu=
ot; is created after applying the proposals (line 2532), but before the Upd=
atePath is applied to the tree (line 2559).=C2=A0 Whereas, from what I unde=
rstand, new members are only given the tree after the UpdatePath is applied=
, which would give a different tree_hash and hence GroupContext.=C2=A0 I do=
n&#39;t know if I&#39;m just misunderstanding something.<br>
<br>
&gt; Creating the Commit:<br>
&gt;=C2=A0 - Use the confirmed transcript hash (old intermediate transcript=
 hash <br>
&gt; combined with new commit content from current MLSPlaintext)<br>
&gt;=C2=A0 - Create new provisional GroupContext with new provisional epoch=
 (old <br>
&gt; epoch=C2=A0 + 1), new tree hash (after proposals were applied to old t=
ree) <br>
&gt; and confirmed transcript hash from above<br>
&gt; <br>
&gt; Applying a Commit as an existing member:<br>
&gt;=C2=A0 - Same as creating a Commit<br>
&gt; <br>
&gt; Joining a group from a Welcome message:<br>
&gt; - Create GroupContext with epoch from GroupInfo, tree hash from <br>
&gt; GroupInfo and confirmed transcript hash from GroupInfo<br>
&gt; <br>
&gt; Does that answer the question?<br>
&gt; <br>
&gt; If you think the spec is wrong/confusing feel free to file a PR.<br>
<br>
Yes, once I manage to understand what&#39;s going on, I plan on filing a PR=
.<br>
<br>
&gt; <br>
&gt; Raphael<br>
&gt; <br>
&gt; &gt; On 9. Feb 2021, at 00:45, Hubert Chathi &lt;<a href=3D"mailto:hub=
ertc@matrix.org" target=3D"_blank">hubertc@matrix.org</a>&gt; wrote:<br>
&gt; &gt; <br>
&gt; &gt; When deriving the epoch secret, you do &quot;ExpandWithLabel(., &=
quot;epoch&quot;, GroupContext_[n], KDF.Nh)&quot;, so you need a GroupConte=
xt.=C2=A0 As far as I can tell, there appears to be a contradiction about w=
hich GroupContext to use: in the &quot;Key Schedule&quot; section (Line 140=
4), it says to use &quot;The GroupContext object for current epoch&quot;, b=
ut in the &quot;Commit&quot; section under the part talking about a group m=
ember who applies a Commit message (Line 2660), it says to use the provisio=
nal GroupContext.=C2=A0 (The part talking about the group member who create=
s the Commit message doesn&#39;t say which GroupContext to use.)=C2=A0 If w=
e are supposed to use the &quot;new&quot; GroupContext (after applying both=
 the proposals and the update), but if we are supposed to use the provision=
al GroupContext, then I don&#39;t think that a new member has access to the=
 tree_hash or confirmed_transcript_hash to create the GroupContext needed t=
o derive the epoch secret.=C2=A0 So it seems like the &quot;new&quot; Group=
Context should be correct, but Line 2660 is pretty expli<br>
&gt; &gt; cit about using the provisional GroupContext.<br>
&gt; &gt; <br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; MLS mailing list<br>
&gt; &gt; <a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a=
><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"nore=
ferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; MLS mailing list<br>
&gt; <a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
&gt;<br>
<br>
_______________________________________________<br>
MLS mailing list<br>
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
</blockquote></div>

--000000000000adeb8a05bca6ebc6--


From nobody Fri Mar  5 14:53:15 2021
Return-Path: <hubertc@matrix.org>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2E0B3A1132 for <mls@ietfa.amsl.com>; Fri,  5 Mar 2021 14:53:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level: 
X-Spam-Status: No, score=-2.119 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=matrix.org header.b=WtOEce6T; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Yb0cL3mc
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 DorJrXvMfzIW for <mls@ietfa.amsl.com>; Fri,  5 Mar 2021 14:53:11 -0800 (PST)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 555A43A112A for <mls@ietf.org>; Fri,  5 Mar 2021 14:53:11 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1DB621401; Fri,  5 Mar 2021 17:53:10 -0500 (EST)
Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Fri, 05 Mar 2021 17:53:10 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=matrix.org; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=XZRAPV5bAezu+n6MdCFuM9Juk/O1vW/ +s0vYGO2fHpU=; b=WtOEce6TGGz56bWOx3pOfoYXIy7dxhmGReVkOThMcsOPbCF iBr53tLYn1KD2zgSoT+FNl/VQhW433pD6BUzFQNNGd8EdYXAU+Vod12wRRhKy8Xo h5vABGmg7qFBNK/9rd5z/kKiWpScg7EOHb/5jlG5BQioeuFK1GmLbhKgnuPpgYWJ wt1OHF+a4zc/yIM4ywX27fav/ixOr0nfc4kIr5UHsCnGI9Q3CgTj+Kt/kcSbxAzg p3mYqw5DK/CUi8DA1B4dtST9vQYyUDHglBegBlW+8gCzIempSe6M62gI85jkGgCE HAYUL0xORvcb1E7CTtLCJNb9k1Y8i03JYPMv1sg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=XZRAPV 5bAezu+n6MdCFuM9Juk/O1vW/+s0vYGO2fHpU=; b=Yb0cL3mck3Dm/3AFwLplXw ehZZWWQ7/87XPsgm9iQ6BAot9DwDfQ5B85Hv+ch5EASYRJDbaweLAiZ+OHfXf4aX AKWWettrFIm4ItGOZpflTl0djtFlsrei9Wu+YVi3rOt2TtC+rU50cQ34IaVdk3Cl 0p0DTKIH79e0jmzHYfu+0qODqB1OcKE+4dFFX1IL0PgRI++dkC+yx3WYVhUkeMtb WTDAZ2PGhRCacq9l5mxVWWAWZKk2JogmwGj3EDnudQm1VcD1j1c+sS8szUNgKiPF goKxdCI2emDxLuIPNiDJv6akiMrtOY+8rue7iJYOGVdvbuzrUj4nkHm353Fx14fA ==
X-ME-Sender: <xms:VLZCYDmZRroIUofjpImNoqgbeQvXQIMSGVNGy5nrnVGbcOit3GjStg> <xme:VLZCYG2POrTGXgoaIUnlxZXemRYfinf_VD4iX4luI1ubZ_zDh11n9IXZVvAtl7Xzl GC_YqF8CBVphFaRPi0>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtjedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerreejnecuhfhrohhmpedfjfhusggvrhhtucevhhgrthhhihdfuceohhhusggvrhht tgesmhgrthhrihigrdhorhhgqeenucggtffrrghtthgvrhhnpeehvdetfefgjeejffffke etvdfhuedtgfdviedvvedtgeehgeevfedvuedthfeujeenucffohhmrghinhepihgvthhf rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh ephhhusggvrhhttgesmhgrthhrihigrdhorhhg
X-ME-Proxy: <xmx:VLZCYJpXpw_a_y45JfbMxckN5oWKQrLdixZqC4vZHJTqvFWampT14g> <xmx:VLZCYLkU0JV1IWdQr-ucHFy7pa_NZ5aV-JWmZ_ZNkU4tsa6SR94JXw> <xmx:VLZCYB3NBoEa7s-MR0BuOOX9i_mbBx5mI2MWs_TIDS3FbGCyV8kuVg> <xmx:VbZCYKyP-kGMDAQ5L0aY2tyYtLCc3IqlJVgbq3gGmL6D54GxP69ZHg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 90DD362C0062; Fri,  5 Mar 2021 17:53:07 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-206-g078a48fda5-fm-20210226.001-g078a48fd
Mime-Version: 1.0
Message-Id: <4f956d6b-87c4-44ad-b9d4-1a810c9c0170@www.fastmail.com>
In-Reply-To: <CAL02cgS_feKFwkarCQ=M649KAZSGznVnAF0OoRw20FBE4f5+Vw@mail.gmail.com>
References: <107abb03-e620-43ed-ac75-034ab6ed1ff4@www.fastmail.com> <8E3FEF5E-F5B5-4B58-A5BD-2464383C245A@wire.com> <924f2f66-795c-4149-b5bf-dd61bf99e678@www.fastmail.com> <CAL02cgS_feKFwkarCQ=M649KAZSGznVnAF0OoRw20FBE4f5+Vw@mail.gmail.com>
Date: Fri, 05 Mar 2021 17:52:23 -0500
From: "Hubert Chathi" <hubertc@matrix.org>
To: "Richard Barnes" <rlb@ipv.sx>
Cc: "Messaging Layer Security WG" <mls@ietf.org>
Content-Type: multipart/alternative; boundary=a0f56aa0eece4e26b423a7c4bae8a90b
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/4lklA6H8MA2cp2PgGzT92NStnh0>
Subject: Re: [MLS] question about group contexts and deriving epoch secrets
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Mar 2021 22:53:14 -0000

--a0f56aa0eece4e26b423a7c4bae8a90b
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Richard,

Thanks for responding.  I think that more-or-less matches my understand =
of how it was supposed to work, which means that I think that the joiner=
 is missing some information.  But it's been a while since I've looked a=
t it, and I'll have to double-check.

Hubert

On Wed, 3 Mar 2021, at 14:32, Richard Barnes wrote:
> Thanks for raising this, Hubert, I agree that it's ambiguous in the  c=
urrent text, but I think there is a solution here that we just need to c=
larify :)  Basically, I think the "provisional" GroupContext morphs into=
 the "new" GroupContext over the course of generating / applying a commi=
t.  Let me try to articulate my theory of how things work here, then if =
that makes sense, we can try to turn it into spec text.
>=20
> The joiner side seems unambiguous.  The joiner gets the GroupContext f=
or the epoch in which they're added -- in fact, the GroupInfo carried in=
 a Welcome is basically just a signed GroupContext.
>=20
> When creating / verifying a Commit, you need a GroupContext at three p=
oints:
> 1. When you encap/decap the UpdatePath
> 2. When you ratchet forward the key schedule
> 3. When you sign the MLSPlaintext of the Commit
>=20
> All three of these need to be different:
> * Case (3) uses the GroupContext from the old epoch, i.e., the one tha=
t corresponds to MLSPlaintext.epoch, so that recipients can verify the s=
ignature before processing the message
> * Case (2) uses the GroupContext for the new epoch, after the proposal=
s and UpdatePath have been applied, so that joiners can compute the epoc=
h_secret
> * Case (1) uses a "provisional" GroupContext that  captures the state =
of the tree at the time the UpdatePath is computed:
>     * epoch =3D old_group_context.epoch + 1
>     * tree_hash reflects the tree with proposals applied
>     * group_id, confirmed_transcript_hash, and extensions stay the sam=
e
>=20
> Looking at this in chronological order for the Commit generator:
> * Cache the old GroupContext for use in signing later
> * Apply proposals to the tree
>     =3D> provisional GroupContext
>     =3D> compute UpdatePath using provisional GroupContext
> * Sign Commit using old GroupContext=20
>     =3D> update confirmed_transcript_hash
>     =3D> new GroupContext
>     =3D> epoch_secret
>     =3D> confirmation_tag
>=20
> Does that make sense to you?
>=20
> --RLB
>=20
>=20
> On Tue, Feb 9, 2021 at 6:46 PM Hubert Chathi <hubertc@matrix.org> wrot=
e:
>> On Tue, 9 Feb 2021, at 04:56, Raphael Robert wrote:
>> > I think =E2=80=9Cnew GroupContext=E2=80=9D and =E2=80=9Cprovisional=
 GroupContext=E2=80=9D are synonyms.
>>=20
>> I'm not so sure about this.  The "provisional GroupContext" is create=
d after applying the proposals (line 2532), but before the UpdatePath is=
 applied to the tree (line 2559).  Whereas, from what I understand, new =
members are only given the tree after the UpdatePath is applied, which w=
ould give a different tree_hash and hence GroupContext.  I don't know if=
 I'm just misunderstanding something.
>>=20
>> > Creating the Commit:
>> >  - Use the confirmed transcript hash (old intermediate transcript h=
ash=20
>> > combined with new commit content from current MLSPlaintext)
>> >  - Create new provisional GroupContext with new provisional epoch (=
old=20
>> > epoch  + 1), new tree hash (after proposals were applied to old tre=
e)=20
>> > and confirmed transcript hash from above
>> >=20
>> > Applying a Commit as an existing member:
>> >  - Same as creating a Commit
>> >=20
>> > Joining a group from a Welcome message:
>> > - Create GroupContext with epoch from GroupInfo, tree hash from=20
>> > GroupInfo and confirmed transcript hash from GroupInfo
>> >=20
>> > Does that answer the question?
>> >=20
>> > If you think the spec is wrong/confusing feel free to file a PR.
>>=20
>> Yes, once I manage to understand what's going on, I plan on filing a =
PR.
>>=20
>> >=20
>> > Raphael
>> >=20
>> > > On 9. Feb 2021, at 00:45, Hubert Chathi <hubertc@matrix.org> wrot=
e:
>> > >=20
>> > > When deriving the epoch secret, you do "ExpandWithLabel(., "epoch=
", GroupContext_[n], KDF.Nh)", so you need a GroupContext.  As far as I =
can tell, there appears to be a contradiction about which GroupContext t=
o use: in the "Key Schedule" section (Line 1404), it says to use "The Gr=
oupContext object for current epoch", but in the "Commit" section under =
the part talking about a group member who applies a Commit message (Line=
 2660), it says to use the provisional GroupContext.  (The part talking =
about the group member who creates the Commit message doesn't say which =
GroupContext to use.)  If we are supposed to use the "new" GroupContext =
(after applying both the proposals and the update), but if we are suppos=
ed to use the provisional GroupContext, then I don't think that a new me=
mber has access to the tree_hash or confirmed_transcript_hash to create =
the GroupContext needed to derive the epoch secret.  So it seems like th=
e "new" GroupContext should be correct, but Line 2660 is pretty expli
>> > > cit about using the provisional GroupContext.
>> > >=20
>> > > _______________________________________________
>> > > MLS mailing list
>> > > MLS@ietf.org
>> > > https://www.ietf.org/mailman/listinfo/mls
>> >=20
>> > _______________________________________________
>> > MLS mailing list
>> > MLS@ietf.org
>> > https://www.ietf.org/mailman/listinfo/mls
>> >
>>=20
>> _______________________________________________
>> MLS mailing list
>> MLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/mls

--a0f56aa0eece4e26b423a7c4bae8a90b
Content-Type: text/html;charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi Richard,<br>=
</div><div><br></div><div>Thanks for responding.&nbsp; I think that more=
-or-less matches my understand of how it was supposed to work, which mea=
ns that I think that the joiner is missing some information.&nbsp; But i=
t's been a while since I've looked at it, and I'll have to double-check.=
<br></div><div><br></div><div>Hubert<br></div><div><br></div><div>On Wed=
, 3 Mar 2021, at 14:32, Richard Barnes wrote:<br></div><blockquote type=3D=
"cite" id=3D"qt" style=3D""><div dir=3D"ltr"><div>Thanks for raising thi=
s, Hubert, I agree that it's ambiguous in the&nbsp; current text, but I =
think there is a solution here that we just need to clarify :)&nbsp; Bas=
ically, I think the "provisional" GroupContext morphs into the "new" Gro=
upContext over the course of generating / applying a commit.&nbsp; Let m=
e try to articulate my theory of how things work here, then if that make=
s sense, we can try to turn it into spec text.<br></div><div><br></div><=
div>The joiner side seems unambiguous.&nbsp; The joiner gets the GroupCo=
ntext for the epoch in which they're added -- in fact, the GroupInfo car=
ried in a Welcome is basically just a signed GroupContext.<br></div><div=
><br></div><div>When creating / verifying a Commit, you need a GroupCont=
ext at three points:<br></div><div>1. When you encap/decap the UpdatePat=
h<br></div><div>2. When you ratchet forward the key schedule<br></div><d=
iv>3. When you sign the MLSPlaintext of the Commit<br></div><div><br></d=
iv><div>All three of these need to be different:<br></div><div>* Case (3=
) uses the GroupContext from the old epoch, i.e., the one that correspon=
ds to MLSPlaintext.epoch, so that recipients can verify the signature be=
fore processing the message<br></div><div>* Case (2) uses the GroupConte=
xt for the new epoch, after the proposals and UpdatePath have been appli=
ed, so that joiners can compute the epoch_secret<br></div><div>* Case (1=
) uses a "provisional" GroupContext that&nbsp; captures the state of the=
 tree at the time the UpdatePath is computed:<br></div><div>&nbsp;&nbsp;=
&nbsp; * epoch =3D old_group_context.epoch + 1<br></div><div>&nbsp;&nbsp=
;&nbsp; * tree_hash reflects the tree with proposals applied<br></div><d=
iv>&nbsp;&nbsp;&nbsp; * group_id, confirmed_transcript_hash, and extensi=
ons stay the same<br></div><div><br></div><div>Looking at this in chrono=
logical order for the Commit generator:<br></div><div>* Cache the old Gr=
oupContext for use in signing later<br></div><div>* Apply proposals to t=
he tree<br></div><div>&nbsp;&nbsp;&nbsp; =3D&gt; provisional GroupContex=
t<br></div><div>&nbsp;&nbsp;&nbsp; =3D&gt; compute UpdatePath using prov=
isional GroupContext<br></div><div>* Sign Commit using old GroupContext =
<br></div><div>&nbsp;&nbsp;&nbsp; =3D&gt; update confirmed_transcript_ha=
sh<br></div><div>&nbsp;&nbsp;&nbsp; =3D&gt; new GroupContext<br></div><d=
iv>&nbsp;&nbsp;&nbsp; =3D&gt; epoch_secret<br></div><div>&nbsp;&nbsp;&nb=
sp; =3D&gt; confirmation_tag<br></div><div><br></div><div>Does that make=
 sense to you?<br></div><div><br></div><div>--RLB<br></div><div><br></di=
v></div><div><br></div><div class=3D"qt-gmail_quote"><div dir=3D"ltr" cl=
ass=3D"qt-gmail_attr">On Tue, Feb 9, 2021 at 6:46 PM Hubert Chathi &lt;<=
a href=3D"mailto:hubertc@matrix.org">hubertc@matrix.org</a>&gt; wrote:<b=
r></div><blockquote class=3D"qt-gmail_quote" style=3D"margin-top:0px;mar=
gin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(=
204, 204, 204);border-left-style:solid;border-left-width:1px;padding-lef=
t:1ex;"><div>On Tue, 9 Feb 2021, at 04:56, Raphael Robert wrote:<br></di=
v><div> &gt; I think =E2=80=9Cnew GroupContext=E2=80=9D and =E2=80=9Cpro=
visional GroupContext=E2=80=9D are synonyms.<br></div><div> <br></div><d=
iv> I'm not so sure about this.&nbsp; The "provisional GroupContext" is =
created after applying the proposals (line 2532), but before the UpdateP=
ath is applied to the tree (line 2559).&nbsp; Whereas, from what I under=
stand, new members are only given the tree after the UpdatePath is appli=
ed, which would give a different tree_hash and hence GroupContext.&nbsp;=
 I don't know if I'm just misunderstanding something.<br></div><div> <br=
></div><div> &gt; Creating the Commit:<br></div><div> &gt;&nbsp; - Use t=
he confirmed transcript hash (old intermediate transcript hash <br></div=
><div> &gt; combined with new commit content from current MLSPlaintext)<=
br></div><div> &gt;&nbsp; - Create new provisional GroupContext with new=
 provisional epoch (old <br></div><div> &gt; epoch&nbsp; + 1), new tree =
hash (after proposals were applied to old tree) <br></div><div> &gt; and=
 confirmed transcript hash from above<br></div><div> &gt; <br></div><div=
> &gt; Applying a Commit as an existing member:<br></div><div> &gt;&nbsp=
; - Same as creating a Commit<br></div><div> &gt; <br></div><div> &gt; J=
oining a group from a Welcome message:<br></div><div> &gt; - Create Grou=
pContext with epoch from GroupInfo, tree hash from <br></div><div> &gt; =
GroupInfo and confirmed transcript hash from GroupInfo<br></div><div> &g=
t; <br></div><div> &gt; Does that answer the question?<br></div><div> &g=
t; <br></div><div> &gt; If you think the spec is wrong/confusing feel fr=
ee to file a PR.<br></div><div> <br></div><div> Yes, once I manage to un=
derstand what's going on, I plan on filing a PR.<br></div><div> <br></di=
v><div> &gt; <br></div><div> &gt; Raphael<br></div><div> &gt; <br></div>=
<div> &gt; &gt; On 9. Feb 2021, at 00:45, Hubert Chathi &lt;<a href=3D"m=
ailto:hubertc@matrix.org" target=3D"_blank">hubertc@matrix.org</a>&gt; w=
rote:<br></div><div> &gt; &gt; <br></div><div> &gt; &gt; When deriving t=
he epoch secret, you do "ExpandWithLabel(., "epoch", GroupContext_[n], K=
DF.Nh)", so you need a GroupContext.&nbsp; As far as I can tell, there a=
ppears to be a contradiction about which GroupContext to use: in the "Ke=
y Schedule" section (Line 1404), it says to use "The GroupContext object=
 for current epoch", but in the "Commit" section under the part talking =
about a group member who applies a Commit message (Line 2660), it says t=
o use the provisional GroupContext.&nbsp; (The part talking about the gr=
oup member who creates the Commit message doesn't say which GroupContext=
 to use.)&nbsp; If we are supposed to use the "new" GroupContext (after =
applying both the proposals and the update), but if we are supposed to u=
se the provisional GroupContext, then I don't think that a new member ha=
s access to the tree_hash or confirmed_transcript_hash to create the Gro=
upContext needed to derive the epoch secret.&nbsp; So it seems like the =
"new" GroupContext should be correct, but Line 2660 is pretty expli<br><=
/div><div> &gt; &gt; cit about using the provisional GroupContext.<br></=
div><div> &gt; &gt; <br></div><div> &gt; &gt; __________________________=
_____________________<br></div><div> &gt; &gt; MLS mailing list<br></div=
><div> &gt; &gt; <a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@i=
etf.org</a><br></div><div> &gt; &gt; <a href=3D"https://www.ietf.org/mai=
lman/listinfo/mls" rel=3D"noreferrer" target=3D"_blank">https://www.ietf=
.org/mailman/listinfo/mls</a><br></div><div> &gt; <br></div><div> &gt; _=
______________________________________________<br></div><div> &gt; MLS m=
ailing list<br></div><div> &gt; <a href=3D"mailto:MLS@ietf.org" target=3D=
"_blank">MLS@ietf.org</a><br></div><div> &gt; <a href=3D"https://www.iet=
f.org/mailman/listinfo/mls" rel=3D"noreferrer" target=3D"_blank">https:/=
/www.ietf.org/mailman/listinfo/mls</a><br></div><div> &gt;<br></div><div=
> <br></div><div> _______________________________________________<br></d=
iv><div> MLS mailing list<br></div><div> <a href=3D"mailto:MLS@ietf.org"=
 target=3D"_blank">MLS@ietf.org</a><br></div><div> <a href=3D"https://ww=
w.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/mls</a><br></div></blockquote></div>=
</blockquote><div><br></div></body></html>
--a0f56aa0eece4e26b423a7c4bae8a90b--


From nobody Sat Mar  6 23:56:06 2021
Return-Path: <do_not_reply@mnot.net>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD42D3A223E for <mls@ietfa.amsl.com>; Sat,  6 Mar 2021 23:56:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.8
X-Spam-Level: 
X-Spam-Status: No, score=-2.8 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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=mnot.net header.b=nbM+4BBr; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=IH3WHpBg
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 tAZrBqBLXLHC for <mls@ietfa.amsl.com>; Sat,  6 Mar 2021 23:56:02 -0800 (PST)
Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F390F3A223A for <mls@ietf.org>; Sat,  6 Mar 2021 23:56:01 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 3790926A6 for <mls@ietf.org>; Sun,  7 Mar 2021 02:37:57 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 07 Mar 2021 02:37:57 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject:message-id:date; s= fm2; bh=YlCorF6mC8d0TrN3WaFl8CINx75ca6Hg4LqBIwZQPdw=; b=nbM+4BBr 6pkSGynzeRy7gyQQTDRvcZiYs9MidKo6jAVVWG56WY6VJK9K6RUGkD/Sddxon0Cp 2j14u5QrajjY0lkR7x3sXqVdLu0nfjKLQpTUkKgTnHOE/vDUHdqchpeEJGLTqiS9 9M1aI3W+Oi1NXy04ZyyYRid8G2ysbZ8MLXK1W3CtR355QC333x3aoYGpN22nNSRq DEg5cY2eZRjFv6ksPjalN4k7BvRR9aSkpnRCItH46JU3vUgxAsxsV3cQO2AVwUTV jHBRVA6vX8ERGj4xJxbcke8DZG5+GDEGHHedA87FJlKivFsC4dRCSkddvRrcyCgv Hy9JMXs6sKpy7A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=YlCorF6mC8d0TrN3WaFl8CINx75ca 6Hg4LqBIwZQPdw=; b=IH3WHpBgcGqKq17X5fknvF8r/fOpSGRH7IFpyOXJJtpnL g4yoodTtCQFfqGiKgobTvlScks+UrE9RxFAOozOmv/ON/2DrOuSOR5rIzIefb9+O FBtyZh4glxNJG7reUEs2u5m7UYUC+rynBa6Jbfcwmn+H+VunYD2hA4n2l217fSz+ TiygmaSTmpD8JzHYm6LFWvrzKj0VIpczlaNnAPQlvCX6+YC9ULFB4cM9hgv4re4f xuKAtBmBSkFXDenV3980QqK5wjZfTRahoF1MxrUX3NdtwdNfyWRwoOQPdF1U6J1i XTdsxKEIMAiSKlqur3ajZ9Pq65ZuHgXaj16tr8b3g==
X-ME-Sender: <xms:1IJEYF9YmtHWbB0n2XbRxXZswln24ccirccjeDHLarp-zxd0V57K7A> <xme:1IJEYJsWpwt1OOuAxw6l6q3V9Dpeu3qTk1YMbBeNJIejKHBYGHAVmRc83GxEJn3C0 W-tzxJpu71s5d1xZQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtledguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurheptggghffvufesrgdttdertddtje enucfhrhhomheptfgvphhoshhithhorhihucettghtihhvihhthicuufhumhhmrghrhicu uehothcuoeguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpeekfedvudetjedvfeekheeiveeugfefhfetteevgeffkefffeetffdvleehudei teenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeehvddrudejledrudeige drudegleenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepmhgrihhlfhhrohhm peguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:1IJEYDA6uExG8D7nMP_DkHCdUS2vfZPeWEmVdsTE2hoA7mHPmGVZ9A> <xmx:1IJEYJdS27czAEM8yqrtfIMAN0smVIVjsOaVb4j5WB2GsUJGKEn5yw> <xmx:1IJEYKOYDaZ8j_OxwO2cxgizgEfWG1u5T391fKotskbQ6IgXBYn_fw> <xmx:1IJEYM15u78ScGEbA2o747RWZl1R0Qz9TsnuZCsFKfiFLswCmxqGUw>
Received: from fv-az186-442.internal.cloudapp.net (unknown [52.179.164.149]) by mail.messagingengine.com (Postfix) with ESMTPA id AD307240054 for <mls@ietf.org>; Sun,  7 Mar 2021 02:37:56 -0500 (EST)
Content-Type: multipart/alternative; boundary="===============1710481560164222283=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: mls@ietf.org
Message-Id: <20210307073756.AD307240054@mailuser.nyi.internal>
Date: Sun,  7 Mar 2021 02:37:56 -0500 (EST)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/iywvXhfNhbtQ-oP_c4Zdpbn-T6w>
Subject: [MLS] Weekly github digest (MLS Working Group summary)
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Mar 2021 07:56:04 -0000

--===============1710481560164222283==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"




Issues
------
* mlswg/mls-protocol (+1/-1/=F0=9F=92=AC2)
  1 issues created:
  - Trim tree after removal (by raphaelrobert)
    https://github.com/mlswg/mls-protocol/issues/459=20

  2 issues received 2 new comments:
  - #457 Clarify ParentHash verification (1 by psyoptix)
    https://github.com/mlswg/mls-protocol/issues/457=20
  - #443 External commit for resync used with PSK (1 by raphaelrobert)
    https://github.com/mlswg/mls-protocol/issues/443=20

  1 issues closed:
  - Fix the protocol overview section https://github.com/mlswg/mls-protocol=
/issues/440 [editorial]=20



Pull requests
-------------
* mlswg/mls-protocol (+2/-1/=F0=9F=92=AC2)
  2 pull requests submitted:
  - Fix typo in Parent Hash verification. (by psyoptix)
    https://github.com/mlswg/mls-protocol/pull/460=20
  - Update draft-ietf-mls-protocol.md (by raphaelrobert)
    https://github.com/mlswg/mls-protocol/pull/458=20

  2 pull requests received 2 new comments:
  - #455 Make PreSharedKeys non optional in GroupSecrets (1 by raphaelrober=
t)
    https://github.com/mlswg/mls-protocol/pull/455=20
  - #439 Identities SHOULD be unique per group (1 by raphaelrobert)
    https://github.com/mlswg/mls-protocol/pull/439=20

  1 pull requests merged:
  - Fix the protocol overview section
    https://github.com/mlswg/mls-protocol/pull/458=20


Repositories tracked by this digest:
-----------------------------------
* https://github.com/mlswg/mls-architecture
* https://github.com/mlswg/mls-protocol
* https://github.com/mlswg/mls-federation

--===============1710481560164222283==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (MLS Working Group summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday March 07, 2021</h1>


<h2>Issues</h2>

<h3>mlswg/mls-protocol (+1/-1/=F0=9F=92=AC2)</h3>
  <p class=3D"new">1 issues created:</p>
  <ul>
  <li>#459 <a href=3D"https://github.com/mlswg/mls-protocol/issues/459">Tri=
m tree after removal</a> (by raphaelrobert) </li>
  </ul>

  <p>2 issues received 2 new comments:</p>
  <ul>
  <li>#457 <a href=3D"https://github.com/mlswg/mls-protocol/issues/457">Cla=
rify ParentHash verification</a> (1 by psyoptix) </li>
 =20
  <li>#443 <a href=3D"https://github.com/mlswg/mls-protocol/issues/443">Ext=
ernal commit for resync used with PSK</a> (1 by raphaelrobert) </li>
  </ul>

  <p>1 issues closed:</p>
  <ul>
  <li>#440 <a href=3D"https://github.com/mlswg/mls-protocol/issues/440">Fix=
 the protocol overview section</a> <span class=3D"label" style=3D"backgroun=
d-color: #ffc6d6; color: #000000">editorial</span> </li>
  </ul>



<h2>Pull requests</h2>
<h3>mlswg/mls-protocol (+2/-1/=F0=9F=92=AC2)</h3>
  <p class=3D"new">2 pull requests submitted:</p>
  <ul>
  <li>#460 <a href=3D"https://github.com/mlswg/mls-protocol/pull/460">Fix t=
ypo in Parent Hash verification.</a> (by psyoptix) </li>
 =20
  <li>#458 <a href=3D"https://github.com/mlswg/mls-protocol/pull/458">Updat=
e draft-ietf-mls-protocol.md</a> (by raphaelrobert) </li>
  </ul>

  <p>2 pull requests received 2 new comments:</p>
  <ul>
  <li>#455 <a href=3D"https://github.com/mlswg/mls-protocol/pull/455">Make =
PreSharedKeys non optional in GroupSecrets</a> (1 by raphaelrobert) </li>
 =20
  <li>#439 <a href=3D"https://github.com/mlswg/mls-protocol/pull/439">Ident=
ities SHOULD be unique per group</a> (1 by raphaelrobert) </li>
  </ul>

  <p>1 pull requests merged:</p>
  <ul>
  <li>#458 <a href=3D"https://github.com/mlswg/mls-protocol/pull/458">Fix t=
he protocol overview section</a> </li>
  </ul>


<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/mlswg/mls-architecture">https://github.=
com/mlswg/mls-architecture</a></li>
  <li><a href=3D"https://github.com/mlswg/mls-protocol">https://github.com/=
mlswg/mls-protocol</a></li>
  <li><a href=3D"https://github.com/mlswg/mls-federation">https://github.co=
m/mlswg/mls-federation</a></li>
  </ul>
</body>
</html>

--===============1710481560164222283==--


From nobody Sun Mar  7 18:35:18 2021
Return-Path: <sean@sn3rd.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB3E33A221C for <mls@ietfa.amsl.com>; Sun,  7 Mar 2021 18:35:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, 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 (1024-bit key) header.d=sn3rd.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 RFaehkaL6b_0 for <mls@ietfa.amsl.com>; Sun,  7 Mar 2021 18:35:14 -0800 (PST)
Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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 CB0FD3A2221 for <mls@ietf.org>; Sun,  7 Mar 2021 18:35:12 -0800 (PST)
Received: by mail-qk1-x731.google.com with SMTP id a9so7945448qkn.13 for <mls@ietf.org>; Sun, 07 Mar 2021 18:35:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=as8bEhvWBd4wIKiJrhPeAVQyM2allv4l4rNVPmR5ZF4=; b=GoTMkYraJQLrGqCqo/X95p7QQ/FPEpBKMazSr6KXiIZOxvOq0SKLHHkI+i5pXDoKLA 7EQnNZDDuFkE211R9oUeX15hNB6b2Goy4B6lskGyXy4lU1NUPqXL6K7Dj2jxyoUcB+j9 DboQn3tfpXd0S+HWwOo20aQbwHkk4llAqVQ9A=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=as8bEhvWBd4wIKiJrhPeAVQyM2allv4l4rNVPmR5ZF4=; b=MDwWZu0wVqiAMECEdXLUrwu/fHkNPwleYXii5aRRji5HhUkohuoJHWH5D9jWIOd63l X4F1W43as9R9vYuMt5qH1utmS6MOtVRhzLNEGSlwrcf+fjiBJwDFqk5npJmIAfNpLCat 4lc8pO4LQbWEQC4y1Ns8rmpTmK5Gh8Zra8OhrYOsrymkJi1X1ej5WmN7jMT3fDem+Ne+ XsiHTL3l6m8MwNnjcBSIoBgpCwzbug/T4abVC8v4p4Jl7fCpUhQ+mpJM2NH5OZNSBttf kpyVYP0N4f5LizsesTzc7qnykgQd8jA6xn9w87v94YtLcDIGVxqcKJsUQ0W7LYuCFjGh vYZg==
X-Gm-Message-State: AOAM530HkznkHAcEC0L8n8EMbLILaFLOc6YjiS4l6FDQ4a3EzgVzKPdE UE6diLmwMe8fRxY/8sq60VUhNdM1lxwA8w==
X-Google-Smtp-Source: ABdhPJwbdYIausBVHHkp4EaU02clXIFlmtqvueHVxFcQmkLGw3J6McljY/GX8vNxYG/qK1/hvp141Q==
X-Received: by 2002:a37:392:: with SMTP id 140mr18287376qkd.236.1615170910819;  Sun, 07 Mar 2021 18:35:10 -0800 (PST)
Received: from [192.168.1.152] (pool-108-31-39-252.washdc.fios.verizon.net. [108.31.39.252]) by smtp.gmail.com with ESMTPSA id l186sm6677623qke.92.2021.03.07.18.35.10 for <mls@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 18:35:10 -0800 (PST)
From: Sean Turner <sean@sn3rd.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Message-Id: <12A8F3E1-34D9-41E2-894F-525BC9FC7A75@sn3rd.com>
Date: Sun, 7 Mar 2021 21:35:09 -0500
To: MLS List <mls@ietf.org>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/lb5wmIRueqkHlskQvKggaIsXCEI>
Subject: [MLS] mls@ietf110: volunteers needed for minute taker and jabber scribe
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2021 02:35:17 -0000

Hi! If you would like to volunteer for either of these please let the =
chairs know at mls-chairs@ietf.org.

spt=


From nobody Sun Mar  7 18:51:40 2021
Return-Path: <sean@sn3rd.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 34C613A2285 for <mls@ietfa.amsl.com>; Sun,  7 Mar 2021 18:51:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, 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 (1024-bit key) header.d=sn3rd.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 SJAgqkFA3GT5 for <mls@ietfa.amsl.com>; Sun,  7 Mar 2021 18:51:36 -0800 (PST)
Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 70AF33A2282 for <mls@ietf.org>; Sun,  7 Mar 2021 18:51:36 -0800 (PST)
Received: by mail-qt1-x82b.google.com with SMTP id o1so6483056qta.13 for <mls@ietf.org>; Sun, 07 Mar 2021 18:51:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=YIv2hJu4Gkzjk+iOSi33+BoE4CHVCRCSVnQJRMO1MHg=; b=k4GhkvTZ7Ld3+TBssLg1La4KhRu3MYRjJSweyhX2XRPxTV3qrFdAJUjzfL5WHGPR7C 3TjtSFuoAcTUvF3jhkD/BRXW7xWPQ932qgI9IjXo9qAvq1hzq+hyA1XGWAhhWDRFTUZq DBK2gvynpNkWaIzRx5R2iGVgiUvKNqIfB8p+c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=YIv2hJu4Gkzjk+iOSi33+BoE4CHVCRCSVnQJRMO1MHg=; b=EjYgeAw04MtwBUKcK05it72c1YgW+qLzwqWZN64FoM9WbseExcvL5iPS8uqcwCOeu4 FaPfiatOQjSioyXvSap1qfjdLpfo9pQ4FgtKETWO+WjFcHIpPDvG39ZYLrxJ1+6m9QJx x2IX6JyS8CxeFidOFMTKi7u5Npfx+ovpk4osivhhuvXOVuJ0yhFmG6mMs3ICNXvsMwJZ uKH2CPFaQ9MxZpdApZyrnncRiBRtvuctWHqzlnYE+c0L8LuZInCSUwNGcCJPtYcwoHsN uqjI0tsA61p0bZhyC5j2iiy/1duBan3XKGJprpgUaVge96cjnBG0CWRreWtK3RZfhNf3 MUEQ==
X-Gm-Message-State: AOAM533GUK7qFnmjVQJAfS4baao+hyT0JgD0QSsGMhPODFGqJrR0S71h kSqnu8fGvsNnv+kT68WbpB846g7lXVok+w==
X-Google-Smtp-Source: ABdhPJxphdE2GdxcFvgSZpnLmg1AkLIEruwZxuC3aSzMoQHNruopWMpxGrM7i3XBu024a5qzl5o3uA==
X-Received: by 2002:aed:2068:: with SMTP id 95mr19428846qta.181.1615171894393;  Sun, 07 Mar 2021 18:51:34 -0800 (PST)
Received: from [192.168.1.152] (pool-108-31-39-252.washdc.fios.verizon.net. [108.31.39.252]) by smtp.gmail.com with ESMTPSA id d20sm6873082qkb.88.2021.03.07.18.51.33 for <mls@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Mar 2021 18:51:34 -0800 (PST)
From: Sean Turner <sean@sn3rd.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Message-Id: <97133D0C-0987-4463-83A9-A4E86FD574AB@sn3rd.com>
Date: Sun, 7 Mar 2021 21:51:33 -0500
To: MLS List <mls@ietf.org>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/kywp8MVKg-2rbHSlL998M8k4Z9E>
Subject: [MLS] mls@ietf110: slides
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2021 02:51:38 -0000

Hi! 3 of the 4 slide decks for tomorrow=E2=80=99s meeting have been =
uploaded to the:
datatracker: https://datatracker.ietf.org/meeting/110/session/mls
and
repo: https://github.com/mlswg/wg-materials/tree/master/ietf110

Cheers,
spt=


From nobody Sun Mar  7 22:04:51 2021
Return-Path: <brendan@cloudflare.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 149D53A25A0 for <mls@ietfa.amsl.com>; Sun,  7 Mar 2021 22:04:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=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 (1024-bit key) header.d=cloudflare.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 4MkfzyN-F0zZ for <mls@ietfa.amsl.com>; Sun,  7 Mar 2021 22:04:47 -0800 (PST)
Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (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 2BB223A259F for <mls@ietf.org>; Sun,  7 Mar 2021 22:04:47 -0800 (PST)
Received: by mail-qv1-xf2e.google.com with SMTP id x13so4103835qvj.7 for <mls@ietf.org>; Sun, 07 Mar 2021 22:04:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=rL46QfnCE7/oAkcqmycwq/9hg2LrC+ILUgFC3q4eS7Y=; b=wfPqSR8RivVGDIVrBUIy9iszBSBc9hdWDnAXCAZpEpyRKHGpp379OYGiQGkpbAF1fn kLxASMX+wf9oGZ4U6vbCR5uGYDRZqghmoZX/j5Hq2pNQ01kjmV6BxoO7gH9J0mK6dxSN V+bNE5Gb1bw9PH8ypOT8UBPQSw0/Vtn6UZP00=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=rL46QfnCE7/oAkcqmycwq/9hg2LrC+ILUgFC3q4eS7Y=; b=j0hGX/X7P2IwioTbBbR71KqLcDbpmUOvl9wa/8w+P+ifDv7zoPDj7vGh1P6DNmipCl EyZczABgAG+MapjPd2aruc3TLL3ifDZsEvX0uTjGWFaeHpG44HWKhrkyVRT8E23I5tZb 51hs1NxioRQ8UPE/DDJEWBX9CFLJsZVKkAnaNQGKclQyV0YZHKRV+vOu3/oNi8Q7HvWj c/yZMMYhMGu18n35RpRINyAT98WQkVdpdJYIh7n7eZ+rS7q+kOLCNUbJo63v5fXiiCuq 0mrH5G32lOgwcVZRhYQkf87IZfJM2UXSs/GdFGw3eIsz8BOkfzUwfw1QEOjKB5NRk7pE XpPw==
X-Gm-Message-State: AOAM5301mVLZZfcvsrKxykycEYXZ749VUAQ9/ojRC4MdBT6CniUC4mMn z05WRu01sEBfQZibCiTEm6JlA1LVcqxAwtzsw4HnELlrKWfnNg==
X-Google-Smtp-Source: ABdhPJxOAhMW7DYoiyGo0lMt/ANkjfQEwSBPfTLQ9gqOV4Y7SuHjbMroCEJxECSgJ+TTGJwhp8ZRWxEHbjO7rnuIccQ=
X-Received: by 2002:a05:6214:1085:: with SMTP id o5mr19532665qvr.5.1615183485337;  Sun, 07 Mar 2021 22:04:45 -0800 (PST)
MIME-Version: 1.0
References: <CAL02cgT9VUoTBLG_bZGwYrTBPLyC5qco_nejcUv55K28VcECYw@mail.gmail.com> <CABP-pSSwe9bAi+-DYzAguFXT6GGzUXDZ6Fx3X0bvNYcfFn32Uw@mail.gmail.com> <45292c19-e818-441b-9549-8c9429d7017a@wickr.com> <CABP-pSSLaYji9o+m34Do4_27=231j-X+i5EcoMfegpA_WO+Ayg@mail.gmail.com>
In-Reply-To: <CABP-pSSLaYji9o+m34Do4_27=231j-X+i5EcoMfegpA_WO+Ayg@mail.gmail.com>
From: Brendan McMillion <brendan@cloudflare.com>
Date: Sun, 7 Mar 2021 22:04:34 -0800
Message-ID: <CABP-pSQ_-4zB+9K1271XXNLm2ppJbw6FA2xT32n6Sm7BD4xiCg@mail.gmail.com>
To: Messaging Layer Security WG <mls@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e425fb05bd003582"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/rPq9pxOFreM6t3MpoHT5b1JkNyA>
Subject: Re: [MLS] AppAck
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2021 06:04:50 -0000

--000000000000e425fb05bd003582
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi all

Since I never heard back on this and still believe AppAck is a bad addition
to the protocol, I've opened a PR to remove it here:
https://github.com/mlswg/mls-protocol/pull/463

On Mon, Nov 23, 2020 at 1:26 PM Brendan McMillion <brendan@cloudflare.com>
wrote:

> On 22/11/2020 23:07, Brendan McMillion wrote:
>> > b.) clients only want to validate receipt of messages at a Commit,
>>
>> Not sure why you say this is implied by how AppAck is defined. From the
>> PR:
>>
>> > * The application could have a client send an AppAck whenever an
>> application
>> >   message is sent, covering all messages received since its last
>> AppAck.  This
>> >   would provide a complete view of any losses experienced by active
>> members.
>
>
> Because proposals are allowed to be dropped, and you don't know if they
> were dropped until the Commit. If in the end you find out your AppAck
> proposals were dropped, what do you even do? You can't resend them, as th=
e
> generation counters have been reset. To get a per-message delivery
> guarantee, you could tie application messages to the corresponding AppAck
> somehow and only accept one if both get delivered, but that's more
> complicated and also not what's currently in the PR.
>
> I should also point out that this construction scales poorly. It requires
> members to send twice as many messages, and that the size of each message
> be proportional to the number of members, so the total amount of data
> handled by the DS grows quadratically.
>
> On Mon, Nov 23, 2020 at 8:34 AM Joel Alwen <jalwen@wickr.com> wrote:
>
>> If using the AppAck proposal is not mandatory and it would be useful to
>> several
>> of the envisaged deployments (which sounds to be the case) I don't see
>> this as
>> being too problematic. Though I do agree that other message loss policie=
s
>> also
>> make sense. (E.g. wanting eventual agreement on total ordering.)
>>
>> Moreover, it should be quite easy to support these proposals since they
>> have
>> almost no effect on the cryptographic state so are easy to process. Its
>> really a
>> UX thing I think.
>>
>> On 22/11/2020 23:07, Brendan McMillion wrote:
>> > b.) clients only want to validate receipt of messages at a Commit,
>>
>> Not sure why you say this is implied by how AppAck is defined. From the
>> PR:
>>
>> > * The application could have a client send an AppAck whenever an
>> application
>> >   message is sent, covering all messages received since its last
>> AppAck.  This
>> >   would provide a complete view of any losses experienced by active
>> members.
>> - Jo=C3=ABl
>>
>> _______________________________________________
>> MLS mailing list
>> MLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/mls
>>
>

--000000000000e425fb05bd003582
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi all</div><div><br></div><div>Since I never heard b=
ack on this and still believe AppAck is a bad addition to the protocol, I&#=
39;ve opened a PR to remove it here: <a href=3D"https://github.com/mlswg/ml=
s-protocol/pull/463">https://github.com/mlswg/mls-protocol/pull/463</a></di=
v></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">On Mon, Nov 23, 2020 at 1:26 PM Brendan McMillion &lt;<a href=3D"mailto:b=
rendan@cloudflare.com">brendan@cloudflare.com</a>&gt; wrote:<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:=
1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex"><span>On 22/11/2020 23:07, Brendan McM=
illion wrote:</span><br><span>
&gt; b.) clients only want to validate receipt of messages at a Commit,</sp=
an><br><span>
</span><br><span></span>
Not sure why you say this is implied by how AppAck is defined. From the PR:=
<br><br>
&gt; * The application could have a client send an AppAck whenever an appli=
cation<br>
&gt;=C2=A0 =C2=A0message is sent, covering all messages received since its =
last AppAck.=C2=A0 This<br>
&gt;=C2=A0 =C2=A0would provide a complete view of any losses experienced by=
 active members.</blockquote><div><br></div><div>Because proposals are allo=
wed to be dropped, and you don&#39;t know if they were dropped until the Co=
mmit. If in the end you find out your AppAck proposals were dropped, what d=
o you even do? You can&#39;t resend them, as the generation counters have b=
een reset. To get a per-message delivery guarantee, you could tie applicati=
on messages to the corresponding AppAck somehow and only accept one if both=
 get delivered, but that&#39;s more complicated and also not what&#39;s cur=
rently in the PR.</div><div><br></div><div>I should also point out that thi=
s construction scales poorly. It requires members to send twice as many mes=
sages, and that the size of each message be proportional to the number of m=
embers, so the total amount of data handled by the DS grows quadratically.<=
br></div>
</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">=
On Mon, Nov 23, 2020 at 8:34 AM Joel Alwen &lt;<a href=3D"mailto:jalwen@wic=
kr.com" target=3D"_blank">jalwen@wickr.com</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">If using the AppAck proposal is n=
ot mandatory and it would be useful to several<br>
of the envisaged deployments (which sounds to be the case) I don&#39;t see =
this as<br>
being too problematic. Though I do agree that other message loss policies a=
lso<br>
make sense. (E.g. wanting eventual agreement on total ordering.)<br>
<br>
Moreover, it should be quite easy to support these proposals since they hav=
e<br>
almost no effect on the cryptographic state so are easy to process. Its rea=
lly a<br>
UX thing I think.<br>
<br>
On 22/11/2020 23:07, Brendan McMillion wrote:<br>
&gt; b.) clients only want to validate receipt of messages at a Commit,<br>
<br>
Not sure why you say this is implied by how AppAck is defined. From the PR:=
<br>
<br>
&gt; * The application could have a client send an AppAck whenever an appli=
cation<br>
&gt;=C2=A0 =C2=A0message is sent, covering all messages received since its =
last AppAck.=C2=A0 This<br>
&gt;=C2=A0 =C2=A0would provide a complete view of any losses experienced by=
 active members.<br>
- Jo=C3=ABl<br>
<br>
_______________________________________________<br>
MLS mailing list<br>
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
</blockquote></div>
</blockquote></div>

--000000000000e425fb05bd003582--


From nobody Mon Mar  8 05:12:10 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: mls@ietf.org
Delivered-To: mls@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C51FF3A29AC; Mon,  8 Mar 2021 05:12:05 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: mls@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.27.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: mls@ietf.org
Message-ID: <161520912576.28888.9500008612840551374@ietfa.amsl.com>
Date: Mon, 08 Mar 2021 05:12:05 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/s4-YpIb1-_itVl9bv5Yi9kSh5P4>
Subject: [MLS] I-D Action: draft-ietf-mls-architecture-06.txt
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2021 13:12:06 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Messaging Layer Security WG of the IETF.

        Title           : The Messaging Layer Security (MLS) Architecture
        Authors         : Emad Omara
                          Benjamin Beurdouche
                          Eric Rescorla
                          Srinivas Inguva
                          Albert Kwon
                          Alan Duric
	Filename        : draft-ietf-mls-architecture-06.txt
	Pages           : 33
	Date            : 2021-03-08

Abstract:
   The Messaging Layer Security (MLS) protocol [MLSPROTO] document has
   the role of defining a Group Key Agreement, all the necessary
   cryptographic operations, and serialization/deserialization functions
   necessary to create a scalable and secure group messaging protocol.
   The MLS protocol is meant to protect against eavesdropping,
   tampering, message forgery, and provide good properties such as
   forward-secrecy (FS) and post-compromise security (PCS) in the case
   of past or future device compromises.

   This document, on the other hand is intended to describe a general
   secure group messaging infrastructure and its security goals.  It
   provides guidance on building a group messaging system and discusses
   security and privacy tradeoffs offered by multiple security mechanism
   that are part of the MLS protocol (ie. frequency of public encryption
   key rotation).

   The document also extends the guidance to parts of the infrastructure
   that are not standardized by the MLS Protocol document and left to
   the application or the infrastructure architects to design.

   While the recommendations of this document are not mandatory to
   follow in order to interoperate at the protocol level, most will
   vastly influence the overall security guarantees that are achieved by
   the overall messaging system.  This is especially true in case of
   active adversaries that are able to compromise clients, the delivery
   service or the authentication service.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-mls-architecture/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-mls-architecture-06.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-mls-architecture-06


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Mon Mar  8 05:26:49 2021
Return-Path: <benjamin.beurdouche@inria.fr>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 923B43A29F3 for <mls@ietfa.amsl.com>; Mon,  8 Mar 2021 05:26:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 fDnFlfJKsWOi for <mls@ietfa.amsl.com>; Mon,  8 Mar 2021 05:26:45 -0800 (PST)
Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0BFE33A29F4 for <mls@ietf.org>; Mon,  8 Mar 2021 05:26:44 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.81,232,1610406000"; d="scan'208";a="496730075"
Received: from 82-64-165-115.subs.proxad.net (HELO [192.168.1.13]) ([82.64.165.115]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 14:26:42 +0100
From: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Mon, 8 Mar 2021 14:26:42 +0100
References: <161520912576.28888.9500008612840551374@ietfa.amsl.com>
To: ML Messaging Layer Security <mls@ietf.org>
In-Reply-To: <161520912576.28888.9500008612840551374@ietfa.amsl.com>
Message-Id: <842F1C45-CB48-4BFC-AFDB-0717F5C17656@inria.fr>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/SFW6dybhlSM-cjUPf883AHO3Ukk>
Subject: Re: [MLS] I-D Action: draft-ietf-mls-architecture-06.txt
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2021 13:26:49 -0000

Dear all,

I just submitted a new version of the architecture document, there is
still a lot of work to do but we are making good progress...

In particular, we still need to work on:
- security considerations need to be completed, discussed with academics =
and cite papers
- the functional requirements section needs to be rewritten
- Brendan suggested to list different use cases and I really like the =
idea

Still lot of work, but I think we are roughly to a point where we can =
have a look and make sure we
are not missing important things, so feel free to open issues to point =
things that are missing or incorrect on the Github.

Best,
Benjamin



> On 8 Mar 2021, at 14:12, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Messaging Layer Security WG of the =
IETF.
>=20
>        Title           : The Messaging Layer Security (MLS) =
Architecture
>        Authors         : Emad Omara
>                          Benjamin Beurdouche
>                          Eric Rescorla
>                          Srinivas Inguva
>                          Albert Kwon
>                          Alan Duric
> 	Filename        : draft-ietf-mls-architecture-06.txt
> 	Pages           : 33
> 	Date            : 2021-03-08
>=20
> Abstract:
>   The Messaging Layer Security (MLS) protocol [MLSPROTO] document has
>   the role of defining a Group Key Agreement, all the necessary
>   cryptographic operations, and serialization/deserialization =
functions
>   necessary to create a scalable and secure group messaging protocol.
>   The MLS protocol is meant to protect against eavesdropping,
>   tampering, message forgery, and provide good properties such as
>   forward-secrecy (FS) and post-compromise security (PCS) in the case
>   of past or future device compromises.
>=20
>   This document, on the other hand is intended to describe a general
>   secure group messaging infrastructure and its security goals.  It
>   provides guidance on building a group messaging system and discusses
>   security and privacy tradeoffs offered by multiple security =
mechanism
>   that are part of the MLS protocol (ie. frequency of public =
encryption
>   key rotation).
>=20
>   The document also extends the guidance to parts of the =
infrastructure
>   that are not standardized by the MLS Protocol document and left to
>   the application or the infrastructure architects to design.
>=20
>   While the recommendations of this document are not mandatory to
>   follow in order to interoperate at the protocol level, most will
>   vastly influence the overall security guarantees that are achieved =
by
>   the overall messaging system.  This is especially true in case of
>   active adversaries that are able to compromise clients, the delivery
>   service or the authentication service.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-mls-architecture/
>=20
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-mls-architecture-06.html
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-mls-architecture-06
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
>=20
> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls


From nobody Mon Mar  8 05:43:28 2021
Return-Path: <rlb@ipv.sx>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 357503A2A5E for <mls@ietfa.amsl.com>; Mon,  8 Mar 2021 05:43:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=ipv-sx.20150623.gappssmtp.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 cERw6flDlYmj for <mls@ietfa.amsl.com>; Mon,  8 Mar 2021 05:43:25 -0800 (PST)
Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 278EF3A2A5D for <mls@ietf.org>; Mon,  8 Mar 2021 05:43:25 -0800 (PST)
Received: by mail-qt1-x834.google.com with SMTP id t13so6079762qta.11 for <mls@ietf.org>; Mon, 08 Mar 2021 05:43:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipv-sx.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UcWn2++JSLSaadY8m8EVjIrN40VXfu3YFzHuDypMYNU=; b=eHgriyiI4UUd1fPin9HN0XHyxr128xMh/43AunfKRRiAC8dbPzjceyfAIeWM5OYT6u zGwuMDfULSp5hOiZHTuHrYrvjUzNS+O/4BAA8oc3VGQHThRqh2Ev2Qqtm6ScCIPXUc9B I+GWmRi+Jwg0regABOuA1uJyNj14VfjtOe3Sit0rEjkzSiB8cWoQIlz3nbfz4J1Zf5U5 zIQDrPhFxxJDCVYJk+BzuC+G0HN5YiExlMVUNUxCj+GVtnjfmCN3Aeyt7EAeJcW2iLDu BrbPSJg6Sm9BC5jHN1hVEvqNkQkFW//nadt6iafHmMS8nCZQgkFNOVGcmfaQiQiRtwuP blPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UcWn2++JSLSaadY8m8EVjIrN40VXfu3YFzHuDypMYNU=; b=WcgLqMf+WuGdtn3nWaxvvlDxSnsB8FNkGgeJHtkSwQ+8M6oO3ybaqIdQL30vucQGlX V4CevVJ3N2wHWRhHy6/aQhqlBnB2pl5HK1Eaf9/k9fnhk6UBopRLE4C+RzTDyiyewi7W UqUH1t7RC5BRCqiSNjPq5P/i1egNS/ogDLA7SZGf6RwZDW0fMp1bBDjnzMjXOgqfsWJD bYxnzw82V0lHzjpjjCS+s2+/0dfeqmLnWOnof6nefL3bVEjRdIsvAQdhAtw+0LzvWYbE EBVQSRVp6WOkRNsBSU8jywGpnIIy2W8NQolTEcAsxEavjBtwvqV726RWFJCqzWXjxeZ1 3OXg==
X-Gm-Message-State: AOAM533iy+gvOEjvS/DSSLeDlgVZS4FjEUEXVmKZXLuUqC7q31jW0K1B nH4uaiGCf6+XbfqMPv+GDEsk+AfCPrnGfd505dVh734sEYHgow==
X-Google-Smtp-Source: ABdhPJzRzTGqaxYFLUEe3uwptH5I1Fa6RGn0prLuxRby65SWd23VcAysKvX112f3EYSZUvsiYAOc7jxRN/zV/eYyjTI=
X-Received: by 2002:ac8:4d97:: with SMTP id a23mr20104508qtw.265.1615211004153;  Mon, 08 Mar 2021 05:43:24 -0800 (PST)
MIME-Version: 1.0
References: <CAL02cgT9VUoTBLG_bZGwYrTBPLyC5qco_nejcUv55K28VcECYw@mail.gmail.com> <CABP-pSSwe9bAi+-DYzAguFXT6GGzUXDZ6Fx3X0bvNYcfFn32Uw@mail.gmail.com> <45292c19-e818-441b-9549-8c9429d7017a@wickr.com> <CABP-pSSLaYji9o+m34Do4_27=231j-X+i5EcoMfegpA_WO+Ayg@mail.gmail.com> <CABP-pSQ_-4zB+9K1271XXNLm2ppJbw6FA2xT32n6Sm7BD4xiCg@mail.gmail.com>
In-Reply-To: <CABP-pSQ_-4zB+9K1271XXNLm2ppJbw6FA2xT32n6Sm7BD4xiCg@mail.gmail.com>
From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 8 Mar 2021 08:43:02 -0500
Message-ID: <CAL02cgStXUwm_wbhE-Yy8-QCys5dGo0H3cOyyxPQ0Mn_j2UrQw@mail.gmail.com>
To: Brendan McMillion <brendan=40cloudflare.com@dmarc.ietf.org>
Cc: Messaging Layer Security WG <mls@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000023ed2405bd069e85"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/oIFuZ3gaa23WuDiK2rWvHSzS97E>
Subject: Re: [MLS] AppAck
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2021 13:43:27 -0000

--00000000000023ed2405bd069e85
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This would probably be good to have a focused call on in a week or two.  I
continue to believe this is a reasonable thing to have in the spec.
--RLB

On Mon, Mar 8, 2021 at 1:05 AM Brendan McMillion <brendan=3D
40cloudflare.com@dmarc.ietf.org> wrote:

> Hi all
>
> Since I never heard back on this and still believe AppAck is a bad
> addition to the protocol, I've opened a PR to remove it here:
> https://github.com/mlswg/mls-protocol/pull/463
>
> On Mon, Nov 23, 2020 at 1:26 PM Brendan McMillion <brendan@cloudflare.com=
>
> wrote:
>
>> On 22/11/2020 23:07, Brendan McMillion wrote:
>>> > b.) clients only want to validate receipt of messages at a Commit,
>>>
>>> Not sure why you say this is implied by how AppAck is defined. From the
>>> PR:
>>>
>>> > * The application could have a client send an AppAck whenever an
>>> application
>>> >   message is sent, covering all messages received since its last
>>> AppAck.  This
>>> >   would provide a complete view of any losses experienced by active
>>> members.
>>
>>
>> Because proposals are allowed to be dropped, and you don't know if they
>> were dropped until the Commit. If in the end you find out your AppAck
>> proposals were dropped, what do you even do? You can't resend them, as t=
he
>> generation counters have been reset. To get a per-message delivery
>> guarantee, you could tie application messages to the corresponding AppAc=
k
>> somehow and only accept one if both get delivered, but that's more
>> complicated and also not what's currently in the PR.
>>
>> I should also point out that this construction scales poorly. It require=
s
>> members to send twice as many messages, and that the size of each messag=
e
>> be proportional to the number of members, so the total amount of data
>> handled by the DS grows quadratically.
>>
>> On Mon, Nov 23, 2020 at 8:34 AM Joel Alwen <jalwen@wickr.com> wrote:
>>
>>> If using the AppAck proposal is not mandatory and it would be useful to
>>> several
>>> of the envisaged deployments (which sounds to be the case) I don't see
>>> this as
>>> being too problematic. Though I do agree that other message loss
>>> policies also
>>> make sense. (E.g. wanting eventual agreement on total ordering.)
>>>
>>> Moreover, it should be quite easy to support these proposals since they
>>> have
>>> almost no effect on the cryptographic state so are easy to process. Its
>>> really a
>>> UX thing I think.
>>>
>>> On 22/11/2020 23:07, Brendan McMillion wrote:
>>> > b.) clients only want to validate receipt of messages at a Commit,
>>>
>>> Not sure why you say this is implied by how AppAck is defined. From the
>>> PR:
>>>
>>> > * The application could have a client send an AppAck whenever an
>>> application
>>> >   message is sent, covering all messages received since its last
>>> AppAck.  This
>>> >   would provide a complete view of any losses experienced by active
>>> members.
>>> - Jo=C3=ABl
>>>
>>> _______________________________________________
>>> MLS mailing list
>>> MLS@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mls
>>>
>> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls
>

--00000000000023ed2405bd069e85
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>This would probably be good to have a focused call on=
 in a week or two.=C2=A0 I continue to believe this is a reasonable thing t=
o have in the spec.<br></div><div>--RLB<br></div><div><br></div><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar 8, 2021 =
at 1:05 AM Brendan McMillion &lt;brendan=3D<a href=3D"mailto:40cloudflare.c=
om@dmarc.ietf.org">40cloudflare.com@dmarc.ietf.org</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi =
all</div><div><br></div><div>Since I never heard back on this and still bel=
ieve AppAck is a bad addition to the protocol, I&#39;ve opened a PR to remo=
ve it here: <a href=3D"https://github.com/mlswg/mls-protocol/pull/463" targ=
et=3D"_blank">https://github.com/mlswg/mls-protocol/pull/463</a></div></div=
><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mo=
n, Nov 23, 2020 at 1:26 PM Brendan McMillion &lt;<a href=3D"mailto:brendan@=
cloudflare.com" target=3D"_blank">brendan@cloudflare.com</a>&gt; wrote:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft:1px solid rgb(204,204,204);padding-left:1ex"><span>On 22/11/2020 23:07, =
Brendan McMillion wrote:</span><br><span>
&gt; b.) clients only want to validate receipt of messages at a Commit,</sp=
an><br><span>
</span><br><span></span>
Not sure why you say this is implied by how AppAck is defined. From the PR:=
<br><br>
&gt; * The application could have a client send an AppAck whenever an appli=
cation<br>
&gt;=C2=A0 =C2=A0message is sent, covering all messages received since its =
last AppAck.=C2=A0 This<br>
&gt;=C2=A0 =C2=A0would provide a complete view of any losses experienced by=
 active members.</blockquote><div><br></div><div>Because proposals are allo=
wed to be dropped, and you don&#39;t know if they were dropped until the Co=
mmit. If in the end you find out your AppAck proposals were dropped, what d=
o you even do? You can&#39;t resend them, as the generation counters have b=
een reset. To get a per-message delivery guarantee, you could tie applicati=
on messages to the corresponding AppAck somehow and only accept one if both=
 get delivered, but that&#39;s more complicated and also not what&#39;s cur=
rently in the PR.</div><div><br></div><div>I should also point out that thi=
s construction scales poorly. It requires members to send twice as many mes=
sages, and that the size of each message be proportional to the number of m=
embers, so the total amount of data handled by the DS grows quadratically.<=
br></div>
</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">=
On Mon, Nov 23, 2020 at 8:34 AM Joel Alwen &lt;<a href=3D"mailto:jalwen@wic=
kr.com" target=3D"_blank">jalwen@wickr.com</a>&gt; wrote:<br></div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">If using the AppAck proposal is n=
ot mandatory and it would be useful to several<br>
of the envisaged deployments (which sounds to be the case) I don&#39;t see =
this as<br>
being too problematic. Though I do agree that other message loss policies a=
lso<br>
make sense. (E.g. wanting eventual agreement on total ordering.)<br>
<br>
Moreover, it should be quite easy to support these proposals since they hav=
e<br>
almost no effect on the cryptographic state so are easy to process. Its rea=
lly a<br>
UX thing I think.<br>
<br>
On 22/11/2020 23:07, Brendan McMillion wrote:<br>
&gt; b.) clients only want to validate receipt of messages at a Commit,<br>
<br>
Not sure why you say this is implied by how AppAck is defined. From the PR:=
<br>
<br>
&gt; * The application could have a client send an AppAck whenever an appli=
cation<br>
&gt;=C2=A0 =C2=A0message is sent, covering all messages received since its =
last AppAck.=C2=A0 This<br>
&gt;=C2=A0 =C2=A0would provide a complete view of any losses experienced by=
 active members.<br>
- Jo=C3=ABl<br>
<br>
_______________________________________________<br>
MLS mailing list<br>
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
MLS mailing list<br>
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
</blockquote></div></div>

--00000000000023ed2405bd069e85--


From nobody Mon Mar  8 05:45:03 2021
Return-Path: <benjamin.beurdouche@inria.fr>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 012F43A2A6E for <mls@ietfa.amsl.com>; Mon,  8 Mar 2021 05:45:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 4rDQoNtkOiaX for <mls@ietfa.amsl.com>; Mon,  8 Mar 2021 05:44:59 -0800 (PST)
Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6A273A2A6C for <mls@ietf.org>; Mon,  8 Mar 2021 05:44:58 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.81,232,1610406000";  d="scan'208,217";a="496734991"
Received: from 82-64-165-115.subs.proxad.net (HELO [192.168.1.13]) ([82.64.165.115]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2021 14:44:56 +0100
From: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
Message-Id: <3DAD67EB-C8C6-45EA-BE68-11402D26E3FF@inria.fr>
Content-Type: multipart/alternative; boundary="Apple-Mail=_94339B2F-69BE-4123-9A6F-D3A7AF5632CC"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Mon, 8 Mar 2021 14:44:56 +0100
In-Reply-To: <CAL02cgStXUwm_wbhE-Yy8-QCys5dGo0H3cOyyxPQ0Mn_j2UrQw@mail.gmail.com>
Cc: Brendan McMillion <brendan=40cloudflare.com@dmarc.ietf.org>, ML Messaging Layer Security <mls@ietf.org>
To: Richard Barnes <rlb@ipv.sx>
References: <CAL02cgT9VUoTBLG_bZGwYrTBPLyC5qco_nejcUv55K28VcECYw@mail.gmail.com> <CABP-pSSwe9bAi+-DYzAguFXT6GGzUXDZ6Fx3X0bvNYcfFn32Uw@mail.gmail.com> <45292c19-e818-441b-9549-8c9429d7017a@wickr.com> <CABP-pSSLaYji9o+m34Do4_27=231j-X+i5EcoMfegpA_WO+Ayg@mail.gmail.com> <CABP-pSQ_-4zB+9K1271XXNLm2ppJbw6FA2xT32n6Sm7BD4xiCg@mail.gmail.com> <CAL02cgStXUwm_wbhE-Yy8-QCys5dGo0H3cOyyxPQ0Mn_j2UrQw@mail.gmail.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/cQZ5ubgQX0KB3oC1OPEAxqcAjcU>
Subject: Re: [MLS] AppAck
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2021 13:45:02 -0000

--Apple-Mail=_94339B2F-69BE-4123-9A6F-D3A7AF5632CC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Making it an inlined-proposal (if it is not) would make sense=E2=80=A6
B.

> On 8 Mar 2021, at 14:43, Richard Barnes <rlb@ipv.sx> wrote:
>=20
> This would probably be good to have a focused call on in a week or =
two.  I continue to believe this is a reasonable thing to have in the =
spec.
> --RLB
>=20
> On Mon, Mar 8, 2021 at 1:05 AM Brendan McMillion =
<brendan=3D40cloudflare.com@dmarc.ietf.org =
<mailto:40cloudflare.com@dmarc.ietf.org>> wrote:
> Hi all
>=20
> Since I never heard back on this and still believe AppAck is a bad =
addition to the protocol, I've opened a PR to remove it here: =
https://github.com/mlswg/mls-protocol/pull/463 =
<https://github.com/mlswg/mls-protocol/pull/463>
> On Mon, Nov 23, 2020 at 1:26 PM Brendan McMillion =
<brendan@cloudflare.com <mailto:brendan@cloudflare.com>> wrote:
> On 22/11/2020 23:07, Brendan McMillion wrote:
> > b.) clients only want to validate receipt of messages at a Commit,
>=20
> Not sure why you say this is implied by how AppAck is defined. =46rom =
the PR:
>=20
> > * The application could have a client send an AppAck whenever an =
application
> >   message is sent, covering all messages received since its last =
AppAck.  This
> >   would provide a complete view of any losses experienced by active =
members.
>=20
> Because proposals are allowed to be dropped, and you don't know if =
they were dropped until the Commit. If in the end you find out your =
AppAck proposals were dropped, what do you even do? You can't resend =
them, as the generation counters have been reset. To get a per-message =
delivery guarantee, you could tie application messages to the =
corresponding AppAck somehow and only accept one if both get delivered, =
but that's more complicated and also not what's currently in the PR.
>=20
> I should also point out that this construction scales poorly. It =
requires members to send twice as many messages, and that the size of =
each message be proportional to the number of members, so the total =
amount of data handled by the DS grows quadratically.
>=20
> On Mon, Nov 23, 2020 at 8:34 AM Joel Alwen <jalwen@wickr.com =
<mailto:jalwen@wickr.com>> wrote:
> If using the AppAck proposal is not mandatory and it would be useful =
to several
> of the envisaged deployments (which sounds to be the case) I don't see =
this as
> being too problematic. Though I do agree that other message loss =
policies also
> make sense. (E.g. wanting eventual agreement on total ordering.)
>=20
> Moreover, it should be quite easy to support these proposals since =
they have
> almost no effect on the cryptographic state so are easy to process. =
Its really a
> UX thing I think.
>=20
> On 22/11/2020 23:07, Brendan McMillion wrote:
> > b.) clients only want to validate receipt of messages at a Commit,
>=20
> Not sure why you say this is implied by how AppAck is defined. =46rom =
the PR:
>=20
> > * The application could have a client send an AppAck whenever an =
application
> >   message is sent, covering all messages received since its last =
AppAck.  This
> >   would provide a complete view of any losses experienced by active =
members.
> - Jo=C3=ABl
>=20
> _______________________________________________
> MLS mailing list
> MLS@ietf.org <mailto:MLS@ietf.org>
> https://www.ietf.org/mailman/listinfo/mls =
<https://www.ietf.org/mailman/listinfo/mls>
> _______________________________________________
> MLS mailing list
> MLS@ietf.org <mailto:MLS@ietf.org>
> https://www.ietf.org/mailman/listinfo/mls =
<https://www.ietf.org/mailman/listinfo/mls>
> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls


--Apple-Mail=_94339B2F-69BE-4123-9A6F-D3A7AF5632CC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Making it an inlined-proposal (if it is not) would make =
sense=E2=80=A6<div class=3D""><div class=3D"">B.<br class=3D""><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On 8 Mar =
2021, at 14:43, Richard Barnes &lt;<a href=3D"mailto:rlb@ipv.sx" =
class=3D"">rlb@ipv.sx</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"">This would probably be good to have a focused =
call on in a week or two.&nbsp; I continue to believe this is a =
reasonable thing to have in the spec.<br class=3D""></div><div =
class=3D"">--RLB<br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Mon, Mar 8, 2021 at 1:05 AM Brendan McMillion =
&lt;brendan=3D<a href=3D"mailto:40cloudflare.com@dmarc.ietf.org" =
class=3D"">40cloudflare.com@dmarc.ietf.org</a>&gt; wrote:<br =
class=3D""></div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr" class=3D""><div =
class=3D"">Hi all</div><div class=3D""><br class=3D""></div><div =
class=3D"">Since I never heard back on this and still believe AppAck is =
a bad addition to the protocol, I've opened a PR to remove it here: <a =
href=3D"https://github.com/mlswg/mls-protocol/pull/463" target=3D"_blank" =
class=3D"">https://github.com/mlswg/mls-protocol/pull/463</a></div></div><=
br class=3D""><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Mon, Nov 23, 2020 at 1:26 PM Brendan McMillion =
&lt;<a href=3D"mailto:brendan@cloudflare.com" target=3D"_blank" =
class=3D"">brendan@cloudflare.com</a>&gt; wrote:<br =
class=3D""></div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr" class=3D""><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex"><span class=3D"">On 22/11/2020 =
23:07, Brendan McMillion wrote:</span><br class=3D""><span class=3D"">
&gt; b.) clients only want to validate receipt of messages at a =
Commit,</span><br class=3D""><span class=3D"">
</span><br class=3D""><span class=3D""></span>
Not sure why you say this is implied by how AppAck is defined. =46rom =
the PR:<br class=3D""><br class=3D"">
&gt; * The application could have a client send an AppAck whenever an =
application<br class=3D"">
&gt;&nbsp; &nbsp;message is sent, covering all messages received since =
its last AppAck.&nbsp; This<br class=3D"">
&gt;&nbsp; &nbsp;would provide a complete view of any losses experienced =
by active members.</blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">Because proposals are allowed to be dropped, and you don't =
know if they were dropped until the Commit. If in the end you find out =
your AppAck proposals were dropped, what do you even do? You can't =
resend them, as the generation counters have been reset. To get a =
per-message delivery guarantee, you could tie application messages to =
the corresponding AppAck somehow and only accept one if both get =
delivered, but that's more complicated and also not what's currently in =
the PR.</div><div class=3D""><br class=3D""></div><div class=3D"">I =
should also point out that this construction scales poorly. It requires =
members to send twice as many messages, and that the size of each =
message be proportional to the number of members, so the total amount of =
data handled by the DS grows quadratically.<br class=3D""></div>
</div><br class=3D""><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Mon, Nov 23, 2020 at 8:34 AM Joel Alwen &lt;<a =
href=3D"mailto:jalwen@wickr.com" target=3D"_blank" =
class=3D"">jalwen@wickr.com</a>&gt; wrote:<br class=3D""></div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">If using the AppAck proposal is =
not mandatory and it would be useful to several<br class=3D"">
of the envisaged deployments (which sounds to be the case) I don't see =
this as<br class=3D"">
being too problematic. Though I do agree that other message loss =
policies also<br class=3D"">
make sense. (E.g. wanting eventual agreement on total ordering.)<br =
class=3D"">
<br class=3D"">
Moreover, it should be quite easy to support these proposals since they =
have<br class=3D"">
almost no effect on the cryptographic state so are easy to process. Its =
really a<br class=3D"">
UX thing I think.<br class=3D"">
<br class=3D"">
On 22/11/2020 23:07, Brendan McMillion wrote:<br class=3D"">
&gt; b.) clients only want to validate receipt of messages at a =
Commit,<br class=3D"">
<br class=3D"">
Not sure why you say this is implied by how AppAck is defined. =46rom =
the PR:<br class=3D"">
<br class=3D"">
&gt; * The application could have a client send an AppAck whenever an =
application<br class=3D"">
&gt;&nbsp; &nbsp;message is sent, covering all messages received since =
its last AppAck.&nbsp; This<br class=3D"">
&gt;&nbsp; &nbsp;would provide a complete view of any losses experienced =
by active members.<br class=3D"">
- Jo=C3=ABl<br class=3D"">
<br class=3D"">
_______________________________________________<br class=3D"">
MLS mailing list<br class=3D"">
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank" =
class=3D"">MLS@ietf.org</a><br class=3D"">
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" =
target=3D"_blank" =
class=3D"">https://www.ietf.org/mailman/listinfo/mls</a><br class=3D"">
</blockquote></div>
</blockquote></div>
_______________________________________________<br class=3D"">
MLS mailing list<br class=3D"">
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank" =
class=3D"">MLS@ietf.org</a><br class=3D"">
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" =
target=3D"_blank" =
class=3D"">https://www.ietf.org/mailman/listinfo/mls</a><br class=3D"">
</blockquote></div></div>
_______________________________________________<br class=3D"">MLS =
mailing list<br class=3D""><a href=3D"mailto:MLS@ietf.org" =
class=3D"">MLS@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/mls<br =
class=3D""></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_94339B2F-69BE-4123-9A6F-D3A7AF5632CC--


From nobody Thu Mar 11 03:56:14 2021
Return-Path: <sean@sn3rd.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3FA663A187B for <mls@ietfa.amsl.com>; Thu, 11 Mar 2021 03:56:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sn3rd.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 Qh8J4THvYhmH for <mls@ietfa.amsl.com>; Thu, 11 Mar 2021 03:56:07 -0800 (PST)
Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 A6F6D3A1A3D for <mls@ietf.org>; Thu, 11 Mar 2021 03:56:07 -0800 (PST)
Received: by mail-qt1-x82c.google.com with SMTP id 94so885464qtc.0 for <mls@ietf.org>; Thu, 11 Mar 2021 03:56:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :cc:to; bh=ISjPCc72Ji9fKAeSaeqcZxfnZ8nZ0ZrmvasOtPSoqBc=; b=ZZI2uk08ANlwjL2bMcWzSl5/ciWDRmlKEhv2D5O4LXpk23VSfmK/tUlBaso2BjyQ/a VE5urf9dc4uVB4oqFppuU1hw4P33RFXV6xXiK6W8hwHwf4r5xToyIW0uS/EeF92wi3KO aT6ciadHYcDHoW0Wa4CP6Jv5sE8JL+mgXC1yM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:cc:to; bh=ISjPCc72Ji9fKAeSaeqcZxfnZ8nZ0ZrmvasOtPSoqBc=; b=SOWVe3UNs6rvsNRmMYyau/vjCeUxNkQb4ml3IF5bWHSryQYbGx9zBQGPVqD5cmaMKG NPaj1Y9/eFgCdCLiVzRFuiVU0ZDT51J94wx3B2Jd1eznhTc+jxcogpI9ZggyTPWVEBK5 1kNPXksGF33G7CmTyYutDKL2LxUrWi6HBbqukeTvUI1y7cgX6luHVooMhKptreeXrRNJ hLMwFqACdySZWVHb9ZEr+w493srG7Lw+dZ0ZO8c38TYXUCmQj8cCilNCDdfDh9Us+WOP Es8k4LncfUQzpRv4y45k+dUxi8n+tOZsAWdO0mdlQznS70MvNqEApzTEGe/q/J5nb1Bq IfeQ==
X-Gm-Message-State: AOAM5304/ppwEVE9r9WQDso1NjEjIQNagGvMompErTsGExf+dx1PktB8 GuqX+5x4LcnhD9XL0SzElTcGx11furKhWA==
X-Google-Smtp-Source: ABdhPJyD38FNpbq7eMSBOAuPqXjqY0g65uUKNpg0wiwwUosfOB/PGzqI1S34P5LL2I9gOfRUTzsztw==
X-Received: by 2002:ac8:4a8f:: with SMTP id l15mr6910416qtq.238.1615463765184;  Thu, 11 Mar 2021 03:56:05 -0800 (PST)
Received: from [192.168.1.152] (pool-108-31-39-252.washdc.fios.verizon.net. [108.31.39.252]) by smtp.gmail.com with ESMTPSA id p7sm1750452qkc.75.2021.03.11.03.56.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Mar 2021 03:56:04 -0800 (PST)
From: Sean Turner <sean@sn3rd.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Message-Id: <1B5EE567-24E1-4975-87A3-02642657A473@sn3rd.com>
Date: Thu, 11 Mar 2021 06:56:02 -0500
Cc: MLS List <mls@ietf.org>
To: saag@ietf.org
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/idVjwSLWfvKvBp98tTtEiEvzfN4>
Subject: [MLS] mls@ietf110: saag report
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Mar 2021 11:56:09 -0000

MLS meet Monday, March 8th from 15:30 to 16:30 UTC.

A new version of MLS Architecture I-D was on Monday. Many updates were =
made, but more are needed to ensure alignment with the MLS Protocol I-D =
[2].

The MLS Protocol I-D has completed its first WGLC in November 2020 and =
has been in a feature freeze to allow for security analysis and =
implementation experience.

Initial reviews seem to indicate, with all of the appropriate caveats, =
that the protocol is offering the advertised services [3]. There are =
multiple independent sets of security researchers.

The WG will consider a concrete proposal for an optional service that =
provides deniability [4].

[1] https://datatracker.ietf.org/doc/draft-ietf-mls-architecture/
[2] https://datatracker.ietf.org/doc/draft-ietf-mls-protocol/
[3] =
https://datatracker.ietf.org/meeting/110/materials/slides-110-mls-cryptogr=
aphic-analysis-of-mls-00
[4] =
https://github.com/claucece/draft-celi-mls-deniability/blob/main/draft-cel=
i-mls-deniability.md=


From nobody Sun Mar 14 00:16:04 2021
Return-Path: <do_not_reply@mnot.net>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7EE053A1F2C for <mls@ietfa.amsl.com>; Sun, 14 Mar 2021 00:16:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.118
X-Spam-Level: 
X-Spam-Status: No, score=-2.118 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=mnot.net header.b=rXWkUmZP; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=HFasi+xU
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 JIcQPyiYqBOw for <mls@ietfa.amsl.com>; Sun, 14 Mar 2021 00:16:00 -0800 (PST)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A59D83A104E for <mls@ietf.org>; Sun, 14 Mar 2021 00:16:00 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id E106217C4 for <mls@ietf.org>; Sun, 14 Mar 2021 03:38:40 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 14 Mar 2021 03:38:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject:message-id:date; s= fm2; bh=5c/ZHToG1GijllYXWOqAHUNhzJ/GAHn5BrL2E0m0QPU=; b=rXWkUmZP xRknsF2rMAf6QGElER7CEkEBADwHJJnlA8ECKjEk7NcZgAKBBOntN4HDZFLfL9nh K16KaQ3d5GOb5xq8Z8i4amKFXHEazMYQcRGitapvFFtAgq0ai240OaatG4kPK9Fp pX0g3WrwzYon9cHYurU1jHD8nlqlBnbSOOu+Q7bMYfDt4kuRvvxqvCSnHrwQt3uw EwZhkfVhiSlhZrbQqF3UrReitFSvGNoaFcJBrI4LKl4MsZV6YizudnAmRp1j/F51 jDKv3PYzoiFQT+Hi3uOXgbkk1o+jKLw4bRPc3IlMqgmH3tBskavh8BJ1lBV9o0+c 0BbTZqu+4VZWgA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=5c/ZHToG1GijllYXWOqAHUNhzJ/GA Hn5BrL2E0m0QPU=; b=HFasi+xUMcNuJ6/NWHYo51/3S9efSPOmB0x4rIfMdjNj9 58KgTjR3/iwB0gXz4NDT60m8A9Dadf4BB3+QguKF69aOLulX7pJvlHRacxliAfNC mMZTZ0IDMN62KdnvOT1olqIMxO/lBtxdaAfAVcnIwRztM8ZqK48z0KhgYZobr78T ojiT0gjIxM+aX7A4g2XLzLz9lBFijW8tNHuZaXlYl0l5hNsOfz0XHjskbVvAThvz JGjsynqohU9L4HK1IV0t5QKA69GeN5pUFQcQA+ZVgRoAFF5uy3TPLGzcXwVDILHm cjMkAqJpUlskzwRuVm1R80ZrDvhRKT5AxkjwSwfNg==
X-ME-Sender: <xms:gL1NYKcl-AojPrvOA1YoZowuWkiVtSsqqUNGsS-64uuEv3_Ms2yjlw> <xme:gL1NYEMuZm1x3h5i_j27W7O3QabfQwj1lIkC4KrK1dxwUTh2eYe_MXmPLnwVPHeh6 q6PO9niJrsJagFVcA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvhedgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtggfhvffusegrtddtredttdejne cuhfhrohhmpeftvghpohhsihhtohhrhicutegtthhivhhithihucfuuhhmmhgrrhihuceu ohhtuceoughopghnohhtpghrvghplhihsehmnhhothdrnhgvtheqnecuggftrfgrthhtvg hrnhepkeefvdduteejvdefkeehieevuefgfefhteetveegffekffefteffvdelheduieet necuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvdefrddutddurddugeehrd dujedunecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilhhfrhhomhep ughopghnohhtpghrvghplhihsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:gL1NYLg8Nhn382dltEqSkJXFk3uqPh7yhErSQnAJDVHPLLbQazanMw> <xmx:gL1NYH-WKEWkf0UL42IW_kWQ25FbmWdgl570Dgwa6S7ccj6mG5KrTg> <xmx:gL1NYGvy1QTS1_Pdy_Iyob2mT3uEcBmztZ0KiyvqIIPhFEAYfwb53A> <xmx:gL1NYLVSZtwslBhO-wgbpIn614Ur-BzpMJubEG6gymcYGme90F8p4g>
Received: from fv-az207-156.internal.cloudapp.net (unknown [23.101.145.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 630A5240057 for <mls@ietf.org>; Sun, 14 Mar 2021 03:38:40 -0400 (EDT)
Content-Type: multipart/alternative; boundary="===============4364843859843969190=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: mls@ietf.org
Message-Id: <20210314073840.630A5240057@mailuser.nyi.internal>
Date: Sun, 14 Mar 2021 03:38:40 -0400 (EDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/XuZMWn6GEkOSaUHrOfb5v4BhNIY>
Subject: [MLS] Weekly github digest (MLS Working Group summary)
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Mar 2021 08:16:03 -0000

--===============4364843859843969190==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"




Issues
------
* mlswg/mls-architecture (+0/-3/=F0=9F=92=AC1)
  1 issues received 1 new comments:
  - #52 Delivery assumption (1 by beurdouche)
    https://github.com/mlswg/mls-architecture/issues/52=20

  3 issues closed:
  - Delivery assumption https://github.com/mlswg/mls-architecture/issues/52=
=20
  - Server Initiated Removal considerations https://github.com/mlswg/mls-ar=
chitecture/issues/56=20
  - Open a section for attacks outside the threat model? https://github.com=
/mlswg/mls-architecture/issues/72 [editorial]=20

* mlswg/mls-protocol (+0/-0/=F0=9F=92=AC1)
  1 issues received 1 new comments:
  - #459 Trim tree after removal (1 by bifurcation)
    https://github.com/mlswg/mls-protocol/issues/459=20



Pull requests
-------------
* mlswg/mls-protocol (+5/-2/=F0=9F=92=AC5)
  5 pull requests submitted:
  - Rename add-only Commit to partial Commit. (by Bren2010)
    https://github.com/mlswg/mls-protocol/pull/465=20
  - Clarify which extensions should go into the group context (by kkohbrok)
    https://github.com/mlswg/mls-protocol/pull/464=20
  - Remove AppAck proposal. (by Bren2010)
    https://github.com/mlswg/mls-protocol/pull/463=20
  - Make ratchet tree section clearer. (by Bren2010)
    https://github.com/mlswg/mls-protocol/pull/462=20
  - truncate text (by suhasHere)
    https://github.com/mlswg/mls-protocol/pull/461=20

  1 pull requests received 5 new comments:
  - #453 Use the GroupContext to derive the joiner_secret (5 by bifurcation=
, ericcornelissen)
    https://github.com/mlswg/mls-protocol/pull/453=20

  2 pull requests merged:
  - Fix typo in Parent Hash verification.
    https://github.com/mlswg/mls-protocol/pull/460=20
  - Truncate tree size on removal
    https://github.com/mlswg/mls-protocol/pull/461=20


Repositories tracked by this digest:
-----------------------------------
* https://github.com/mlswg/mls-architecture
* https://github.com/mlswg/mls-protocol
* https://github.com/mlswg/mls-federation

--===============4364843859843969190==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (MLS Working Group summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday March 14, 2021</h1>


<h2>Issues</h2>

<h3>mlswg/mls-architecture (+0/-3/=F0=9F=92=AC1)</h3>

  <p>1 issues received 1 new comments:</p>
  <ul>
  <li>#52 <a href=3D"https://github.com/mlswg/mls-architecture/issues/52">D=
elivery assumption</a> (1 by beurdouche) </li>
  </ul>

  <p>3 issues closed:</p>
  <ul>
  <li>#52 <a href=3D"https://github.com/mlswg/mls-architecture/issues/52">D=
elivery assumption</a> </li>
 =20
  <li>#56 <a href=3D"https://github.com/mlswg/mls-architecture/issues/56">S=
erver Initiated Removal considerations</a> </li>
 =20
  <li>#72 <a href=3D"https://github.com/mlswg/mls-architecture/issues/72">O=
pen a section for attacks outside the threat model?</a> <span class=3D"labe=
l" style=3D"background-color: #ffccef; color: #000000">editorial</span> </l=
i>
  </ul>

<h3>mlswg/mls-protocol (+0/-0/=F0=9F=92=AC1)</h3>

  <p>1 issues received 1 new comments:</p>
  <ul>
  <li>#459 <a href=3D"https://github.com/mlswg/mls-protocol/issues/459">Tri=
m tree after removal</a> (1 by bifurcation) </li>
  </ul>




<h2>Pull requests</h2>
<h3>mlswg/mls-protocol (+5/-2/=F0=9F=92=AC5)</h3>
  <p class=3D"new">5 pull requests submitted:</p>
  <ul>
  <li>#465 <a href=3D"https://github.com/mlswg/mls-protocol/pull/465">Renam=
e add-only Commit to partial Commit.</a> (by Bren2010) </li>
 =20
  <li>#464 <a href=3D"https://github.com/mlswg/mls-protocol/pull/464">Clari=
fy which extensions should go into the group context</a> (by kkohbrok) </li>
 =20
  <li>#463 <a href=3D"https://github.com/mlswg/mls-protocol/pull/463">Remov=
e AppAck proposal.</a> (by Bren2010) </li>
 =20
  <li>#462 <a href=3D"https://github.com/mlswg/mls-protocol/pull/462">Make =
ratchet tree section clearer.</a> (by Bren2010) </li>
 =20
  <li>#461 <a href=3D"https://github.com/mlswg/mls-protocol/pull/461">trunc=
ate text</a> (by suhasHere) </li>
  </ul>

  <p>1 pull requests received 5 new comments:</p>
  <ul>
  <li>#453 <a href=3D"https://github.com/mlswg/mls-protocol/pull/453">Use t=
he GroupContext to derive the joiner_secret</a> (5 by bifurcation, ericcorn=
elissen) </li>
  </ul>

  <p>2 pull requests merged:</p>
  <ul>
  <li>#460 <a href=3D"https://github.com/mlswg/mls-protocol/pull/460">Fix t=
ypo in Parent Hash verification.</a> </li>
 =20
  <li>#461 <a href=3D"https://github.com/mlswg/mls-protocol/pull/461">Trunc=
ate tree size on removal</a> </li>
  </ul>


<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/mlswg/mls-architecture">https://github.=
com/mlswg/mls-architecture</a></li>
  <li><a href=3D"https://github.com/mlswg/mls-protocol">https://github.com/=
mlswg/mls-protocol</a></li>
  <li><a href=3D"https://github.com/mlswg/mls-federation">https://github.co=
m/mlswg/mls-federation</a></li>
  </ul>
</body>
</html>

--===============4364843859843969190==--


From nobody Wed Mar 17 16:53:13 2021
Return-Path: <hubertc@matrix.org>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DC8F3A1844 for <mls@ietfa.amsl.com>; Wed, 17 Mar 2021 16:53:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_FAIL=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.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 fq8QTyUicsAa for <mls@ietfa.amsl.com>; Wed, 17 Mar 2021 16:53:10 -0700 (PDT)
Received: from wforward3-smtp.messagingengine.com (wforward3-smtp.messagingengine.com [64.147.123.22]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 44F0B3A1843 for <mls@ietf.org>; Wed, 17 Mar 2021 16:53:10 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.west.internal (Postfix) with ESMTP id 6378E2089 for <mls@ietf.org>; Wed, 17 Mar 2021 19:53:05 -0400 (EDT)
Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Wed, 17 Mar 2021 19:53:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=O+6U8M nZt0UujwHH8Ww6jNt2P7V1Ahr/1YaLZLGc0o0=; b=H6m1e2oBz1yh4M9KCEn/Q/ w20xKH3nHAx1DHODtiVIYpvGeR5Lo/Z0tQyVCwZrPrWLxbuZa0gqmueEXFqSuhGb YQYqp1R7fUynLcXyXdABckTEc70mOiSu9mjEFqHiD1ldx82uohyoYcoK4i//yh87 O5hoKbfDwc91iSizHA+5IejTRSMMKKZxK7I+jtpdlGUccK+FIQ1tfSZFCwvlW+ko +n7e0qe8xmdXGey8e8o7IHHQOcY1Y/CkFDj8BPndHvPbdMTpMVsVEOxehPxWVL/d 2LDqjZ2BAVhqqieSjvc1K3XIUUwArW7RuAOgkTu79lRk8U4J510sminFzmN4dl6A ==
X-ME-Sender: <xms:YJZSYBMwROl1Yk8qPuYAPKnZ1KN3sp8cUEkMY5PYp41CaUWNZKgiSA> <xme:YJZSYD-ms6ixMIF2mTvPGduPgAiq8M8PGUHAT_e0MxX5NsgI6T50RGEduEdLuaQ4Z DKaOFXUXn9oAOdpR_A>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefhedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerreejnecuhfhrohhmpedfjfhusggvrhhtucevhhgrthhhihdfuceohhhusggvrhht tgesmhgrthhrihigrdhorhhgqeenucggtffrrghtthgvrhhnpeehvdetfefgjeejffffke etvdfhuedtgfdviedvvedtgeehgeevfedvuedthfeujeenucffohhmrghinhepihgvthhf rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh ephhhusggvrhhttgesmhgrthhrihigrdhorhhg
X-ME-Proxy: <xmx:YJZSYAS7The0MLjEOUU47ae2BWde-WZ4ybXkEj3CGhGseE1mqD7M1w> <xmx:YJZSYNukHs03Q98EcIXRsspj0Jr2gw8OTCMJljP2_qu16ooYGM9JWw> <xmx:YJZSYJe3UP7pWIU4aORpZwzad8nvnEuDoHotKjWPRxtXrE2vbQjYkw> <xmx:YZZSYKqADPm63PMK263itznMHDZNMWMT95eU89KXXf3Nl5MAUtASfY3isVk>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2139B62C0062; Wed, 17 Mar 2021 19:53:04 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-206-g078a48fda5-fm-20210226.001-g078a48fd
Mime-Version: 1.0
Message-Id: <882bde7a-57ce-45e1-ba17-8c50868eb8b7@www.fastmail.com>
In-Reply-To: <4f956d6b-87c4-44ad-b9d4-1a810c9c0170@www.fastmail.com>
References: <107abb03-e620-43ed-ac75-034ab6ed1ff4@www.fastmail.com> <8E3FEF5E-F5B5-4B58-A5BD-2464383C245A@wire.com> <924f2f66-795c-4149-b5bf-dd61bf99e678@www.fastmail.com> <CAL02cgS_feKFwkarCQ=M649KAZSGznVnAF0OoRw20FBE4f5+Vw@mail.gmail.com> <4f956d6b-87c4-44ad-b9d4-1a810c9c0170@www.fastmail.com>
Date: Wed, 17 Mar 2021 19:52:43 -0400
From: "Hubert Chathi" <hubertc@matrix.org>
To: mls@ietf.org
Content-Type: multipart/alternative; boundary=c63274b97f114c96a11d2501e7dfcc0f
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/HmwcJ6PKS_lPAVyzoLOBDoJTSTg>
Subject: Re: [MLS] question about group contexts and deriving epoch secrets
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Mar 2021 23:53:12 -0000

--c63274b97f114c96a11d2501e7dfcc0f
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable

I've managed to re-read the sections in question.  I think the issue is =
that the current draft says that when you ratchet forward the key schedu=
le, you use the provisional GroupContext (Line 2638 and 2664), whereas i=
n your email, you say you should use the GroupContext for the new epoch.=
  Using the provisional GroupContext is problematic because AFAICT, new =
users don't have enough information to derive the provisional GroupConte=
xt, but using the "new" GroupContext should be fine.  So if it is indeed=
 supposed to be the "new" GroupContext that is used, I can prepare a PR =
to fix it (or just tack it on to my currently-open #454).

Hubert

On Fri, 5 Mar 2021, at 17:52, Hubert Chathi wrote:
> Hi Richard,
>=20
> Thanks for responding.  I think that more-or-less matches my understan=
d of how it was supposed to work, which means that I think that the join=
er is missing some information.  But it's been a while since I've looked=
 at it, and I'll have to double-check.
>=20
> Hubert
>=20
> On Wed, 3 Mar 2021, at 14:32, Richard Barnes wrote:
>> Thanks for raising this, Hubert, I agree that it's ambiguous in the  =
current text, but I think there is a solution here that we just need to =
clarify :)  Basically, I think the "provisional" GroupContext morphs int=
o the "new" GroupContext over the course of generating / applying a comm=
it.  Let me try to articulate my theory of how things work here, then if=
 that makes sense, we can try to turn it into spec text.
>>=20
>> The joiner side seems unambiguous.  The joiner gets the GroupContext =
for the epoch in which they're added -- in fact, the GroupInfo carried i=
n a Welcome is basically just a signed GroupContext.
>>=20
>> When creating / verifying a Commit, you need a GroupContext at three =
points:
>> 1. When you encap/decap the UpdatePath
>> 2. When you ratchet forward the key schedule
>> 3. When you sign the MLSPlaintext of the Commit
>>=20
>> All three of these need to be different:
>> * Case (3) uses the GroupContext from the old epoch, i.e., the one th=
at corresponds to MLSPlaintext.epoch, so that recipients can verify the =
signature before processing the message
>> * Case (2) uses the GroupContext for the new epoch, after the proposa=
ls and UpdatePath have been applied, so that joiners can compute the epo=
ch_secret
>> * Case (1) uses a "provisional" GroupContext that  captures the state=
 of the tree at the time the UpdatePath is computed:
>>     * epoch =3D old_group_context.epoch + 1
>>     * tree_hash reflects the tree with proposals applied
>>     * group_id, confirmed_transcript_hash, and extensions stay the sa=
me
>>=20
>> Looking at this in chronological order for the Commit generator:
>> * Cache the old GroupContext for use in signing later
>> * Apply proposals to the tree
>>     =3D> provisional GroupContext
>>     =3D> compute UpdatePath using provisional GroupContext
>> * Sign Commit using old GroupContext=20
>>     =3D> update confirmed_transcript_hash
>>     =3D> new GroupContext
>>     =3D> epoch_secret
>>     =3D> confirmation_tag
>>=20
>> Does that make sense to you?
>>=20
>> --RLB
>>=20
>>=20
>> On Tue, Feb 9, 2021 at 6:46 PM Hubert Chathi <hubertc@matrix.org> wro=
te:
>>> On Tue, 9 Feb 2021, at 04:56, Raphael Robert wrote:
>>> > I think =E2=80=9Cnew GroupContext=E2=80=9D and =E2=80=9Cprovisiona=
l GroupContext=E2=80=9D are synonyms.
>>>=20
>>> I'm not so sure about this.  The "provisional GroupContext" is creat=
ed after applying the proposals (line 2532), but before the UpdatePath i=
s applied to the tree (line 2559).  Whereas, from what I understand, new=
 members are only given the tree after the UpdatePath is applied, which =
would give a different tree_hash and hence GroupContext.  I don't know i=
f I'm just misunderstanding something.
>>>=20
>>> > Creating the Commit:
>>> >  - Use the confirmed transcript hash (old intermediate transcript =
hash=20
>>> > combined with new commit content from current MLSPlaintext)
>>> >  - Create new provisional GroupContext with new provisional epoch =
(old=20
>>> > epoch  + 1), new tree hash (after proposals were applied to old tr=
ee)=20
>>> > and confirmed transcript hash from above
>>> >=20
>>> > Applying a Commit as an existing member:
>>> >  - Same as creating a Commit
>>> >=20
>>> > Joining a group from a Welcome message:
>>> > - Create GroupContext with epoch from GroupInfo, tree hash from=20=

>>> > GroupInfo and confirmed transcript hash from GroupInfo
>>> >=20
>>> > Does that answer the question?
>>> >=20
>>> > If you think the spec is wrong/confusing feel free to file a PR.
>>>=20
>>> Yes, once I manage to understand what's going on, I plan on filing a=
 PR.
>>>=20
>>> >=20
>>> > Raphael
>>> >=20
>>> > > On 9. Feb 2021, at 00:45, Hubert Chathi <hubertc@matrix.org> wro=
te:
>>> > >=20
>>> > > When deriving the epoch secret, you do "ExpandWithLabel(., "epoc=
h", GroupContext_[n], KDF.Nh)", so you need a GroupContext.  As far as I=
 can tell, there appears to be a contradiction about which GroupContext =
to use: in the "Key Schedule" section (Line 1404), it says to use "The G=
roupContext object for current epoch", but in the "Commit" section under=
 the part talking about a group member who applies a Commit message (Lin=
e 2660), it says to use the provisional GroupContext.  (The part talking=
 about the group member who creates the Commit message doesn't say which=
 GroupContext to use.)  If we are supposed to use the "new" GroupContext=
 (after applying both the proposals and the update), but if we are suppo=
sed to use the provisional GroupContext, then I don't think that a new m=
ember has access to the tree_hash or confirmed_transcript_hash to create=
 the GroupContext needed to derive the epoch secret.  So it seems like t=
he "new" GroupContext should be correct, but Line 2660 is pretty expli
>>> > > cit about using the provisional GroupContext.
>>> > >=20
>>> > > _______________________________________________
>>> > > MLS mailing list
>>> > > MLS@ietf.org
>>> > > https://www.ietf.org/mailman/listinfo/mls
>>> >=20
>>> > _______________________________________________
>>> > MLS mailing list
>>> > MLS@ietf.org
>>> > https://www.ietf.org/mailman/listinfo/mls
>>> >
>>>=20
>>> _______________________________________________
>>> MLS mailing list
>>> MLS@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mls
>=20
> _______________________________________________
> MLS mailing list
> MLS@ietf.org <mailto:MLS%40ietf.org>
> https://www.ietf.org/mailman/listinfo/mls
>=20

--c63274b97f114c96a11d2501e7dfcc0f
Content-Type: text/html;charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">
p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>I've manag=
ed to re-read the sections in question.&nbsp; I think the issue is that =
the current draft says that when you ratchet forward the key schedule, y=
ou use the provisional GroupContext (Line 2638 and 2664), whereas in you=
r email, you say you should use the GroupContext for the new epoch.&nbsp=
; Using the provisional GroupContext is problematic because AFAICT, new =
users don't have enough information to derive the provisional GroupConte=
xt, but using the "new" GroupContext should be fine.&nbsp; So if it is i=
ndeed supposed to be the "new" GroupContext that is used, I can prepare =
a PR to fix it (or just tack it on to my currently-open #454).<br></div>=
<div><br></div><div>Hubert<br></div><div><br></div><div>On Fri, 5 Mar 20=
21, at 17:52, Hubert Chathi wrote:<br></div><blockquote type=3D"cite" id=
=3D"qt" style=3D""><div>Hi Richard,<br></div><div><br></div><div>Thanks =
for responding.&nbsp; I think that more-or-less matches my understand of=
 how it was supposed to work, which means that I think that the joiner i=
s missing some information.&nbsp; But it's been a while since I've looke=
d at it, and I'll have to double-check.<br></div><div><br></div><div>Hub=
ert<br></div><div><br></div><div>On Wed, 3 Mar 2021, at 14:32, Richard B=
arnes wrote:<br></div><blockquote type=3D"cite" id=3D"qt-qt" style=3D"">=
<div dir=3D"ltr"><div>Thanks for raising this, Hubert, I agree that it's=
 ambiguous in the&nbsp; current text, but I think there is a solution he=
re that we just need to clarify :)&nbsp; Basically, I think the "provisi=
onal" GroupContext morphs into the "new" GroupContext over the course of=
 generating / applying a commit.&nbsp; Let me try to articulate my theor=
y of how things work here, then if that makes sense, we can try to turn =
it into spec text.<br></div><div><br></div><div>The joiner side seems un=
ambiguous.&nbsp; The joiner gets the GroupContext for the epoch in which=
 they're added -- in fact, the GroupInfo carried in a Welcome is basical=
ly just a signed GroupContext.<br></div><div><br></div><div>When creatin=
g / verifying a Commit, you need a GroupContext at three points:<br></di=
v><div>1. When you encap/decap the UpdatePath<br></div><div>2. When you =
ratchet forward the key schedule<br></div><div>3. When you sign the MLSP=
laintext of the Commit<br></div><div><br></div><div>All three of these n=
eed to be different:<br></div><div>* Case (3) uses the GroupContext from=
 the old epoch, i.e., the one that corresponds to MLSPlaintext.epoch, so=
 that recipients can verify the signature before processing the message<=
br></div><div>* Case (2) uses the GroupContext for the new epoch, after =
the proposals and UpdatePath have been applied, so that joiners can comp=
ute the epoch_secret<br></div><div>* Case (1) uses a "provisional" Group=
Context that&nbsp; captures the state of the tree at the time the Update=
Path is computed:<br></div><div>&nbsp;&nbsp;&nbsp; * epoch =3D old_group=
_context.epoch + 1<br></div><div>&nbsp;&nbsp;&nbsp; * tree_hash reflects=
 the tree with proposals applied<br></div><div>&nbsp;&nbsp;&nbsp; * grou=
p_id, confirmed_transcript_hash, and extensions stay the same<br></div><=
div><br></div><div>Looking at this in chronological order for the Commit=
 generator:<br></div><div>* Cache the old GroupContext for use in signin=
g later<br></div><div>* Apply proposals to the tree<br></div><div>&nbsp;=
&nbsp;&nbsp; =3D&gt; provisional GroupContext<br></div><div>&nbsp;&nbsp;=
&nbsp; =3D&gt; compute UpdatePath using provisional GroupContext<br></di=
v><div>* Sign Commit using old GroupContext <br></div><div>&nbsp;&nbsp;&=
nbsp; =3D&gt; update confirmed_transcript_hash<br></div><div>&nbsp;&nbsp=
;&nbsp; =3D&gt; new GroupContext<br></div><div>&nbsp;&nbsp;&nbsp; =3D&gt=
; epoch_secret<br></div><div>&nbsp;&nbsp;&nbsp; =3D&gt; confirmation_tag=
<br></div><div><br></div><div>Does that make sense to you?<br></div><div=
><br></div><div>--RLB<br></div><div><br></div></div><div><br></div><div =
class=3D"qt-qt-gmail_quote"><div dir=3D"ltr" class=3D"qt-qt-gmail_attr">=
On Tue, Feb 9, 2021 at 6:46 PM Hubert Chathi &lt;<a href=3D"mailto:huber=
tc@matrix.org">hubertc@matrix.org</a>&gt; wrote:<br></div><blockquote cl=
ass=3D"qt-qt-gmail_quote" style=3D"margin-top:0px;margin-right:0px;margi=
n-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);bord=
er-left-style:solid;border-left-width:1px;padding-left:1ex;"><div>On Tue=
, 9 Feb 2021, at 04:56, Raphael Robert wrote:<br></div><div>&gt; I think=
 =E2=80=9Cnew GroupContext=E2=80=9D and =E2=80=9Cprovisional GroupContex=
t=E2=80=9D are synonyms.<br></div><div><br></div><div>I'm not so sure ab=
out this.&nbsp; The "provisional GroupContext" is created after applying=
 the proposals (line 2532), but before the UpdatePath is applied to the =
tree (line 2559).&nbsp; Whereas, from what I understand, new members are=
 only given the tree after the UpdatePath is applied, which would give a=
 different tree_hash and hence GroupContext.&nbsp; I don't know if I'm j=
ust misunderstanding something.<br></div><div><br></div><div>&gt; Creati=
ng the Commit:<br></div><div>&gt;&nbsp; - Use the confirmed transcript h=
ash (old intermediate transcript hash <br></div><div>&gt; combined with =
new commit content from current MLSPlaintext)<br></div><div>&gt;&nbsp; -=
 Create new provisional GroupContext with new provisional epoch (old <br=
></div><div>&gt; epoch&nbsp; + 1), new tree hash (after proposals were a=
pplied to old tree) <br></div><div>&gt; and confirmed transcript hash fr=
om above<br></div><div>&gt; <br></div><div>&gt; Applying a Commit as an =
existing member:<br></div><div>&gt;&nbsp; - Same as creating a Commit<br=
></div><div>&gt; <br></div><div>&gt; Joining a group from a Welcome mess=
age:<br></div><div>&gt; - Create GroupContext with epoch from GroupInfo,=
 tree hash from <br></div><div>&gt; GroupInfo and confirmed transcript h=
ash from GroupInfo<br></div><div>&gt; <br></div><div>&gt; Does that answ=
er the question?<br></div><div>&gt; <br></div><div>&gt; If you think the=
 spec is wrong/confusing feel free to file a PR.<br></div><div><br></div=
><div>Yes, once I manage to understand what's going on, I plan on filing=
 a PR.<br></div><div><br></div><div>&gt; <br></div><div>&gt; Raphael<br>=
</div><div>&gt; <br></div><div>&gt; &gt; On 9. Feb 2021, at 00:45, Huber=
t Chathi &lt;<a href=3D"mailto:hubertc@matrix.org" target=3D"_blank">hub=
ertc@matrix.org</a>&gt; wrote:<br></div><div>&gt; &gt; <br></div><div>&g=
t; &gt; When deriving the epoch secret, you do "ExpandWithLabel(., "epoc=
h", GroupContext_[n], KDF.Nh)", so you need a GroupContext.&nbsp; As far=
 as I can tell, there appears to be a contradiction about which GroupCon=
text to use: in the "Key Schedule" section (Line 1404), it says to use "=
The GroupContext object for current epoch", but in the "Commit" section =
under the part talking about a group member who applies a Commit message=
 (Line 2660), it says to use the provisional GroupContext.&nbsp; (The pa=
rt talking about the group member who creates the Commit message doesn't=
 say which GroupContext to use.)&nbsp; If we are supposed to use the "ne=
w" GroupContext (after applying both the proposals and the update), but =
if we are supposed to use the provisional GroupContext, then I don't thi=
nk that a new member has access to the tree_hash or confirmed_transcript=
_hash to create the GroupContext needed to derive the epoch secret.&nbsp=
; So it seems like the "new" GroupContext should be correct, but Line 26=
60 is pretty expli<br></div><div>&gt; &gt; cit about using the provision=
al GroupContext.<br></div><div>&gt; &gt; <br></div><div>&gt; &gt; ______=
_________________________________________<br></div><div>&gt; &gt; MLS ma=
iling list<br></div><div>&gt; &gt; <a href=3D"mailto:MLS@ietf.org" targe=
t=3D"_blank">MLS@ietf.org</a><br></div><div>&gt; &gt; <a href=3D"https:/=
/www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" target=3D"_blank"=
>https://www.ietf.org/mailman/listinfo/mls</a><br></div><div>&gt; <br></=
div><div>&gt; _______________________________________________<br></div><=
div>&gt; MLS mailing list<br></div><div>&gt; <a href=3D"mailto:MLS@ietf.=
org" target=3D"_blank">MLS@ietf.org</a><br></div><div>&gt; <a href=3D"ht=
tps://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" target=3D"_b=
lank">https://www.ietf.org/mailman/listinfo/mls</a><br></div><div>&gt;<b=
r></div><div><br></div><div>____________________________________________=
___<br></div><div>MLS mailing list<br></div><div><a href=3D"mailto:MLS@i=
etf.org" target=3D"_blank">MLS@ietf.org</a><br></div><div><a href=3D"htt=
ps://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" target=3D"_bl=
ank">https://www.ietf.org/mailman/listinfo/mls</a><br></div></blockquote=
></div></blockquote><div><br></div><div>________________________________=
_______________<br></div><div>MLS mailing list<br></div><div><a href=3D"=
mailto:MLS%40ietf.org">MLS@ietf.org</a><br></div><div><a href=3D"https:/=
/www.ietf.org/mailman/listinfo/mls">https://www.ietf.org/mailman/listinf=
o/mls</a><br></div><div><br></div></blockquote><div><br></div></body></h=
tml>
--c63274b97f114c96a11d2501e7dfcc0f--


From nobody Sat Mar 20 18:51:33 2021
Return-Path: <sean@sn3rd.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 440FB3A1187 for <mls@ietfa.amsl.com>; Sat, 20 Mar 2021 18:51:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level: 
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 (1024-bit key) header.d=sn3rd.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 OlsWWnyBeT1V for <mls@ietfa.amsl.com>; Sat, 20 Mar 2021 18:51:27 -0700 (PDT)
Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 B94473A1185 for <mls@ietf.org>; Sat, 20 Mar 2021 18:51:27 -0700 (PDT)
Received: by mail-qt1-x834.google.com with SMTP id s2so9835161qtx.10 for <mls@ietf.org>; Sat, 20 Mar 2021 18:51:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=vLJD4eQ/0WhC5UA+d3szqS3ZbSgX1dYsVtPcxQRDmzc=; b=VGcpNaLj741caAlJ/zjEt2WCEBDcW5hDfK/R8cW5nR/82uHJ8EzeFFAS6khzZtC+wH 0IgVi4J/q8e7nrcAsuYZuigxd+dEH6CcQzGxoCi+xjgbKEd5YR0mslSwvIrOCX03HAAT dNhQMcGcAbPQv7xNV0rJ5ugkOR7Du3eaDX6S0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=vLJD4eQ/0WhC5UA+d3szqS3ZbSgX1dYsVtPcxQRDmzc=; b=jqSrGb+yTa0neKDvU/PcU7FVGoPbi2+vhMmgRsHRGziYcyF2GkjUclSNEmcm8jBxYr gcwsw2O11t1SPPFb1UUpjPNLY3roHymOinGHNfP6EkrvxaHRV/2WneLMeHM8R2JexgcE nfxet+xxHKmnpYg4UZPIU/lQK0UorZexsRq5MQtlLV6FIzymNOIl4jdvou0eSXXVEwzg gCt5KMwt/ODl1gFxiWt5iHLUMbyGnFG8Y/vNbvKfYrsmvIWm9aRHTpv48jJUcFvV/bWK YOkj5vZjmCLskm/RyrB4AR0bAyfqU0mDZ0Ck3WtT0GZIVzq3bonxMGfhtRL2d01JLY3r FEcg==
X-Gm-Message-State: AOAM531yGBhDXKTTw5NUec6bvGS1xeHSDFfK5fgz0wzUqIT5Ic2VaOAM lZC21t5Ddadd50VGd9D3lJ5mFO+X2sdhFw==
X-Google-Smtp-Source: ABdhPJyb9B8Is/Pj2YZIsB12/KLgcL2bWPlOvVXtwJVAQcySmPrXr8Yy2gbyCW/cwK+cObE+GEGd9A==
X-Received: by 2002:ac8:6b57:: with SMTP id x23mr4563440qts.278.1616291484186;  Sat, 20 Mar 2021 18:51:24 -0700 (PDT)
Received: from [192.168.1.152] (pool-71-178-177-131.washdc.fios.verizon.net. [71.178.177.131]) by smtp.gmail.com with ESMTPSA id r35sm5053933qtd.95.2021.03.20.18.51.23 for <mls@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Mar 2021 18:51:23 -0700 (PDT)
From: Sean Turner <sean@sn3rd.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Message-Id: <4FE511D0-EC69-41E5-B9A3-FEBE2197C1BE@sn3rd.com>
Date: Sat, 20 Mar 2021 21:51:22 -0400
To: MLS List <mls@ietf.org>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/q6ImyKowmpukvQJLNAtWYp3rjcM>
Subject: [MLS] mls@ietf110: minutes posted
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2021 01:51:32 -0000

Hi! I have posted the minutes from MLS's session at IETF110:
https://datatracker.ietf.org/meeting/110/materials/minutes-110-rtcweb-00

Please send any comments to mls-chairs@ietf.org.

spt


From nobody Sun Mar 21 00:46:15 2021
Return-Path: <do_not_reply@mnot.net>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4C6D3A1874 for <mls@ietfa.amsl.com>; Sun, 21 Mar 2021 00:46:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level: 
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=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=mnot.net header.b=sG/lZe71; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=gq9EAK9p
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 bGJXZta9GXKZ for <mls@ietfa.amsl.com>; Sun, 21 Mar 2021 00:46:08 -0700 (PDT)
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6046E3A1873 for <mls@ietf.org>; Sun, 21 Mar 2021 00:46:08 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 966CD16FB for <mls@ietf.org>; Sun, 21 Mar 2021 03:38:50 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 21 Mar 2021 03:38:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject:message-id:date; s= fm2; bh=HS+aws0twDOnok0M0WvjM+rPSuL/855yHT2Jun7C5os=; b=sG/lZe71 WObD2zn+x2gk15aRpD7MIq6fu/SWinjyjGa6HHagw6mUekq/YrezjO79HfxqHXa7 MgosgAzSgR/frjtLjptj7q8jn25GIB0uyuTqdFigyW6w3VnG5EViT3+25wgCR0z/ Xb8KVda1zEi0Rl9ejytaDz485WQa1k+4z78w8o39u7KJpjB7vqzpnuy0FLlzfDKp f2oEOd3EwMkvfyELULTtuCs62xRU27VzLP/Xl5Hbuitp3WhYWma/0lFBijbFolHJ qNotssesDQme5Y9Yc56Iv7NnmVwzfGZLpAadYi8mzfVueFNCs0d2mxN8uVrJeAR1 BV4pqmtPXDPxKQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=HS+aws0twDOnok0M0WvjM+rPSuL/8 55yHT2Jun7C5os=; b=gq9EAK9pcSs+mvuYC4hPEPglVs1iTB1ifgCmyHOK+kaCI yDf7gHRlJT4YI2Bb0q2hnCOq0LmWkri34/4wzD2urjF3ypG3q7vo8fQxvxs8QPjO Us/TETvTfpLLXH5yZUhFBh9Erw4yrd1cQFAY2TBlRxYOcHzZ6PbLDFy39ZNj4dwK EK7MPoO4ZEdqMpjZMf1v3/dioWJC0LtfZJn+ScRW53MHUJXg08kuJC1/oOCKSw5k WoT/++iINrsYxNOP3b3iX4P377bTqNvJgLWONDJhwvFDyCGYLA5SZ+4qe1bzoDrd m5dfYXOdxURc38mVPt9TSus/p11S9/vpnUtrvRgyw==
X-ME-Sender: <xms:CvhWYGqhfZ6skS50ieA2niUhILMNOqU53Le8yV0NezGla1BDfxoZtw> <xme:CvhWYEoSMVxAQqSKLJWpcaTdcGmFPk_HDQLDkMU7jHZlkyQ9Pu4yMastdtL4zYdh5 l-OVnqzHuF3C3-0SQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeguddgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurheptggghffvufesrgdttdertddtje enucfhrhhomheptfgvphhoshhithhorhihucettghtihhvihhthicuufhumhhmrghrhicu uehothcuoeguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpeekfedvudetjedvfeekheeiveeugfefhfetteevgeffkefffeetffdvleehudei teenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeehvddrvdehuddruddvtd drudehleenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepmhgrihhlfhhrohhm peguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:CvhWYLOd61aM48lCXKTtebTdRGNPq_9FeEMFXrSFbe2s9sVPhcPO3Q> <xmx:CvhWYF5j6JHMvDZzOJ6CJ8RG7DHB43xxSf8DbSkRy0-slHpfzhzhkg> <xmx:CvhWYF6HJESPc3cY3AFcRpy0-QUg9RdYqeaAhr6FZuye2x5x770mZQ> <xmx:CvhWYHQ8mf4OuSdQHC70ErNMhpkVfvhGlEVBE3PtXCebQtbmHasOfA>
Received: from fv-az194-582.internal.cloudapp.net (unknown [52.251.120.159]) by mail.messagingengine.com (Postfix) with ESMTPA id 1615C1080057 for <mls@ietf.org>; Sun, 21 Mar 2021 03:38:50 -0400 (EDT)
Content-Type: multipart/alternative; boundary="===============3250321824768831885=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: mls@ietf.org
Message-Id: <20210321073850.1615C1080057@mailuser.nyi.internal>
Date: Sun, 21 Mar 2021 03:38:50 -0400 (EDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/ho9dDJ4fdQBiE6TwotVuLaI_3hM>
Subject: [MLS] Weekly github digest (MLS Working Group summary)
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2021 07:46:13 -0000

--===============3250321824768831885==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"






Pull requests
-------------
* mlswg/mls-protocol (+1/-0/=F0=9F=92=AC0)
  1 pull requests submitted:
  - Minor fixes to message formats (by bifurcation)
    https://github.com/mlswg/mls-protocol/pull/466=20


Repositories tracked by this digest:
-----------------------------------
* https://github.com/mlswg/mls-architecture
* https://github.com/mlswg/mls-protocol
* https://github.com/mlswg/mls-federation

--===============3250321824768831885==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (MLS Working Group summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday March 21, 2021</h1>




<h2>Pull requests</h2>
<h3>mlswg/mls-protocol (+1/-0/=F0=9F=92=AC0)</h3>
  <p class=3D"new">1 pull requests submitted:</p>
  <ul>
  <li>#466 <a href=3D"https://github.com/mlswg/mls-protocol/pull/466">Minor=
 fixes to message formats</a> (by bifurcation) </li>
  </ul>




<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/mlswg/mls-architecture">https://github.=
com/mlswg/mls-architecture</a></li>
  <li><a href=3D"https://github.com/mlswg/mls-protocol">https://github.com/=
mlswg/mls-protocol</a></li>
  <li><a href=3D"https://github.com/mlswg/mls-federation">https://github.co=
m/mlswg/mls-federation</a></li>
  </ul>
</body>
</html>

--===============3250321824768831885==--


From nobody Sun Mar 21 08:20:54 2021
Return-Path: <sean@sn3rd.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 40D463A0D25 for <mls@ietfa.amsl.com>; Sun, 21 Mar 2021 08:20:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level: 
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 (1024-bit key) header.d=sn3rd.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 axWnRsGIAU1M for <mls@ietfa.amsl.com>; Sun, 21 Mar 2021 08:20:48 -0700 (PDT)
Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (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 B8DD83A0D20 for <mls@ietf.org>; Sun, 21 Mar 2021 08:20:48 -0700 (PDT)
Received: by mail-qv1-xf35.google.com with SMTP id cx5so7467487qvb.10 for <mls@ietf.org>; Sun, 21 Mar 2021 08:20:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=n8hEeobnBqiI1nqOzy5eYmHpSnqzyRmcyl0y5TenqwU=; b=Z1U9btMekyGcIMM1klJppDTaeeJ/84I1VsnKDkpdZVww+GAKnt6as7hwtPI/bnYS2c aa1ZAIYjEE4EeEf6u/mDkDejzq7XEr/gu55UTaMNHZsSY5uzGXbrlrh5KvHR1jy6G9a0 VVimtvHpjxd2IoQLRsIZFGlBiglbhRMHyTWfs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=n8hEeobnBqiI1nqOzy5eYmHpSnqzyRmcyl0y5TenqwU=; b=HgcmfUNGJs6n7w98weIU8iHs2Ul6Ai3Gb9+JEb1KuVsroUorWgr7WGWB2jLSCOC5eV DQRh7/IdJrqZLdrVQkxbMeI+PeUJT4+vC5DuGPYzuwGhWagjHKB47loK8D7x99jhgWF4 vOajylvjKCpCRaUlBSILtBwbktDKbJS/vk0UP1RX5mTJ6GhHq3gMte37zeCn37GR5+11 SAeoER9wlX2xSZNuMpdlLLzXQz4uqWmAWyN3eEvk6JhQzZ1S15kxg9hXqPznodxzkVZs 6MggDiGRYkC4DzNvzxR4Y+rrHlhzjo9F0Vb6bzhFV36PTimJ+xBENZZo3nWgsGdINvMR U7kQ==
X-Gm-Message-State: AOAM5311iHTQY8gkU6o21Rv6aX8EzQH+pOeETFNzyg9VzDEiUg38nujS YF9HjJvk9kkyHgkCQA9DuHU/YI6ot+ur2Q==
X-Google-Smtp-Source: ABdhPJwrfqmGbnskcY33b9rc4CFGPVfKsD5PAFfVBgwpDn38jvtmeiwR0ILC3oRZScVvzj5wyUB7CA==
X-Received: by 2002:ad4:4f28:: with SMTP id fc8mr17899132qvb.10.1616340046943;  Sun, 21 Mar 2021 08:20:46 -0700 (PDT)
Received: from [192.168.1.152] (pool-71-178-177-131.washdc.fios.verizon.net. [71.178.177.131]) by smtp.gmail.com with ESMTPSA id p7sm8903538qkc.75.2021.03.21.08.20.46 for <mls@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Mar 2021 08:20:46 -0700 (PDT)
From: Sean Turner <sean@sn3rd.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Sun, 21 Mar 2021 11:20:45 -0400
References: <4FE511D0-EC69-41E5-B9A3-FEBE2197C1BE@sn3rd.com>
To: MLS List <mls@ietf.org>
In-Reply-To: <4FE511D0-EC69-41E5-B9A3-FEBE2197C1BE@sn3rd.com>
Message-Id: <2BA99A26-FBC7-4BD3-B166-52BF25A29582@sn3rd.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/gNeZY6Vt1DaM7DOd4qcsrTOcvc4>
Subject: Re: [MLS] mls@ietf110: minutes posted
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2021 15:20:54 -0000

People do read the minutes!

I have uploaded a revision to correct that Benjamin is going to reach =
out to Konrad and Brendan for sections in the Architecture I-D.

spt

> On Mar 20, 2021, at 21:51, Sean Turner <sean@sn3rd.com> wrote:
>=20
> Hi! I have posted the minutes from MLS's session at IETF110:
> =
https://datatracker.ietf.org/meeting/110/materials/minutes-110-rtcweb-00
>=20
> Please send any comments to mls-chairs@ietf.org.
>=20
> spt


From nobody Sun Mar 21 09:07:20 2021
Return-Path: <benjamin.beurdouche@inria.fr>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 984E33A0E98 for <mls@ietfa.amsl.com>; Sun, 21 Mar 2021 09:07:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.003
X-Spam-Level: 
X-Spam-Status: No, score=0.003 tagged_above=-999 required=5 tests=[RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 1jAan0FDWDSB for <mls@ietfa.amsl.com>; Sun, 21 Mar 2021 09:07:13 -0700 (PDT)
Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 48A6E3A0E97 for <mls@ietf.org>; Sun, 21 Mar 2021 09:07:12 -0700 (PDT)
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AQUcx4K7om1l5RdfHxwPXwFbXdLJzesId70hD?= =?us-ascii?q?6mlaQ3VuA6+lvuqpm+kW0gKxtS0YX2sulcvFFK6LR37d8pAd2+MsFJ2lWxTrv3?= =?us-ascii?q?btEZF64eLZqAHINiXi+odmu5tIXLN5DLTLYGRSrcG/2wWgFsZl/d/vytHLuc77?= =?us-ascii?q?w212RQ9nL4Fshj0ZNi++Ekl7ADZLHoA4Ep303KZ6jgGtc3gWcci3b0NtN9TrnN?= =?us-ascii?q?HFmInrZhQLHXcciDWmty+i67LxDnGjsSs2bjUn+8ZGzUH11yjw5qCuqJiAu3vh?= =?us-ascii?q?61M=3D?=
X-IronPort-AV: E=Sophos;i="5.81,266,1610406000"; d="scan'208";a="376379856"
Received: from 37-171-31-235.coucou-networks.fr (HELO [10.30.95.235]) ([37.171.31.235]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 21 Mar 2021 17:06:49 +0100
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
From: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
Mime-Version: 1.0 (1.0)
Date: Sun, 21 Mar 2021 17:06:48 +0100
Message-Id: <A7C2ECBB-B3C3-4B51-90F5-A32E07F25358@inria.fr>
References: <2BA99A26-FBC7-4BD3-B166-52BF25A29582@sn3rd.com>
Cc: MLS List <mls@ietf.org>
In-Reply-To: <2BA99A26-FBC7-4BD3-B166-52BF25A29582@sn3rd.com>
To: Sean Turner <sean@sn3rd.com>
X-Mailer: iPhone Mail (18D52)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/8DsbFTmYIBvLe6vtEs2pVsesQ-c>
Subject: Re: [MLS] mls@ietf110: minutes posted
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2021 16:07:19 -0000

Thanks Sean.
Karthik and I picked up sec analysis. We might have something by the next in=
terim if not too early in April...
B.

> On Mar 21, 2021, at 4:21 PM, Sean Turner <sean@sn3rd.com> wrote:
>=20
> =EF=BB=BFPeople do read the minutes!
>=20
> I have uploaded a revision to correct that Benjamin is going to reach out t=
o Konrad and Brendan for sections in the Architecture I-D.
>=20
> spt
>=20
>> On Mar 20, 2021, at 21:51, Sean Turner <sean@sn3rd.com> wrote:
>>=20
>> Hi! I have posted the minutes from MLS's session at IETF110:
>> https://datatracker.ietf.org/meeting/110/materials/minutes-110-rtcweb-00
>>=20
>> Please send any comments to mls-chairs@ietf.org.
>>=20
>> spt
>=20
> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls


From nobody Sun Mar 21 16:45:43 2021
Return-Path: <sean@sn3rd.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE4C03A0B58 for <mls@ietfa.amsl.com>; Sun, 21 Mar 2021 16:45:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level: 
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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 (1024-bit key) header.d=sn3rd.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 H-108GekyniM for <mls@ietfa.amsl.com>; Sun, 21 Mar 2021 16:45:37 -0700 (PDT)
Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 1DE553A0B54 for <mls@ietf.org>; Sun, 21 Mar 2021 16:45:37 -0700 (PDT)
Received: by mail-qk1-x735.google.com with SMTP id q3so8907282qkq.12 for <mls@ietf.org>; Sun, 21 Mar 2021 16:45:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sn3rd.com; s=google; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=qgFSqaiFVnOMoBXVVsTSOQdIQVtRaBbJtxaa37eY7Uw=; b=JnFo+8efbzUdCykeOiNhE2M87Lqv+vAhdjk+g0vuFHLBMp99T3QO3aSji+Arwro/hQ Cv0asJaSMTmUYT7wG48RmyrOKva4tdptOFwMp1dTkCFGJgNJqUqRF4VE1Htbk2SdD/Au uwxPalkhfKUhAOp1/5YDw0wuNGa94/4vl7Zs8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=qgFSqaiFVnOMoBXVVsTSOQdIQVtRaBbJtxaa37eY7Uw=; b=Eae0g4gjm4apgH1cI3KyLorLXsi04iTWUebNIEG35ekGq1Uc80Va5Ooj+dzFXGTTdU l2OrJ5zw+ETopnXuquAMXKvQId1WTr9OuXpZpf7nXQ5s8USq5I7VF/eWgQbGXpdhNpYn pNhpi0F9Q5I3uk97CP1R8MNn48cbMUzYxLZeSVVre6Gwae0X6EzrJNRkRguGvZgJ1eOu IrciZpnerRldF7I272bTn8CImXSlCRLvDxvYqGhLLvNUy0DMVT2T7GSFWknpGPnFg+TN 1okIGWIGeeoavN70Wax/vTJzFRFRVnzXXVCQ7B9ZX/Jgo6FinItPf7HJCPZb0ECxvolA kciQ==
X-Gm-Message-State: AOAM530mxNXQSUjYerRzjldQDaPsq2SY6dI91DN9yBAQDTdEeJxtpXyE /LZCikirZpbNneaO/i0xHmGBKvxZce5kWg==
X-Google-Smtp-Source: ABdhPJz8JcAVnpSAjV7dP3sx/HU3ShQpTLyLfdbU24mIM1Pc7cVVvD1+/WeVfjDJKMxXpSV8QQmBZA==
X-Received: by 2002:a37:e4e:: with SMTP id 75mr8613762qko.54.1616370334583; Sun, 21 Mar 2021 16:45:34 -0700 (PDT)
Received: from [192.168.1.152] (pool-71-178-177-131.washdc.fios.verizon.net. [71.178.177.131]) by smtp.gmail.com with ESMTPSA id p7sm9659066qkc.75.2021.03.21.16.45.33 for <mls@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Mar 2021 16:45:33 -0700 (PDT)
From: Sean Turner <sean@sn3rd.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Sun, 21 Mar 2021 19:45:31 -0400
References: <4FE511D0-EC69-41E5-B9A3-FEBE2197C1BE@sn3rd.com>
To: MLS List <mls@ietf.org>
In-Reply-To: <4FE511D0-EC69-41E5-B9A3-FEBE2197C1BE@sn3rd.com>
Message-Id: <6CD1A121-8C51-40C1-B389-2482DBAF7F79@sn3rd.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/dWRQajpuJTFJeCG7xNFqUga5BCA>
Subject: Re: [MLS] mls@ietf110: minutes posted
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Mar 2021 23:45:42 -0000

Corrected link:

> On Mar 20, 2021, at 21:51, Sean Turner <sean@sn3rd.com> wrote:
> 
> Hi! I have posted the minutes from MLS's session at IETF110:

https://datatracker.ietf.org/doc/minutes-110-mls/

> Please send any comments to mls-chairs@ietf.org.
> 
> spt


From nobody Sun Mar 28 00:51:51 2021
Return-Path: <do_not_reply@mnot.net>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 25B3C3A1069 for <mls@ietfa.amsl.com>; Sun, 28 Mar 2021 00:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.797
X-Spam-Level: 
X-Spam-Status: No, score=-2.797 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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=mnot.net header.b=kW1kIa8k; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Y6uqJKEj
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 4uDgg6ohwRcF for <mls@ietfa.amsl.com>; Sun, 28 Mar 2021 00:51:44 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 47BDF3A1064 for <mls@ietf.org>; Sun, 28 Mar 2021 00:51:44 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E3AAB5C0078 for <mls@ietf.org>; Sun, 28 Mar 2021 03:42:25 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 28 Mar 2021 03:42:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject:message-id:date; s= fm2; bh=+fFjaYuEXUKfIps4U7Y9Xf0Qv5LncPqZtq/rhKeFY/o=; b=kW1kIa8k TbfkJiaX5ulfWJm2GpKvE1CMRmCG+JfxdvpUZjZCI6W/rvRQ9gm8B/39/3oRgmxB 9AByMZlXRNnk8VwkBpQui0QCX5gWvQ3a+StOBTy3EUi25zI92ae5E9gMEFb7V80+ mXljqeWcu+9Hvor1LnUldW8FwA3R1bs/UdzePqwyZK8UbD5wQ7MMENuSt2bZf5+T Whk0UX37LbgwVuVbgLZtn1TYO+Kvt4xO+GeJMetN6CES4zJdTB/WJiPFoYVzLl2p MXrxo+LMjFZNLsFZ6yIwT3yfFxsOvq7+Y4evnM8jMJqzTtI/jLSmgxqRsNB0BhG0 yqlHKA0zFL1l6A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=+fFjaYuEXUKfIps4U7Y9Xf0Qv5Lnc PqZtq/rhKeFY/o=; b=Y6uqJKEjFURs0Bf02wB3HVdVql5ATIK9NCfa5dZXdukfF ygfyToeV9kwnKOoS/qP+wcXqbN7MwFJUxoAcsq7YmvazlrxG/aWI7cmYCM9T2s5K zbPQjiW3RHr2GGUbZEjXSJxekgrPbLMWGIo3jQMzFxSQqyrdpzeX2LGml4jcRznh T6wGzQciOJfcTzASDDsGOpvp5mPWPWSXDR6bY3UFA/cTMFXbNuaS4JhaGwYP/iJO eCXWCu7/1SWRuWvFxSdxMPUorOQb5Y7LcJqr3gGMse5N6LNBBof0wOWB8V4s2mKA d9cnCu9LGwpdKNYa0rS097GULGsk18agvHzPkKXTQ==
X-ME-Sender: <xms:YTNgYLW8ZOGQjFS0qbUJCwS1W8YXoPvO8b0ziNC4ipMofZC_s8PB6g> <xme:YTNgYDkTQa6gCVJmgQlu5hYdXkJZxUC1gXCHBvctQL0ng8kM-2A3uayjm17lVhZ2f KKpXkpA4dQBuZatVA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehhedguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurheptggghffvufesrgdttdertddtje enucfhrhhomheptfgvphhoshhithhorhihucettghtihhvihhthicuufhumhhmrghrhicu uehothcuoeguohgpnhhothgprhgvphhlhiesmhhnohhtrdhnvghtqeenucggtffrrghtth gvrhhnpeekfedvudetjedvfeekheeiveeugfefhfetteevgeffkefffeetffdvleehudei teenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeehvddrudeijedrudeivd drjeefnecuvehluhhsthgvrhfuihiivgepfeenucfrrghrrghmpehmrghilhhfrhhomhep ughopghnohhtpghrvghplhihsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:YTNgYHa95sae_H1NvPIgMAryvx9_czehHx11Uk7keUuw_IITZfPTqA> <xmx:YTNgYGUbIkBjji5vWTG4ReClopM3KqgT9rBDm4HfWz3v2aFNe2pZQw> <xmx:YTNgYFksggZAztSuTpJQWx5n2qTFJuKKOAq5KDLxWwSiY-CAsOtyxQ> <xmx:YTNgYFtOWT-pLKPyW77pI7VFE2pbz4SjDAgWFhb2kTA4AnTOUVCQNA>
Received: from fv-az186-764.internal.cloudapp.net (unknown [52.167.162.73]) by mail.messagingengine.com (Postfix) with ESMTPA id BCC3924005A for <mls@ietf.org>; Sun, 28 Mar 2021 03:42:25 -0400 (EDT)
Content-Type: multipart/alternative; boundary="===============5395791844205035587=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: mls@ietf.org
Message-Id: <20210328074225.BCC3924005A@mailuser.nyi.internal>
Date: Sun, 28 Mar 2021 03:42:25 -0400 (EDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/3WVNKFmo3jEH6japbqM2hwRdHeM>
Subject: [MLS] Weekly github digest (MLS Working Group summary)
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 28 Mar 2021 07:51:49 -0000

--===============5395791844205035587==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"






Pull requests
-------------
* mlswg/mls-protocol (+0/-0/=F0=9F=92=AC1)
  1 pull requests received 1 new comments:
  - #454 more editorial changes (1 by uhoreg)
    https://github.com/mlswg/mls-protocol/pull/454=20


Repositories tracked by this digest:
-----------------------------------
* https://github.com/mlswg/mls-architecture
* https://github.com/mlswg/mls-protocol
* https://github.com/mlswg/mls-federation

--===============5395791844205035587==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (MLS Working Group summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday March 28, 2021</h1>




<h2>Pull requests</h2>
<h3>mlswg/mls-protocol (+0/-0/=F0=9F=92=AC1)</h3>

  <p>1 pull requests received 1 new comments:</p>
  <ul>
  <li>#454 <a href=3D"https://github.com/mlswg/mls-protocol/pull/454">more =
editorial changes</a> (1 by uhoreg) </li>
  </ul>



<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/mlswg/mls-architecture">https://github.=
com/mlswg/mls-architecture</a></li>
  <li><a href=3D"https://github.com/mlswg/mls-protocol">https://github.com/=
mlswg/mls-protocol</a></li>
  <li><a href=3D"https://github.com/mlswg/mls-federation">https://github.co=
m/mlswg/mls-federation</a></li>
  </ul>
</body>
</html>

--===============5395791844205035587==--


From nobody Tue Mar 30 00:27:51 2021
Return-Path: <konrad.kohbrok@datashrine.de>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B1103A14CF for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 00:27:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.917
X-Spam-Level: 
X-Spam-Status: No, score=-1.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 iqCHOxZMkM_o for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 00:27:45 -0700 (PDT)
Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6447E3A1417 for <mls@ietf.org>; Tue, 30 Mar 2021 00:27:44 -0700 (PDT)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4F8gyK6HhlzQjmc for <mls@ietf.org>; Tue, 30 Mar 2021 09:27:37 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id BWzticxgs5rH for <mls@ietf.org>; Tue, 30 Mar 2021 09:27:31 +0200 (CEST)
Date: Tue, 30 Mar 2021 09:27:31 +0200 (CEST)
From: Konrad Kohbrok <konrad.kohbrok@datashrine.de>
To: "mls@ietf.org" <mls@ietf.org>
Message-ID: <1529628012.30519.1617089251424@office.mailbox.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Normal
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -0.65 / 15.00 / 15.00
X-Rspamd-Queue-Id: 97AFE1846
X-Rspamd-UID: 2a2fc3
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/WedE9-3Oak4PCMke3kqxNdAn98o>
Subject: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2021 07:27:50 -0000

Hi everyone,

MLS is a protocol that is very vulnerable to individual parties with bad ra=
ndomness. For example, when a party joins a group, the secrecy of the group=
's key material relies on the quality of that party's key material. Similar=
ly, when doing an external join, the groups entropy is completely replaced =
by that of the joining member.

There are multiple ways to mitigate this threat and Jo=C3=ABl and Sandro pr=
oposed a few of them in the following mail to the list: https://mailarchive=
.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/

Concretely, there were two approaches: one that would be baked into the pro=
tocol (essentially using a secret derived from old path secrets to inject i=
nto new ones in addition to the current approach) and one that would mandat=
e the use of an entropy pool.

The ideas were discussed a bit at the time, but nothing has happened since =
then. Jo=C3=ABl, Sandro and I have just opened a PR with a concrete design =
for an entropy pool that is modeled after the key schedule (https://github.=
com/mlswg/mls-protocol/pull/467). Concretely, it allows gathering entropy o=
ver time and for parties with a bad entropy source to profit from parties w=
ith a good one without compromising security.

While for future iterations of MLS, we might want to consider a solution th=
at is more integral to the protocol, we are aware that the authors want to =
avoid breaking changes at this point. With the entropy pool, we thus propos=
e a solution that does not affect the protocol flow, but that still offers =
significant advantages over no mitigations at all.

Cheers,
Konrad


From nobody Tue Mar 30 00:53:42 2021
Return-Path: <benjamin.beurdouche@inria.fr>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6775E3A2A90 for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 00:53:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 xuBBFWACSpGU for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 00:53:31 -0700 (PDT)
Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61DDC3A2A59 for <mls@ietf.org>; Tue, 30 Mar 2021 00:53:29 -0700 (PDT)
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3Agmnoz6tVrQecAmukkEdFUwnv7skCvYQji2hD?= =?us-ascii?q?6mlwRA09T+Wxncqjhele8BfyhioYVn1Io6HlBICrR3TA+ZlppawYOrm/VAfr0V?= =?us-ascii?q?HYS71Kx43k3jHmBmnC7eZbz6htaOxTD9f3AFh8g6/BkX6FOvwnx8SK973tuPfG?= =?us-ascii?q?wx5WPHVXQoxp8gsRMGamO2JsQg0uP/cEPbqaovFKvj+xPUkQB/7LY0Ute8jmi5?= =?us-ascii?q?n1mIn9YRgAbiRXnjWmqT+z8rb1H1y5834lIlBy6Iwv+2TEjAD1j5/L25rQ9jbm?= =?us-ascii?q?22De9JhQktf6o+EzZvCksNQfKTnnl2+TC7hJZryYsDg55MGp5Vo6+eOsnz4cPt?= =?us-ascii?q?9+436UQ2etoRGF4Wfd+QspgkWP9XaoxV/Y5eDpTjMzDMRMwahDdAHC0lEtuNFn?= =?us-ascii?q?3LgO936FtrJMZCmw3xjV1pztbVVHh0C0qX0tnao4lHpES7IEZLtQt4AEuGtIDZ?= =?us-ascii?q?YlECj64IcmCu0GNrCf2N9mNXehK1zJtGhmx9KhGl4pGA2de1MPvsyO3yITtGxl?= =?us-ascii?q?znEf2NcUkh47hdcAYqgBw96BHrVjlblIQMNTR7l6Hv05WseyCnbAW1bmGkj6Gy?= =?us-ascii?q?W/KIg3f1b277Ln6rQ84++nPLYSyoEpoY/MVFNDuXR3QWjKYPf+m6Fjw1ToeiGQ?= =?us-ascii?q?TD7twsZR69xSobvnXoPxPSmCUlw11/a6q/IEG8vBRsupMJ1YA/XfPXLjcLw5mz?= =?us-ascii?q?HWat13Ez0zQccVstE0VxalucTQMLTwuujaavrIYLLrDDY/Q2v6RmEIVD/4IsJc?= =?us-ascii?q?4lG3M0WI2iT5ajfIQAjS7JhwGK/V86w4044WLLRWvgwUk1iiosWGMydLvKAtel?= =?us-ascii?q?dkKr+PqNL8mUCGuULzq0l5MBtUCUhYpJ/6VWlRnBQHN0PvfaxGvc6ed2BU1H6M?= =?us-ascii?q?Ix9ySN7XCQZTqk9647jfFe3J+QkST/acdk6KhXoao3yHC70GnLeY3NzofpMjAo?= =?us-ascii?q?xjQbd2HwnQDRB53Q177GREdBQCTkreET2Gs9T5sLUkQMXkM/VsigaiJsBZ7VjF?= =?us-ascii?q?s1+HnNoiQnsAUyTrTNWehhw2QSFIm0Z4/KAeiqeRgDrHExplvM0IdHl3LEiHCr?= =?us-ascii?q?NPCwqIIK9OnKrwRQ12RWCWwRSHlhAaYAPRhg0vr12kCRfRVeDAA1JbtHwd+L3t?= =?us-ascii?q?6klIemKUeF81QmxmsLd6CX/Nth9IoKS2T5v291HURkoJw+kbPj2ASyAVOBlSy9?= =?us-ascii?q?e+0wPQvzqeC3M8xNELMvbGBLouN5Hfs0ndYrGgpOUjJbt57ZxlPNfhvqsgSuSE?= =?us-ascii?q?YTKYKzv+FqcnwAqQqnE5ODRlqXUtnP/ysSeVoFSQ7ToaO77/MV5mT7YUL5W39G?= =?us-ascii?q?7/XcuF151/kJY0sIKLQyrMQ+/D7ZuSQy9IKxvVr2LzZfovs4posaU7s6Y2G5Ha?= =?us-ascii?q?VDDPxWxWxRlWFra7qGouBIBApJzRMI5meMIfPwhD+EAyqdiJJEw39grsAuE/el?= =?us-ascii?q?kph2TBP8yA5qfJrbZHODzNmCLAfX2ktwFN9fbMWCWOkZQADbgrHGhQYE8grGh5?= =?us-ascii?q?8PiabI3WAgWyf+RF9F63W0XNMYN1eeygI/E9vxx669aHk6urbCL+whnXpiY+CL?= =?us-ascii?q?lJ6XybTcS7Bx+sFeZE/8ehA0mFhrKn7aeI/XfKYAr+T35dpIVeMWQMc8xIi1AZ?= =?us-ascii?q?/esK+xn3bpayn2UIvB915yp9mlvkx468iV2rZH1uAEn+mZtfWjlBOmWJi8Pl/e?= =?us-ascii?q?CU2G/m2SNIw5XZC0tcF+s+R+Q4f8zQNCdhKc8Zobiy2bEg6x4zKSsGB3IgiTz7?= =?us-ascii?q?wuNt1aq43vKXQOH5FXL0Izs6iEZ4L58xkSoxpW5adc+iqZq7fwUMD+YNR+Ay/4?= =?us-ascii?q?ZMjVtS2yvOxkxZahgorxcv3I3WNFDrVk4MapTGjM/zgBICorKF5EArrHJMmkm/?= =?us-ascii?q?gFX0gSmFo++l/341pXbatAlptOGUQyYwmj9QskpizbZ6OnSAFW7qTnXtCiKG8I?= =?us-ascii?q?I4fXl+TWw/weQiixTOa6ENi5Cl1mJh6TA2GDI5zb2nHnvWIA/iZ+HYPXSvDpC4?= =?us-ascii?q?EdRya/FeNi4fNHawLg3DgYl1QRTSetttvy/c70smFOyLIOehbw2cBpVWo/BVNK?= =?us-ascii?q?zoXoKEhcDBkgJe7GofqorniXqD2PJmhPnrWzJUoJY4aexuPAzv4SJzlt2UVgjL?= =?us-ascii?q?N5IM4C7Uo3f6gB4oWuM+0kAQ2w0CuSwUGCm0HNu9SUFquS4ex/bSNVcl4NfETc?= =?us-ascii?q?wQrHzIrlGgsmTHLQyYMEGjXLsW/nIinTyxPL7yrhy9YLr+Nxdb5fGqH+O4jEPB?= =?us-ascii?q?pnTnm+k=3D?=
X-IronPort-AV: E=Sophos;i="5.81,290,1610406000"; d="scan'208";a="500640764"
Received: from 82-64-165-115.subs.proxad.net (HELO [192.168.1.13]) ([82.64.165.115]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 09:53:25 +0200
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
X-Priority: 3
In-Reply-To: <1529628012.30519.1617089251424@office.mailbox.org>
Date: Tue, 30 Mar 2021 09:53:24 +0200
Cc: ML Messaging Layer Security <mls@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr>
References: <1529628012.30519.1617089251424@office.mailbox.org>
To: Konrad Kohbrok <konrad.kohbrok@datashrine.de>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/dmrJ-ciTi7qt7ren8z9Ti_EJHgQ>
Subject: Re: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2021 07:53:42 -0000

Hi all,

I like this idea. I am not fully clear about the threat model, though.

=46rom reading this, it looks like we assume that the adversary that =
compromised a=20
principal doesn=E2=80=99t have complete control the entropy pool.

This is in contrast over what we assume of the AEAD keys or even the KEM =
keys
where a full state compromise will gain access to the values.

However it looks very close to the assumptions about additional =
protections for signing keys.
E.g., not directly accessible, and behind an interface that an adversary =
can query for certain operations
through an API (e.g. when is stored in an HSM, co-processor or a =
functional secure enclave).

Am I reading this properly?
If yes, I can understand the value in this threat model, but we should =
make it clear that the
entropy pool has to get these additional protections to provide these =
good properties.

Seems to me like a good improvement in all cases anyway, so I think we =
should consider it.

Thanks!
Ben

> On 30 Mar 2021, at 09:27, Konrad Kohbrok =
<konrad.kohbrok@datashrine.de> wrote:
>=20
> Hi everyone,
>=20
> MLS is a protocol that is very vulnerable to individual parties with =
bad randomness. For example, when a party joins a group, the secrecy of =
the group's key material relies on the quality of that party's key =
material. Similarly, when doing an external join, the groups entropy is =
completely replaced by that of the joining member.
>=20
> There are multiple ways to mitigate this threat and Jo=C3=ABl and =
Sandro proposed a few of them in the following mail to the list: =
https://mailarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/
>=20
> Concretely, there were two approaches: one that would be baked into =
the protocol (essentially using a secret derived from old path secrets =
to inject into new ones in addition to the current approach) and one =
that would mandate the use of an entropy pool.
>=20
> The ideas were discussed a bit at the time, but nothing has happened =
since then. Jo=C3=ABl, Sandro and I have just opened a PR with a =
concrete design for an entropy pool that is modeled after the key =
schedule (https://github.com/mlswg/mls-protocol/pull/467). Concretely, =
it allows gathering entropy over time and for parties with a bad entropy =
source to profit from parties with a good one without compromising =
security.
>=20
> While for future iterations of MLS, we might want to consider a =
solution that is more integral to the protocol, we are aware that the =
authors want to avoid breaking changes at this point. With the entropy =
pool, we thus propose a solution that does not affect the protocol flow, =
but that still offers significant advantages over no mitigations at all.
>=20
> Cheers,
> Konrad
>=20
> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls


From nobody Tue Mar 30 00:54:57 2021
Return-Path: <benjamin.beurdouche@inria.fr>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 971283A2A5C for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 00:54:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 5Nv5oxtemH15 for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 00:54:51 -0700 (PDT)
Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BAEF13A2A59 for <mls@ietf.org>; Tue, 30 Mar 2021 00:54:50 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.81,290,1610406000"; d="scan'208";a="500641265"
Received: from 82-64-165-115.subs.proxad.net (HELO [192.168.1.13]) ([82.64.165.115]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 09:54:48 +0200
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
X-Priority: 3
In-Reply-To: <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr>
Date: Tue, 30 Mar 2021 09:54:48 +0200
Cc: ML Messaging Layer Security <mls@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <85688EE7-DCCA-4BB7-A581-753C6B450250@inria.fr>
References: <1529628012.30519.1617089251424@office.mailbox.org> <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr>
To: Konrad Kohbrok <konrad.kohbrok@datashrine.de>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/uFwOriRlBZQ6fgX_GcTLGY6npRw>
Subject: Re: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2021 07:54:56 -0000

*ouch, sorry about all the spelling mistakes=E2=80=A6 :D

> On 30 Mar 2021, at 09:53, Benjamin Beurdouche =
<benjamin.beurdouche@inria.fr> wrote:
>=20
> Hi all,
>=20
> I like this idea. I am not fully clear about the threat model, though.
>=20
> =46rom reading this, it looks like we assume that the adversary that =
compromised a=20
> principal doesn=E2=80=99t have complete control the entropy pool.
>=20
> This is in contrast over what we assume of the AEAD keys or even the =
KEM keys
> where a full state compromise will gain access to the values.
>=20
> However it looks very close to the assumptions about additional =
protections for signing keys.
> E.g., not directly accessible, and behind an interface that an =
adversary can query for certain operations
> through an API (e.g. when is stored in an HSM, co-processor or a =
functional secure enclave).
>=20
> Am I reading this properly?
> If yes, I can understand the value in this threat model, but we should =
make it clear that the
> entropy pool has to get these additional protections to provide these =
good properties.
>=20
> Seems to me like a good improvement in all cases anyway, so I think we =
should consider it.
>=20
> Thanks!
> Ben
>=20
>> On 30 Mar 2021, at 09:27, Konrad Kohbrok =
<konrad.kohbrok@datashrine.de> wrote:
>>=20
>> Hi everyone,
>>=20
>> MLS is a protocol that is very vulnerable to individual parties with =
bad randomness. For example, when a party joins a group, the secrecy of =
the group's key material relies on the quality of that party's key =
material. Similarly, when doing an external join, the groups entropy is =
completely replaced by that of the joining member.
>>=20
>> There are multiple ways to mitigate this threat and Jo=C3=ABl and =
Sandro proposed a few of them in the following mail to the list: =
https://mailarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/
>>=20
>> Concretely, there were two approaches: one that would be baked into =
the protocol (essentially using a secret derived from old path secrets =
to inject into new ones in addition to the current approach) and one =
that would mandate the use of an entropy pool.
>>=20
>> The ideas were discussed a bit at the time, but nothing has happened =
since then. Jo=C3=ABl, Sandro and I have just opened a PR with a =
concrete design for an entropy pool that is modeled after the key =
schedule (https://github.com/mlswg/mls-protocol/pull/467). Concretely, =
it allows gathering entropy over time and for parties with a bad entropy =
source to profit from parties with a good one without compromising =
security.
>>=20
>> While for future iterations of MLS, we might want to consider a =
solution that is more integral to the protocol, we are aware that the =
authors want to avoid breaking changes at this point. With the entropy =
pool, we thus propose a solution that does not affect the protocol flow, =
but that still offers significant advantages over no mitigations at all.
>>=20
>> Cheers,
>> Konrad
>>=20
>> _______________________________________________
>> MLS mailing list
>> MLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/mls
>=20


From nobody Tue Mar 30 02:25:26 2021
Return-Path: <konrad.kohbrok@datashrine.de>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E9CD03A2CC0 for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 02:25:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.617
X-Spam-Level: 
X-Spam-Status: No, score=-2.617 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 1xfsPeEhgQkt for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 02:25:20 -0700 (PDT)
Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2735B3A2CBE for <mls@ietf.org>; Tue, 30 Mar 2021 02:25:19 -0700 (PDT)
Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4F8kZ53xx9zQk14; Tue, 30 Mar 2021 11:25:17 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id 2gjcx6KRIfLJ; Tue, 30 Mar 2021 11:25:10 +0200 (CEST)
Date: Tue, 30 Mar 2021 11:25:10 +0200 (CEST)
From: Konrad Kohbrok <konrad.kohbrok@datashrine.de>
To: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
Cc: ML Messaging Layer Security <mls@ietf.org>
Message-ID: <965197897.32483.1617096310176@office.mailbox.org>
In-Reply-To: <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr>
References: <1529628012.30519.1617089251424@office.mailbox.org> <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Normal
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -6.13 / 15.00 / 15.00
X-Rspamd-Queue-Id: 32E0B1810
X-Rspamd-UID: 8535fe
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/3IZHpC08WomdpgQ3B_SWa3WwG4U>
Subject: Re: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2021 09:25:25 -0000

Great questions. I really should have included our thoughts on the threat m=
odel.

We don't assume the entropy pool to be more protected than any other secret=
 in MLS.

Functionally, we want the pool to allow the following:=20
- a party should be able to accrue entropy over time using the OS's RNG
- a party should be able to inject entropy from other sources (in particula=
r secrets derived from the epoch_secret of any of the party's groups whenev=
er a fresh commit comes in)

Assuming the OS's RNG is really bad (e.g. it spits out only zeroes), then a=
 party can still have decent entropy once it receives commits from groups t=
hat it is in. Any party that wants to predict the entropy in the pool would=
 have to know every secret that is injected into the pool. That means that =
an adversary would have to compromise all of the party's groups to predict =
secrets extracted from the entropy pool.

Of course, the pool will take some time to accrue entropy from various sour=
ces, so it doesn't help if the adversary is present from the start, but it =
will help if the adversary compromises a party later on. If that happens, t=
hen the compromised party can recover if the adversary misses (i.e. doesn't=
 intercept and decrypt) any commit from another party after the compromise.

Now we have to make sure that the design doesn't give us any disadvantages =
over just sampling from the OS's RNG every time we need fresh randomness.

Let's assume full state compromise. Then
1) the adversary can't obtain entropy extracted from the pool in the past (=
because it's essentially a KDF-chain, just as the key schedule)
2) the adversary can't predict what entropy the client will extract in the =
future if one of the following is true:
  - the OS's RNG is good
  - a commit from a group arrives, where the group itself is not compromise=
d
  - any other external entropy gets injected that the adversary doesn't hav=
e access to (e.g. a signature from a secret key that is kept secure in an H=
SM)

To summarize: It's no silver bullet against bad entropy in general, but it'=
s cheap, no worse than just relying on the OS's RNG and provides a framewor=
k to accrue randomness over time from various sources even if the OS's RNG =
is bad/compromised and it allows parties to recover from compromise in that=
 case.

Hope that shed some light on things.

Cheers,
Konrad



> Benjamin Beurdouche <benjamin.beurdouche@inria.fr> hat am 30.03.2021 09:5=
3 geschrieben:
>=20
> =20
> Hi all,
>=20
> I like this idea. I am not fully clear about the threat model, though.
>=20
> From reading this, it looks like we assume that the adversary that compro=
mised a=20
> principal doesn=E2=80=99t have complete control the entropy pool.
>=20
> This is in contrast over what we assume of the AEAD keys or even the KEM =
keys
> where a full state compromise will gain access to the values.
>=20
> However it looks very close to the assumptions about additional protectio=
ns for signing keys.
> E.g., not directly accessible, and behind an interface that an adversary =
can query for certain operations
> through an API (e.g. when is stored in an HSM, co-processor or a function=
al secure enclave).
>=20
> Am I reading this properly?
> If yes, I can understand the value in this threat model, but we should ma=
ke it clear that the
> entropy pool has to get these additional protections to provide these goo=
d properties.
>=20
> Seems to me like a good improvement in all cases anyway, so I think we sh=
ould consider it.
>=20
> Thanks!
> Ben
>=20
> > On 30 Mar 2021, at 09:27, Konrad Kohbrok <konrad.kohbrok@datashrine.de>=
 wrote:
> >=20
> > Hi everyone,
> >=20
> > MLS is a protocol that is very vulnerable to individual parties with ba=
d randomness. For example, when a party joins a group, the secrecy of the g=
roup's key material relies on the quality of that party's key material. Sim=
ilarly, when doing an external join, the groups entropy is completely repla=
ced by that of the joining member.
> >=20
> > There are multiple ways to mitigate this threat and Jo=C3=ABl and Sandr=
o proposed a few of them in the following mail to the list: https://mailarc=
hive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/
> >=20
> > Concretely, there were two approaches: one that would be baked into the=
 protocol (essentially using a secret derived from old path secrets to inje=
ct into new ones in addition to the current approach) and one that would ma=
ndate the use of an entropy pool.
> >=20
> > The ideas were discussed a bit at the time, but nothing has happened si=
nce then. Jo=C3=ABl, Sandro and I have just opened a PR with a concrete des=
ign for an entropy pool that is modeled after the key schedule (https://git=
hub.com/mlswg/mls-protocol/pull/467). Concretely, it allows gathering entro=
py over time and for parties with a bad entropy source to profit from parti=
es with a good one without compromising security.
> >=20
> > While for future iterations of MLS, we might want to consider a solutio=
n that is more integral to the protocol, we are aware that the authors want=
 to avoid breaking changes at this point. With the entropy pool, we thus pr=
opose a solution that does not affect the protocol flow, but that still off=
ers significant advantages over no mitigations at all.
> >=20
> > Cheers,
> > Konrad
> >=20
> > _______________________________________________
> > MLS mailing list
> > MLS@ietf.org
> > https://www.ietf.org/mailman/listinfo/mls


From nobody Tue Mar 30 14:01:33 2021
Return-Path: <brendan@cloudflare.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC59E3A0D2E for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 14:01:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=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 (1024-bit key) header.d=cloudflare.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 DMfkulS-pOQz for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 14:01:26 -0700 (PDT)
Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 579CA3A0CFE for <mls@ietf.org>; Tue, 30 Mar 2021 14:01:26 -0700 (PDT)
Received: by mail-qk1-x735.google.com with SMTP id y5so17293492qkl.9 for <mls@ietf.org>; Tue, 30 Mar 2021 14:01:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xxxpqNxT8IisyHIqGIXlLT03J/bX4E0u/dV7vYwzZXs=; b=b4ZnFhxx+ADtpI6mnZpGZ3UBB0FJ06smE8MRNeebaD9/p+mWtkXKu4B4cL/2bxD/Xn 0ix4LtGuz1amD4eB+EJPyHQPk7NNpAFClXVTz7iJTEGn1BnELMx6CMfv9xLEfuCofdw9 WBJPSDbgkXiQupcC3jpcUROQQ0++47jJmb/QY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xxxpqNxT8IisyHIqGIXlLT03J/bX4E0u/dV7vYwzZXs=; b=lsSqv1ir4n2THXQKejAWSYWwDI15ChNwd230gpVq02cdB4EvT3XHhkUL+Vx8ulQ2sp b0upIo7SjcbH96+DcFWQ4XjARhRHiRQRLhAd8D3DnkOONLfC1BQvlQCiElxvXrCoe11N RruDWn9w7bCJg0U0cbb8VNHi8yzS8ULvhi1olgSkDaBRrEhn5OUAruAIkbUNZTtvRXQ9 ZNKOTWo7OhkomgGWTyD+CSW+UOEqN7JMhhKpwBFPLVNQ/Cfry15H6PpdYe8CtRj7HS1k M8YOnygijjqfceNIbMmW2aFRlJDhhX3nZAMKefjTd+qwp4xZTM+Rm1+b7tplz9Sn1Cbq Gvbg==
X-Gm-Message-State: AOAM5305ADQGqyrwr3WVqrU09XYLnf10fV0xy2Nt2HC48AvkccEu6cyS 4YzrcpHu3zmXqg5Vi8qmLiZgQ8h5GnrJrsqrU26ShA==
X-Google-Smtp-Source: ABdhPJyK+Ud3enxIHqMZK9YfX/ikFbakjuWd2b9wDvOKumhcuxa6k+37xSajrrnBbd5nqldE5fF9QDK+wn9LcPmcUiI=
X-Received: by 2002:a37:94f:: with SMTP id 76mr194435qkj.222.1617138084142; Tue, 30 Mar 2021 14:01:24 -0700 (PDT)
MIME-Version: 1.0
References: <1529628012.30519.1617089251424@office.mailbox.org> <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr> <965197897.32483.1617096310176@office.mailbox.org>
In-Reply-To: <965197897.32483.1617096310176@office.mailbox.org>
From: Brendan McMillion <brendan@cloudflare.com>
Date: Tue, 30 Mar 2021 14:01:13 -0700
Message-ID: <CABP-pSRLXdiowmd-GO601fj3SLqVJAq92ULOsMCKi-9aVS12Eg@mail.gmail.com>
To: Konrad Kohbrok <konrad.kohbrok@datashrine.de>
Cc: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>,  ML Messaging Layer Security <mls@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000000f001d05bec74d8b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/IDhlxUNhVBHRifNkjiFvbc8lqcQ>
Subject: Re: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2021 21:01:31 -0000

--0000000000000f001d05bec74d8b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hey Konrad

Thanks for writing this up. However, I feel pretty strongly opposed to this
idea, just as a matter of maintaining proper layers of abstraction. MLS
implementations aren't remotely the only things on a user's system that
require strong randomness, which is why every OS has its own CSPRNG. Those
CSPRNGs are going to be much more robust, better designed, and thoroughly
audited than anything we'd implement. Instead, it's more likely we'd have
MLS implementations do this incorrectly and introduce more
randomness-related vulnerabilities than we prevented.


On Tue, Mar 30, 2021 at 2:25 AM Konrad Kohbrok <konrad.kohbrok@datashrine.d=
e>
wrote:

> Great questions. I really should have included our thoughts on the threat
> model.
>
> We don't assume the entropy pool to be more protected than any other
> secret in MLS.
>
> Functionally, we want the pool to allow the following:
> - a party should be able to accrue entropy over time using the OS's RNG
> - a party should be able to inject entropy from other sources (in
> particular secrets derived from the epoch_secret of any of the party's
> groups whenever a fresh commit comes in)
>
> Assuming the OS's RNG is really bad (e.g. it spits out only zeroes), then
> a party can still have decent entropy once it receives commits from group=
s
> that it is in. Any party that wants to predict the entropy in the pool
> would have to know every secret that is injected into the pool. That mean=
s
> that an adversary would have to compromise all of the party's groups to
> predict secrets extracted from the entropy pool.
>
> Of course, the pool will take some time to accrue entropy from various
> sources, so it doesn't help if the adversary is present from the start, b=
ut
> it will help if the adversary compromises a party later on. If that
> happens, then the compromised party can recover if the adversary misses
> (i.e. doesn't intercept and decrypt) any commit from another party after
> the compromise.
>
> Now we have to make sure that the design doesn't give us any disadvantage=
s
> over just sampling from the OS's RNG every time we need fresh randomness.
>
> Let's assume full state compromise. Then
> 1) the adversary can't obtain entropy extracted from the pool in the past
> (because it's essentially a KDF-chain, just as the key schedule)
> 2) the adversary can't predict what entropy the client will extract in th=
e
> future if one of the following is true:
>   - the OS's RNG is good
>   - a commit from a group arrives, where the group itself is not
> compromised
>   - any other external entropy gets injected that the adversary doesn't
> have access to (e.g. a signature from a secret key that is kept secure in
> an HSM)
>
> To summarize: It's no silver bullet against bad entropy in general, but
> it's cheap, no worse than just relying on the OS's RNG and provides a
> framework to accrue randomness over time from various sources even if the
> OS's RNG is bad/compromised and it allows parties to recover from
> compromise in that case.
>
> Hope that shed some light on things.
>
> Cheers,
> Konrad
>
>
>
> > Benjamin Beurdouche <benjamin.beurdouche@inria.fr> hat am 30.03.2021
> 09:53 geschrieben:
> >
> >
> > Hi all,
> >
> > I like this idea. I am not fully clear about the threat model, though.
> >
> > From reading this, it looks like we assume that the adversary that
> compromised a
> > principal doesn=E2=80=99t have complete control the entropy pool.
> >
> > This is in contrast over what we assume of the AEAD keys or even the KE=
M
> keys
> > where a full state compromise will gain access to the values.
> >
> > However it looks very close to the assumptions about additional
> protections for signing keys.
> > E.g., not directly accessible, and behind an interface that an adversar=
y
> can query for certain operations
> > through an API (e.g. when is stored in an HSM, co-processor or a
> functional secure enclave).
> >
> > Am I reading this properly?
> > If yes, I can understand the value in this threat model, but we should
> make it clear that the
> > entropy pool has to get these additional protections to provide these
> good properties.
> >
> > Seems to me like a good improvement in all cases anyway, so I think we
> should consider it.
> >
> > Thanks!
> > Ben
> >
> > > On 30 Mar 2021, at 09:27, Konrad Kohbrok <konrad.kohbrok@datashrine.d=
e>
> wrote:
> > >
> > > Hi everyone,
> > >
> > > MLS is a protocol that is very vulnerable to individual parties with
> bad randomness. For example, when a party joins a group, the secrecy of t=
he
> group's key material relies on the quality of that party's key material.
> Similarly, when doing an external join, the groups entropy is completely
> replaced by that of the joining member.
> > >
> > > There are multiple ways to mitigate this threat and Jo=C3=ABl and San=
dro
> proposed a few of them in the following mail to the list:
> https://mailarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/
> > >
> > > Concretely, there were two approaches: one that would be baked into
> the protocol (essentially using a secret derived from old path secrets to
> inject into new ones in addition to the current approach) and one that
> would mandate the use of an entropy pool.
> > >
> > > The ideas were discussed a bit at the time, but nothing has happened
> since then. Jo=C3=ABl, Sandro and I have just opened a PR with a concrete=
 design
> for an entropy pool that is modeled after the key schedule (
> https://github.com/mlswg/mls-protocol/pull/467). Concretely, it allows
> gathering entropy over time and for parties with a bad entropy source to
> profit from parties with a good one without compromising security.
> > >
> > > While for future iterations of MLS, we might want to consider a
> solution that is more integral to the protocol, we are aware that the
> authors want to avoid breaking changes at this point. With the entropy
> pool, we thus propose a solution that does not affect the protocol flow,
> but that still offers significant advantages over no mitigations at all.
> > >
> > > Cheers,
> > > Konrad
> > >
> > > _______________________________________________
> > > MLS mailing list
> > > MLS@ietf.org
> > > https://www.ietf.org/mailman/listinfo/mls
>
> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls
>

--0000000000000f001d05bec74d8b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hey Konrad</div><div><br></div><div>Thanks for writin=
g this up. However, I feel pretty strongly opposed to this idea, just as a =
matter of maintaining proper layers of abstraction. MLS implementations are=
n&#39;t remotely the only things on a user&#39;s system that require strong=
 randomness, which is why every OS has its own CSPRNG. Those CSPRNGs are go=
ing to be much more robust, better designed, and thoroughly audited than an=
ything we&#39;d implement. Instead, it&#39;s more likely we&#39;d have MLS =
implementations do this incorrectly and introduce more randomness-related v=
ulnerabilities than we prevented.<br>=C2=A0</div></div><br><div class=3D"gm=
ail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Mar 30, 2021 at 2:=
25 AM Konrad Kohbrok &lt;<a href=3D"mailto:konrad.kohbrok@datashrine.de">ko=
nrad.kohbrok@datashrine.de</a>&gt; wrote:<br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex">Great questions. I really should have included ou=
r thoughts on the threat model.<br>
<br>
We don&#39;t assume the entropy pool to be more protected than any other se=
cret in MLS.<br>
<br>
Functionally, we want the pool to allow the following: <br>
- a party should be able to accrue entropy over time using the OS&#39;s RNG=
<br>
- a party should be able to inject entropy from other sources (in particula=
r secrets derived from the epoch_secret of any of the party&#39;s groups wh=
enever a fresh commit comes in)<br>
<br>
Assuming the OS&#39;s RNG is really bad (e.g. it spits out only zeroes), th=
en a party can still have decent entropy once it receives commits from grou=
ps that it is in. Any party that wants to predict the entropy in the pool w=
ould have to know every secret that is injected into the pool. That means t=
hat an adversary would have to compromise all of the party&#39;s groups to =
predict secrets extracted from the entropy pool.<br>
<br>
Of course, the pool will take some time to accrue entropy from various sour=
ces, so it doesn&#39;t help if the adversary is present from the start, but=
 it will help if the adversary compromises a party later on. If that happen=
s, then the compromised party can recover if the adversary misses (i.e. doe=
sn&#39;t intercept and decrypt) any commit from another party after the com=
promise.<br>
<br>
Now we have to make sure that the design doesn&#39;t give us any disadvanta=
ges over just sampling from the OS&#39;s RNG every time we need fresh rando=
mness.<br>
<br>
Let&#39;s assume full state compromise. Then<br>
1) the adversary can&#39;t obtain entropy extracted from the pool in the pa=
st (because it&#39;s essentially a KDF-chain, just as the key schedule)<br>
2) the adversary can&#39;t predict what entropy the client will extract in =
the future if one of the following is true:<br>
=C2=A0 - the OS&#39;s RNG is good<br>
=C2=A0 - a commit from a group arrives, where the group itself is not compr=
omised<br>
=C2=A0 - any other external entropy gets injected that the adversary doesn&=
#39;t have access to (e.g. a signature from a secret key that is kept secur=
e in an HSM)<br>
<br>
To summarize: It&#39;s no silver bullet against bad entropy in general, but=
 it&#39;s cheap, no worse than just relying on the OS&#39;s RNG and provide=
s a framework to accrue randomness over time from various sources even if t=
he OS&#39;s RNG is bad/compromised and it allows parties to recover from co=
mpromise in that case.<br>
<br>
Hope that shed some light on things.<br>
<br>
Cheers,<br>
Konrad<br>
<br>
<br>
<br>
&gt; Benjamin Beurdouche &lt;<a href=3D"mailto:benjamin.beurdouche@inria.fr=
" target=3D"_blank">benjamin.beurdouche@inria.fr</a>&gt; hat am 30.03.2021 =
09:53 geschrieben:<br>
&gt; <br>
&gt;=C2=A0 <br>
&gt; Hi all,<br>
&gt; <br>
&gt; I like this idea. I am not fully clear about the threat model, though.=
<br>
&gt; <br>
&gt; From reading this, it looks like we assume that the adversary that com=
promised a <br>
&gt; principal doesn=E2=80=99t have complete control the entropy pool.<br>
&gt; <br>
&gt; This is in contrast over what we assume of the AEAD keys or even the K=
EM keys<br>
&gt; where a full state compromise will gain access to the values.<br>
&gt; <br>
&gt; However it looks very close to the assumptions about additional protec=
tions for signing keys.<br>
&gt; E.g., not directly accessible, and behind an interface that an adversa=
ry can query for certain operations<br>
&gt; through an API (e.g. when is stored in an HSM, co-processor or a funct=
ional secure enclave).<br>
&gt; <br>
&gt; Am I reading this properly?<br>
&gt; If yes, I can understand the value in this threat model, but we should=
 make it clear that the<br>
&gt; entropy pool has to get these additional protections to provide these =
good properties.<br>
&gt; <br>
&gt; Seems to me like a good improvement in all cases anyway, so I think we=
 should consider it.<br>
&gt; <br>
&gt; Thanks!<br>
&gt; Ben<br>
&gt; <br>
&gt; &gt; On 30 Mar 2021, at 09:27, Konrad Kohbrok &lt;<a href=3D"mailto:ko=
nrad.kohbrok@datashrine.de" target=3D"_blank">konrad.kohbrok@datashrine.de<=
/a>&gt; wrote:<br>
&gt; &gt; <br>
&gt; &gt; Hi everyone,<br>
&gt; &gt; <br>
&gt; &gt; MLS is a protocol that is very vulnerable to individual parties w=
ith bad randomness. For example, when a party joins a group, the secrecy of=
 the group&#39;s key material relies on the quality of that party&#39;s key=
 material. Similarly, when doing an external join, the groups entropy is co=
mpletely replaced by that of the joining member.<br>
&gt; &gt; <br>
&gt; &gt; There are multiple ways to mitigate this threat and Jo=C3=ABl and=
 Sandro proposed a few of them in the following mail to the list: <a href=
=3D"https://mailarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/"=
 rel=3D"noreferrer" target=3D"_blank">https://mailarchive.ietf.org/arch/msg=
/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/</a><br>
&gt; &gt; <br>
&gt; &gt; Concretely, there were two approaches: one that would be baked in=
to the protocol (essentially using a secret derived from old path secrets t=
o inject into new ones in addition to the current approach) and one that wo=
uld mandate the use of an entropy pool.<br>
&gt; &gt; <br>
&gt; &gt; The ideas were discussed a bit at the time, but nothing has happe=
ned since then. Jo=C3=ABl, Sandro and I have just opened a PR with a concre=
te design for an entropy pool that is modeled after the key schedule (<a hr=
ef=3D"https://github.com/mlswg/mls-protocol/pull/467" rel=3D"noreferrer" ta=
rget=3D"_blank">https://github.com/mlswg/mls-protocol/pull/467</a>). Concre=
tely, it allows gathering entropy over time and for parties with a bad entr=
opy source to profit from parties with a good one without compromising secu=
rity.<br>
&gt; &gt; <br>
&gt; &gt; While for future iterations of MLS, we might want to consider a s=
olution that is more integral to the protocol, we are aware that the author=
s want to avoid breaking changes at this point. With the entropy pool, we t=
hus propose a solution that does not affect the protocol flow, but that sti=
ll offers significant advantages over no mitigations at all.<br>
&gt; &gt; <br>
&gt; &gt; Cheers,<br>
&gt; &gt; Konrad<br>
&gt; &gt; <br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; MLS mailing list<br>
&gt; &gt; <a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a=
><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"nore=
ferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
<br>
_______________________________________________<br>
MLS mailing list<br>
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
</blockquote></div>

--0000000000000f001d05bec74d8b--


From nobody Tue Mar 30 14:34:13 2021
Return-Path: <benjamin.beurdouche@inria.fr>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1AE543A0ED7 for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 14:34:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.917
X-Spam-Level: 
X-Spam-Status: No, score=-1.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 GCudgmZxZrwy for <mls@ietfa.amsl.com>; Tue, 30 Mar 2021 14:34:06 -0700 (PDT)
Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7EB073A0ED9 for <mls@ietf.org>; Tue, 30 Mar 2021 14:34:00 -0700 (PDT)
IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AGVSSGKHOIt3NTN3ypLqFEZLXdLJzesId70hD?= =?us-ascii?q?6mlYcjYQWtCElsyogfQQ3QL1jjFUY307hdWcIsC7LQKmybdc2qNUGbu5RgHptC?= =?us-ascii?q?+TLI9k5Zb/2DGIIUCOjtJ1/ZxLN5JzANiYNzIK9PrSygPQKadX/PCs9qe0ieDC?= =?us-ascii?q?i0p8VA0CUdAo0y5VKCa+Vnd3Sg5PGIYjGPOniaR6jhepZHh/VLXIOlArRO7Gzu?= =?us-ascii?q?e7567OQRlDPBI/7RnLsDXA0s+LLzG83g0CFxtVy7Yj7mStqX262oyHs+unjj7R?= =?us-ascii?q?0na71eUUpPLFysFfQOyg4/JlZQnErwazecBZXaee1QpF4N2HzVYxjZ33vxw7Nd?= =?us-ascii?q?9y4H+5RBDxnTLJ2xP8lAoo8WPo01WCgXDuyPaJAA4SL+pkqcZnfgDC60wm1esM?= =?us-ascii?q?rp5j+2qYsppRA1fEnD7hjuK4Gy1Cskavu3ItnaoyohVkIP4jQYZLoYYS8U9TGp?= =?us-ascii?q?toJlO21KkdHONjDN7R6Z9tGDvwHhepxBgS/PWWUn4+HgiLTww5g+P96UkqoFlD?= =?us-ascii?q?w0QV38AZlHsbnahNOqVs3OjcN7QtqbcmdL5dUYtGCOANTdDfMAzwaCjRO2GfK0?= =?us-ascii?q?mPLtByB1vxrffMkcIIzdDvU5AFy6YylI/MOWko0VIaSgbBDYmr0IdQ+h7ABF+h?= =?us-ascii?q?VSngo/suhKRRi/nTQrzkNCHGZXIPt4+bo/sZCtDGQPrbAvNrKs6mA23pF4NEmy?= =?us-ascii?q?PkXYVKbVkSOfdl++oTahahpMTEL4GvjOjHabLoIqb3GzpMYBKcPlIzGB7pJMtB?= =?us-ascii?q?6UivHlflnRncXG7scETj/ZR2VJPX5fQX1ZJlDPwGjiElzXKj5s+KLjVG9pY7e0?= =?us-ascii?q?ZzO9rc4+uGjFjzxmrD42V3Nhc1NDcxkdOQLE9ilEsxKkvxNZwDt9+cdW0X/HzC?= =?us-ascii?q?CAR4U9q+Kn8Qm2hK?=
X-IronPort-AV: E=Sophos;i="5.81,291,1610406000";  d="scan'208,217";a="377328918"
Received: from 82-64-165-115.subs.proxad.net (HELO [192.168.1.8]) ([82.64.165.115]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 30 Mar 2021 23:33:57 +0200
Content-Type: multipart/alternative; boundary=Apple-Mail-DE929DB5-2D42-4463-B125-599295DD9583
Content-Transfer-Encoding: 7bit
From: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
Mime-Version: 1.0 (1.0)
Date: Tue, 30 Mar 2021 23:33:57 +0200
Message-Id: <CB001EA1-C7DC-43AC-8D94-844AF1CD8A4D@inria.fr>
References: <CABP-pSRLXdiowmd-GO601fj3SLqVJAq92ULOsMCKi-9aVS12Eg@mail.gmail.com>
Cc: Konrad Kohbrok <konrad.kohbrok@datashrine.de>, ML Messaging Layer Security <mls@ietf.org>
In-Reply-To: <CABP-pSRLXdiowmd-GO601fj3SLqVJAq92ULOsMCKi-9aVS12Eg@mail.gmail.com>
To: Brendan McMillion <brendan@cloudflare.com>
X-Mailer: iPhone Mail (18D70)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/AgU1TPDpMXzdF-mXf5jkUT_ke88>
Subject: Re: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2021 21:34:12 -0000

--Apple-Mail-DE929DB5-2D42-4463-B125-599295DD9583
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

This is definitely a good argument against, I agree.

> On Mar 30, 2021, at 11:01 PM, Brendan McMillion <brendan@cloudflare.com> w=
rote:
>=20
> =EF=BB=BF
> Hey Konrad
>=20
> Thanks for writing this up. However, I feel pretty strongly opposed to thi=
s idea, just as a matter of maintaining proper layers of abstraction. MLS im=
plementations aren't remotely the only things on a user's system that requir=
e strong randomness, which is why every OS has its own CSPRNG. Those CSPRNGs=
 are going to be much more robust, better designed, and thoroughly audited t=
han anything we'd implement. Instead, it's more likely we'd have MLS impleme=
ntations do this incorrectly and introduce more randomness-related vulnerabi=
lities than we prevented.
> =20
>=20
>> On Tue, Mar 30, 2021 at 2:25 AM Konrad Kohbrok <konrad.kohbrok@datashrine=
.de> wrote:
>> Great questions. I really should have included our thoughts on the threat=
 model.
>>=20
>> We don't assume the entropy pool to be more protected than any other secr=
et in MLS.
>>=20
>> Functionally, we want the pool to allow the following:=20
>> - a party should be able to accrue entropy over time using the OS's RNG
>> - a party should be able to inject entropy from other sources (in particu=
lar secrets derived from the epoch_secret of any of the party's groups whene=
ver a fresh commit comes in)
>>=20
>> Assuming the OS's RNG is really bad (e.g. it spits out only zeroes), then=
 a party can still have decent entropy once it receives commits from groups t=
hat it is in. Any party that wants to predict the entropy in the pool would h=
ave to know every secret that is injected into the pool. That means that an a=
dversary would have to compromise all of the party's groups to predict secre=
ts extracted from the entropy pool.
>>=20
>> Of course, the pool will take some time to accrue entropy from various so=
urces, so it doesn't help if the adversary is present from the start, but it=
 will help if the adversary compromises a party later on. If that happens, t=
hen the compromised party can recover if the adversary misses (i.e. doesn't i=
ntercept and decrypt) any commit from another party after the compromise.
>>=20
>> Now we have to make sure that the design doesn't give us any disadvantage=
s over just sampling from the OS's RNG every time we need fresh randomness.
>>=20
>> Let's assume full state compromise. Then
>> 1) the adversary can't obtain entropy extracted from the pool in the past=
 (because it's essentially a KDF-chain, just as the key schedule)
>> 2) the adversary can't predict what entropy the client will extract in th=
e future if one of the following is true:
>>   - the OS's RNG is good
>>   - a commit from a group arrives, where the group itself is not compromi=
sed
>>   - any other external entropy gets injected that the adversary doesn't h=
ave access to (e.g. a signature from a secret key that is kept secure in an H=
SM)
>>=20
>> To summarize: It's no silver bullet against bad entropy in general, but i=
t's cheap, no worse than just relying on the OS's RNG and provides a framewo=
rk to accrue randomness over time from various sources even if the OS's RNG i=
s bad/compromised and it allows parties to recover from compromise in that c=
ase.
>>=20
>> Hope that shed some light on things.
>>=20
>> Cheers,
>> Konrad
>>=20
>>=20
>>=20
>> > Benjamin Beurdouche <benjamin.beurdouche@inria.fr> hat am 30.03.2021 09=
:53 geschrieben:
>> >=20
>> > =20
>> > Hi all,
>> >=20
>> > I like this idea. I am not fully clear about the threat model, though.
>> >=20
>> > =46rom reading this, it looks like we assume that the adversary that co=
mpromised a=20
>> > principal doesn=E2=80=99t have complete control the entropy pool.
>> >=20
>> > This is in contrast over what we assume of the AEAD keys or even the KE=
M keys
>> > where a full state compromise will gain access to the values.
>> >=20
>> > However it looks very close to the assumptions about additional protect=
ions for signing keys.
>> > E.g., not directly accessible, and behind an interface that an adversar=
y can query for certain operations
>> > through an API (e.g. when is stored in an HSM, co-processor or a functi=
onal secure enclave).
>> >=20
>> > Am I reading this properly?
>> > If yes, I can understand the value in this threat model, but we should m=
ake it clear that the
>> > entropy pool has to get these additional protections to provide these g=
ood properties.
>> >=20
>> > Seems to me like a good improvement in all cases anyway, so I think we s=
hould consider it.
>> >=20
>> > Thanks!
>> > Ben
>> >=20
>> > > On 30 Mar 2021, at 09:27, Konrad Kohbrok <konrad.kohbrok@datashrine.d=
e> wrote:
>> > >=20
>> > > Hi everyone,
>> > >=20
>> > > MLS is a protocol that is very vulnerable to individual parties with b=
ad randomness. For example, when a party joins a group, the secrecy of the g=
roup's key material relies on the quality of that party's key material. Simi=
larly, when doing an external join, the groups entropy is completely replace=
d by that of the joining member.
>> > >=20
>> > > There are multiple ways to mitigate this threat and Jo=C3=ABl and San=
dro proposed a few of them in the following mail to the list: https://mailar=
chive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/
>> > >=20
>> > > Concretely, there were two approaches: one that would be baked into t=
he protocol (essentially using a secret derived from old path secrets to inj=
ect into new ones in addition to the current approach) and one that would ma=
ndate the use of an entropy pool.
>> > >=20
>> > > The ideas were discussed a bit at the time, but nothing has happened s=
ince then. Jo=C3=ABl, Sandro and I have just opened a PR with a concrete des=
ign for an entropy pool that is modeled after the key schedule (https://gith=
ub.com/mlswg/mls-protocol/pull/467). Concretely, it allows gathering entropy=
 over time and for parties with a bad entropy source to profit from parties w=
ith a good one without compromising security.
>> > >=20
>> > > While for future iterations of MLS, we might want to consider a solut=
ion that is more integral to the protocol, we are aware that the authors wan=
t to avoid breaking changes at this point. With the entropy pool, we thus pr=
opose a solution that does not affect the protocol flow, but that still offe=
rs significant advantages over no mitigations at all.
>> > >=20
>> > > Cheers,
>> > > Konrad
>> > >=20
>> > > _______________________________________________
>> > > MLS mailing list
>> > > MLS@ietf.org
>> > > https://www.ietf.org/mailman/listinfo/mls
>>=20
>> _______________________________________________
>> MLS mailing list
>> MLS@ietf.org
>> https://www.ietf.org/mailman/listinfo/mls

--Apple-Mail-DE929DB5-2D42-4463-B125-599295DD9583
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr">This is definitely a good a=
rgument against, I agree.</div><div dir=3D"ltr"><br><blockquote type=3D"cite=
">On Mar 30, 2021, at 11:01 PM, Brendan McMillion &lt;brendan@cloudflare.com=
&gt; wrote:<br><br></blockquote></div><blockquote type=3D"cite"><div dir=3D"=
ltr">=EF=BB=BF<div dir=3D"ltr"><div>Hey Konrad</div><div><br></div><div>Than=
ks for writing this up. However, I feel pretty strongly opposed to this idea=
, just as a matter of maintaining proper layers of abstraction. MLS implemen=
tations aren't remotely the only things on a user's system that require stro=
ng randomness, which is why every OS has its own CSPRNG. Those CSPRNGs are g=
oing to be much more robust, better designed, and thoroughly audited than an=
ything we'd implement. Instead, it's more likely we'd have MLS implementatio=
ns do this incorrectly and introduce more randomness-related vulnerabilities=
 than we prevented.<br>&nbsp;</div></div><br><div class=3D"gmail_quote"><div=
 dir=3D"ltr" class=3D"gmail_attr">On Tue, Mar 30, 2021 at 2:25 AM Konrad Koh=
brok &lt;<a href=3D"mailto:konrad.kohbrok@datashrine.de">konrad.kohbrok@data=
shrine.de</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex">Great questions. I really should have included our thoughts on the th=
reat model.<br>
<br>
We don't assume the entropy pool to be more protected than any other secret i=
n MLS.<br>
<br>
Functionally, we want the pool to allow the following: <br>
- a party should be able to accrue entropy over time using the OS's RNG<br>
- a party should be able to inject entropy from other sources (in particular=
 secrets derived from the epoch_secret of any of the party's groups whenever=
 a fresh commit comes in)<br>
<br>
Assuming the OS's RNG is really bad (e.g. it spits out only zeroes), then a p=
arty can still have decent entropy once it receives commits from groups that=
 it is in. Any party that wants to predict the entropy in the pool would hav=
e to know every secret that is injected into the pool. That means that an ad=
versary would have to compromise all of the party's groups to predict secret=
s extracted from the entropy pool.<br>
<br>
Of course, the pool will take some time to accrue entropy from various sourc=
es, so it doesn't help if the adversary is present from the start, but it wi=
ll help if the adversary compromises a party later on. If that happens, then=
 the compromised party can recover if the adversary misses (i.e. doesn't int=
ercept and decrypt) any commit from another party after the compromise.<br>
<br>
Now we have to make sure that the design doesn't give us any disadvantages o=
ver just sampling from the OS's RNG every time we need fresh randomness.<br>=

<br>
Let's assume full state compromise. Then<br>
1) the adversary can't obtain entropy extracted from the pool in the past (b=
ecause it's essentially a KDF-chain, just as the key schedule)<br>
2) the adversary can't predict what entropy the client will extract in the f=
uture if one of the following is true:<br>
&nbsp; - the OS's RNG is good<br>
&nbsp; - a commit from a group arrives, where the group itself is not compro=
mised<br>
&nbsp; - any other external entropy gets injected that the adversary doesn't=
 have access to (e.g. a signature from a secret key that is kept secure in a=
n HSM)<br>
<br>
To summarize: It's no silver bullet against bad entropy in general, but it's=
 cheap, no worse than just relying on the OS's RNG and provides a framework t=
o accrue randomness over time from various sources even if the OS's RNG is b=
ad/compromised and it allows parties to recover from compromise in that case=
.<br>
<br>
Hope that shed some light on things.<br>
<br>
Cheers,<br>
Konrad<br>
<br>
<br>
<br>
&gt; Benjamin Beurdouche &lt;<a href=3D"mailto:benjamin.beurdouche@inria.fr"=
 target=3D"_blank">benjamin.beurdouche@inria.fr</a>&gt; hat am 30.03.2021 09=
:53 geschrieben:<br>
&gt; <br>
&gt;&nbsp; <br>
&gt; Hi all,<br>
&gt; <br>
&gt; I like this idea. I am not fully clear about the threat model, though.<=
br>
&gt; <br>
&gt; =46rom reading this, it looks like we assume that the adversary that co=
mpromised a <br>
&gt; principal doesn=E2=80=99t have complete control the entropy pool.<br>
&gt; <br>
&gt; This is in contrast over what we assume of the AEAD keys or even the KE=
M keys<br>
&gt; where a full state compromise will gain access to the values.<br>
&gt; <br>
&gt; However it looks very close to the assumptions about additional protect=
ions for signing keys.<br>
&gt; E.g., not directly accessible, and behind an interface that an adversar=
y can query for certain operations<br>
&gt; through an API (e.g. when is stored in an HSM, co-processor or a functi=
onal secure enclave).<br>
&gt; <br>
&gt; Am I reading this properly?<br>
&gt; If yes, I can understand the value in this threat model, but we should m=
ake it clear that the<br>
&gt; entropy pool has to get these additional protections to provide these g=
ood properties.<br>
&gt; <br>
&gt; Seems to me like a good improvement in all cases anyway, so I think we s=
hould consider it.<br>
&gt; <br>
&gt; Thanks!<br>
&gt; Ben<br>
&gt; <br>
&gt; &gt; On 30 Mar 2021, at 09:27, Konrad Kohbrok &lt;<a href=3D"mailto:kon=
rad.kohbrok@datashrine.de" target=3D"_blank">konrad.kohbrok@datashrine.de</a=
>&gt; wrote:<br>
&gt; &gt; <br>
&gt; &gt; Hi everyone,<br>
&gt; &gt; <br>
&gt; &gt; MLS is a protocol that is very vulnerable to individual parties wi=
th bad randomness. For example, when a party joins a group, the secrecy of t=
he group's key material relies on the quality of that party's key material. S=
imilarly, when doing an external join, the groups entropy is completely repl=
aced by that of the joining member.<br>
&gt; &gt; <br>
&gt; &gt; There are multiple ways to mitigate this threat and Jo=C3=ABl and S=
andro proposed a few of them in the following mail to the list: <a href=3D"h=
ttps://mailarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/" rel=3D=
"noreferrer" target=3D"_blank">https://mailarchive.ietf.org/arch/msg/mls/ZR8=
4smU5xeLrziNTk5W1P1Z1nQI/</a><br>
&gt; &gt; <br>
&gt; &gt; Concretely, there were two approaches: one that would be baked int=
o the protocol (essentially using a secret derived from old path secrets to i=
nject into new ones in addition to the current approach) and one that would m=
andate the use of an entropy pool.<br>
&gt; &gt; <br>
&gt; &gt; The ideas were discussed a bit at the time, but nothing has happen=
ed since then. Jo=C3=ABl, Sandro and I have just opened a PR with a concrete=
 design for an entropy pool that is modeled after the key schedule (<a href=3D=
"https://github.com/mlswg/mls-protocol/pull/467" rel=3D"noreferrer" target=3D=
"_blank">https://github.com/mlswg/mls-protocol/pull/467</a>). Concretely, it=
 allows gathering entropy over time and for parties with a bad entropy sourc=
e to profit from parties with a good one without compromising security.<br>
&gt; &gt; <br>
&gt; &gt; While for future iterations of MLS, we might want to consider a so=
lution that is more integral to the protocol, we are aware that the authors w=
ant to avoid breaking changes at this point. With the entropy pool, we thus p=
ropose a solution that does not affect the protocol flow, but that still off=
ers significant advantages over no mitigations at all.<br>
&gt; &gt; <br>
&gt; &gt; Cheers,<br>
&gt; &gt; Konrad<br>
&gt; &gt; <br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; MLS mailing list<br>
&gt; &gt; <a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a>=
<br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
<br>
_______________________________________________<br>
MLS mailing list<br>
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" tar=
get=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
</blockquote></div>
</div></blockquote></body></html>=

--Apple-Mail-DE929DB5-2D42-4463-B125-599295DD9583--


From nobody Wed Mar 31 00:41:47 2021
Return-Path: <konrad.kohbrok@datashrine.de>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5BB13A1E7C for <mls@ietfa.amsl.com>; Wed, 31 Mar 2021 00:41:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 PAuvtSidUGtO for <mls@ietfa.amsl.com>; Wed, 31 Mar 2021 00:41:41 -0700 (PDT)
Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050::465:201]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D88343A1E7D for <mls@ietf.org>; Wed, 31 Mar 2021 00:41:40 -0700 (PDT)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4F9JD137W8zQk1W; Wed, 31 Mar 2021 09:41:37 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id vBMQ2rN2dsG3; Wed, 31 Mar 2021 09:41:30 +0200 (CEST)
Date: Wed, 31 Mar 2021 09:41:28 +0200 (CEST)
From: Konrad Kohbrok <konrad.kohbrok@datashrine.de>
To: Brendan McMillion <brendan@cloudflare.com>
Cc: Benjamin Beurdouche <benjamin.beurdouche@inria.fr>, ML Messaging Layer Security <mls@ietf.org>
Message-ID: <535299944.41006.1617176490395@office.mailbox.org>
In-Reply-To: <CABP-pSRLXdiowmd-GO601fj3SLqVJAq92ULOsMCKi-9aVS12Eg@mail.gmail.com>
References: <1529628012.30519.1617089251424@office.mailbox.org> <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr> <965197897.32483.1617096310176@office.mailbox.org> <CABP-pSRLXdiowmd-GO601fj3SLqVJAq92ULOsMCKi-9aVS12Eg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Normal
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -7.03 / 15.00 / 15.00
X-Rspamd-Queue-Id: 3514617CE
X-Rspamd-UID: 9b3e43
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/s7E9z97WsdD_GRVmA3U5anMFRz0>
Subject: Re: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2021 07:41:46 -0000

Hi Brendan,

Thanks for your feedback! You make two good arguments here, that I want to =
address independently.

The first is the maintenance of layers of abstraction. Yes, ultimately, we'=
d like to be able to rely on the OS's (CSP)RNG, but events in the past (see=
 the introduction of [1] for a few examples) have shown that they are not a=
lways too reliable. As a consequence, protocols should be designed to be ro=
bust against bad sources of randomness. In particular, our design allows th=
e inclusion of "remote" sources of randomness, which is something the OS's =
RNG can't provide. In addition, I'd like to mention that we're not intendin=
g to replace the OS's RNG, but rather complement it. Note, that the design =
ensures that no secret can be extracted from the pool without retrieving fr=
esh randomness from the OS's RNG.

This brings me to the second point, where I agree that we should keep MLS f=
ree from unnecessary complexity that makes it more prone to bugs and you're=
 right in that the source of randomness is a particularly fundamental and t=
hus vulnerable part of MLS. However, the design is conceivably simple and u=
ses the same, tried, tested and provably secure mechanism that is used in t=
he key schedule of TLS and MLS: a simple extract-expand cycle. See [2] for =
a security proof of the MLS key schedule, which can easily be adapted to th=
e design of the entropy pool.

To summarize, we're not proposing to replace the OS's RNG, but rather exten=
d it such that additional sources of entropy can be included. The mechanism=
 is simple and, in my opinion, reasonably easy to review, implement and pro=
ve secure without additional assumptions.

Cheers,
Konrad

[1] https://eprint.iacr.org/2018/1057
[2] https://eprint.iacr.org/2021/137


> Brendan McMillion <brendan@cloudflare.com> hat am 30.03.2021 23:01 geschr=
ieben:
>=20
>=20
> Hey Konrad
>=20
> Thanks for writing this up. However, I feel pretty strongly opposed to th=
is idea, just as a matter of maintaining proper layers of abstraction. MLS =
implementations aren't remotely the only things on a user's system that req=
uire strong randomness, which is why every OS has its own CSPRNG. Those CSP=
RNGs are going to be much more robust, better designed, and thoroughly audi=
ted than anything we'd implement. Instead, it's more likely we'd have MLS i=
mplementations do this incorrectly and introduce more randomness-related vu=
lnerabilities than we prevented.
>=20
>=20
>=20
> On Tue, Mar 30, 2021 at 2:25 AM Konrad Kohbrok <konrad.kohbrok@datashrine=
.de> wrote:
> > Great questions. I really should have included our thoughts on the thre=
at model.
> > =20
> >  We don't assume the entropy pool to be more protected than any other s=
ecret in MLS.
> > =20
> >  Functionally, we want the pool to allow the following:=20
> >  - a party should be able to accrue entropy over time using the OS's RN=
G
> >  - a party should be able to inject entropy from other sources (in part=
icular secrets derived from the epoch_secret of any of the party's groups w=
henever a fresh commit comes in)
> > =20
> >  Assuming the OS's RNG is really bad (e.g. it spits out only zeroes), t=
hen a party can still have decent entropy once it receives commits from gro=
ups that it is in. Any party that wants to predict the entropy in the pool =
would have to know every secret that is injected into the pool. That means =
that an adversary would have to compromise all of the party's groups to pre=
dict secrets extracted from the entropy pool.
> > =20
> >  Of course, the pool will take some time to accrue entropy from various=
 sources, so it doesn't help if the adversary is present from the start, bu=
t it will help if the adversary compromises a party later on. If that happe=
ns, then the compromised party can recover if the adversary misses (i.e. do=
esn't intercept and decrypt) any commit from another party after the compro=
mise.
> > =20
> >  Now we have to make sure that the design doesn't give us any disadvant=
ages over just sampling from the OS's RNG every time we need fresh randomne=
ss.
> > =20
> >  Let's assume full state compromise. Then
> >  1) the adversary can't obtain entropy extracted from the pool in the p=
ast (because it's essentially a KDF-chain, just as the key schedule)
> >  2) the adversary can't predict what entropy the client will extract in=
 the future if one of the following is true:
> >  - the OS's RNG is good
> >  - a commit from a group arrives, where the group itself is not comprom=
ised
> >  - any other external entropy gets injected that the adversary doesn't =
have access to (e.g. a signature from a secret key that is kept secure in a=
n HSM)
> > =20
> >  To summarize: It's no silver bullet against bad entropy in general, bu=
t it's cheap, no worse than just relying on the OS's RNG and provides a fra=
mework to accrue randomness over time from various sources even if the OS's=
 RNG is bad/compromised and it allows parties to recover from compromise in=
 that case.
> > =20
> >  Hope that shed some light on things.
> > =20
> >  Cheers,
> >  Konrad
> > =20
> > =20
> > =20
> >  > Benjamin Beurdouche <benjamin.beurdouche@inria.fr> hat am 30.03.2021=
 09:53 geschrieben:
> >  >=20
> >  >=20
> >  > Hi all,
> >  >=20
> >  > I like this idea. I am not fully clear about the threat model, thoug=
h.
> >  >=20
> >  > From reading this, it looks like we assume that the adversary that c=
ompromised a=20
> >  > principal doesn=E2=80=99t have complete control the entropy pool.
> >  >=20
> >  > This is in contrast over what we assume of the AEAD keys or even the=
 KEM keys
> >  > where a full state compromise will gain access to the values.
> >  >=20
> >  > However it looks very close to the assumptions about additional prot=
ections for signing keys.
> >  > E.g., not directly accessible, and behind an interface that an adver=
sary can query for certain operations
> >  > through an API (e.g. when is stored in an HSM, co-processor or a fun=
ctional secure enclave).
> >  >=20
> >  > Am I reading this properly?
> >  > If yes, I can understand the value in this threat model, but we shou=
ld make it clear that the
> >  > entropy pool has to get these additional protections to provide thes=
e good properties.
> >  >=20
> >  > Seems to me like a good improvement in all cases anyway, so I think =
we should consider it.
> >  >=20
> >  > Thanks!
> >  > Ben
> >  >=20
> >  > > On 30 Mar 2021, at 09:27, Konrad Kohbrok <konrad.kohbrok@datashrin=
e.de> wrote:
> >  > >=20
> >  > > Hi everyone,
> >  > >=20
> >  > > MLS is a protocol that is very vulnerable to individual parties wi=
th bad randomness. For example, when a party joins a group, the secrecy of =
the group's key material relies on the quality of that party's key material=
. Similarly, when doing an external join, the groups entropy is completely =
replaced by that of the joining member.
> >  > >=20
> >  > > There are multiple ways to mitigate this threat and Jo=C3=ABl and =
Sandro proposed a few of them in the following mail to the list: https://ma=
ilarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/
> >  > >=20
> >  > > Concretely, there were two approaches: one that would be baked int=
o the protocol (essentially using a secret derived from old path secrets to=
 inject into new ones in addition to the current approach) and one that wou=
ld mandate the use of an entropy pool.
> >  > >=20
> >  > > The ideas were discussed a bit at the time, but nothing has happen=
ed since then. Jo=C3=ABl, Sandro and I have just opened a PR with a concret=
e design for an entropy pool that is modeled after the key schedule (https:=
//github.com/mlswg/mls-protocol/pull/467). Concretely, it allows gathering =
entropy over time and for parties with a bad entropy source to profit from =
parties with a good one without compromising security.
> >  > >=20
> >  > > While for future iterations of MLS, we might want to consider a so=
lution that is more integral to the protocol, we are aware that the authors=
 want to avoid breaking changes at this point. With the entropy pool, we th=
us propose a solution that does not affect the protocol flow, but that stil=
l offers significant advantages over no mitigations at all.
> >  > >=20
> >  > > Cheers,
> >  > > Konrad
> >  > >=20
> >  > > _______________________________________________
> >  > > MLS mailing list
> >  > > MLS@ietf.org
> >  > > https://www.ietf.org/mailman/listinfo/mls
> > =20
> >  _______________________________________________
> >  MLS mailing list
> >  MLS@ietf.org
> >  https://www.ietf.org/mailman/listinfo/mls
> >


From nobody Wed Mar 31 00:56:41 2021
Return-Path: <franziskuskiefer@gmail.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8DA513A1EEF for <mls@ietfa.amsl.com>; Wed, 31 Mar 2021 00:56:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level: 
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 16kw7khYMGrh for <mls@ietfa.amsl.com>; Wed, 31 Mar 2021 00:56:34 -0700 (PDT)
Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 738C03A1EFF for <mls@ietf.org>; Wed, 31 Mar 2021 00:56:12 -0700 (PDT)
Received: by mail-ej1-x629.google.com with SMTP id a7so28644025ejs.3 for <mls@ietf.org>; Wed, 31 Mar 2021 00:56:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mylvKtncDO2Wl7akA6nGjudDe4fOv00Fw4P52+KS+VA=; b=lE0y4vQT5qYVG6BNVAVxjrti4z0Uooh76as/SDGUOsE0WSl4WzvEv/FglHHrYOXSSv /uWe4/tsU+HxGQzD1QMHv0ckOIdIxoWR8FSo+cGXJuaR4WOaB0mnzSWq94ROpQkYL3Z+ QMLQ0ExefXAiaCFFac9alv+DhJGYDsDkUIFaHDvSA2Yflo3uqWWa1hnZrEBh0El4b2Kl 5QJO1kP27s4SWaJRA63ETdWSeu1S6aGyXSgn032mjGOu8JfhmtqVDACiv7FfqnHdFxaP j62X2DKmW7D/3W0KihGsb2aeoHUJxZXcVzRPkilOzjgnvt819Td/etLAwMisylEwR+If HjAQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mylvKtncDO2Wl7akA6nGjudDe4fOv00Fw4P52+KS+VA=; b=AiWcKGlj1KrDPonEoEVmimim/OiUg3zVZkOPL2oz9mNOX+Za8OQ0PxzlxvOsJcfMyz Trsw+MWdz2ebGE0ImydlD8TEyEbcplgrYGotDdcXbettCIBvAgrDvmwgMubsCXvON8DW dVP6rjAoPGPowRobuEj6H+Q8mw8Jv6slEnbXUViIi9gNecnm0uMeeAO0Q/JvBNZE3jbC 9CR1tUq7UE1i7eemoINyKuEWIaO4OCgY33rY5AZKm1CmJMvydAKEwLzfDmD7rBm2ME20 vq3SID6JiuoM8/mf/EO1rN56zxDLimQmuW384Fm0cPSgXNpkBTVZBMv9RN1c96sdJvY9 3Yyw==
X-Gm-Message-State: AOAM532Fo4C+Zm33618vD5rYI572u4C/58Pc5JranAr/7eYN0Dy9iawZ ueu0azfwt5TbzjXQlBB3fVolq9kE67FLfKm6M40=
X-Google-Smtp-Source: ABdhPJzcF5Ck9sGKrCB7QkokautzvaUjiH++ln448ppcPGUxE+Z5t0zJj8OjtIs4FL7pHe13ZAlX2KMBO6BDtW5i2F8=
X-Received: by 2002:a17:907:e87:: with SMTP id ho7mr2134033ejc.2.1617177370172;  Wed, 31 Mar 2021 00:56:10 -0700 (PDT)
MIME-Version: 1.0
References: <1529628012.30519.1617089251424@office.mailbox.org> <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr> <965197897.32483.1617096310176@office.mailbox.org> <CABP-pSRLXdiowmd-GO601fj3SLqVJAq92ULOsMCKi-9aVS12Eg@mail.gmail.com> <535299944.41006.1617176490395@office.mailbox.org>
In-Reply-To: <535299944.41006.1617176490395@office.mailbox.org>
From: Franziskus Kiefer <franziskuskiefer@gmail.com>
Date: Wed, 31 Mar 2021 09:55:58 +0200
Message-ID: <CAJowLmNOOmeaLONAu62wzdTGK=p340mLugo6gZ0k9C1ngotNsA@mail.gmail.com>
To: Konrad Kohbrok <konrad.kohbrok@datashrine.de>
Cc: Brendan McMillion <brendan@cloudflare.com>, ML Messaging Layer Security <mls@ietf.org>,  Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
Content-Type: multipart/alternative; boundary="000000000000b0202c05bed0729e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/AOx89Ndrp76c0jRMikQasBVTTLo>
Subject: Re: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2021 07:56:40 -0000

--000000000000b0202c05bed0729e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Konrad, all

I agree with Benjamin and Brendan that the protocol is not the right place
for something like this.
Since you already mention [1], don't you think it would be better to
recommend that implementations use RFC 8937 [2] and give an example of how
to instantiate G'(n)?

Best,
Franziskus

[1] https://eprint.iacr.org/2018/1057
[2] https://www.rfc-editor.org/rfc/rfc8937.html

On Wed, 31 Mar 2021 at 09:41, Konrad Kohbrok <konrad.kohbrok@datashrine.de>
wrote:

> Hi Brendan,
>
> Thanks for your feedback! You make two good arguments here, that I want t=
o
> address independently.
>
> The first is the maintenance of layers of abstraction. Yes, ultimately,
> we'd like to be able to rely on the OS's (CSP)RNG, but events in the past
> (see the introduction of [1] for a few examples) have shown that they are
> not always too reliable. As a consequence, protocols should be designed t=
o
> be robust against bad sources of randomness. In particular, our design
> allows the inclusion of "remote" sources of randomness, which is somethin=
g
> the OS's RNG can't provide. In addition, I'd like to mention that we're n=
ot
> intending to replace the OS's RNG, but rather complement it. Note, that t=
he
> design ensures that no secret can be extracted from the pool without
> retrieving fresh randomness from the OS's RNG.
>
> This brings me to the second point, where I agree that we should keep MLS
> free from unnecessary complexity that makes it more prone to bugs and
> you're right in that the source of randomness is a particularly fundament=
al
> and thus vulnerable part of MLS. However, the design is conceivably simpl=
e
> and uses the same, tried, tested and provably secure mechanism that is us=
ed
> in the key schedule of TLS and MLS: a simple extract-expand cycle. See [2=
]
> for a security proof of the MLS key schedule, which can easily be adapted
> to the design of the entropy pool.
>
> To summarize, we're not proposing to replace the OS's RNG, but rather
> extend it such that additional sources of entropy can be included. The
> mechanism is simple and, in my opinion, reasonably easy to review,
> implement and prove secure without additional assumptions.
>
> Cheers,
> Konrad
>
> [1] https://eprint.iacr.org/2018/1057
> [2] https://eprint.iacr.org/2021/137
>
>
> > Brendan McMillion <brendan@cloudflare.com> hat am 30.03.2021 23:01
> geschrieben:
> >
> >
> > Hey Konrad
> >
> > Thanks for writing this up. However, I feel pretty strongly opposed to
> this idea, just as a matter of maintaining proper layers of abstraction.
> MLS implementations aren't remotely the only things on a user's system th=
at
> require strong randomness, which is why every OS has its own CSPRNG. Thos=
e
> CSPRNGs are going to be much more robust, better designed, and thoroughly
> audited than anything we'd implement. Instead, it's more likely we'd have
> MLS implementations do this incorrectly and introduce more
> randomness-related vulnerabilities than we prevented.
> >
> >
> >
> > On Tue, Mar 30, 2021 at 2:25 AM Konrad Kohbrok <
> konrad.kohbrok@datashrine.de> wrote:
> > > Great questions. I really should have included our thoughts on the
> threat model.
> > >
> > >  We don't assume the entropy pool to be more protected than any other
> secret in MLS.
> > >
> > >  Functionally, we want the pool to allow the following:
> > >  - a party should be able to accrue entropy over time using the OS's
> RNG
> > >  - a party should be able to inject entropy from other sources (in
> particular secrets derived from the epoch_secret of any of the party's
> groups whenever a fresh commit comes in)
> > >
> > >  Assuming the OS's RNG is really bad (e.g. it spits out only zeroes),
> then a party can still have decent entropy once it receives commits from
> groups that it is in. Any party that wants to predict the entropy in the
> pool would have to know every secret that is injected into the pool. That
> means that an adversary would have to compromise all of the party's group=
s
> to predict secrets extracted from the entropy pool.
> > >
> > >  Of course, the pool will take some time to accrue entropy from
> various sources, so it doesn't help if the adversary is present from the
> start, but it will help if the adversary compromises a party later on. If
> that happens, then the compromised party can recover if the adversary
> misses (i.e. doesn't intercept and decrypt) any commit from another party
> after the compromise.
> > >
> > >  Now we have to make sure that the design doesn't give us any
> disadvantages over just sampling from the OS's RNG every time we need fre=
sh
> randomness.
> > >
> > >  Let's assume full state compromise. Then
> > >  1) the adversary can't obtain entropy extracted from the pool in the
> past (because it's essentially a KDF-chain, just as the key schedule)
> > >  2) the adversary can't predict what entropy the client will extract
> in the future if one of the following is true:
> > >  - the OS's RNG is good
> > >  - a commit from a group arrives, where the group itself is not
> compromised
> > >  - any other external entropy gets injected that the adversary doesn'=
t
> have access to (e.g. a signature from a secret key that is kept secure in
> an HSM)
> > >
> > >  To summarize: It's no silver bullet against bad entropy in general,
> but it's cheap, no worse than just relying on the OS's RNG and provides a
> framework to accrue randomness over time from various sources even if the
> OS's RNG is bad/compromised and it allows parties to recover from
> compromise in that case.
> > >
> > >  Hope that shed some light on things.
> > >
> > >  Cheers,
> > >  Konrad
> > >
> > >
> > >
> > >  > Benjamin Beurdouche <benjamin.beurdouche@inria.fr> hat am
> 30.03.2021 09:53 geschrieben:
> > >  >
> > >  >
> > >  > Hi all,
> > >  >
> > >  > I like this idea. I am not fully clear about the threat model,
> though.
> > >  >
> > >  > From reading this, it looks like we assume that the adversary that
> compromised a
> > >  > principal doesn=E2=80=99t have complete control the entropy pool.
> > >  >
> > >  > This is in contrast over what we assume of the AEAD keys or even
> the KEM keys
> > >  > where a full state compromise will gain access to the values.
> > >  >
> > >  > However it looks very close to the assumptions about additional
> protections for signing keys.
> > >  > E.g., not directly accessible, and behind an interface that an
> adversary can query for certain operations
> > >  > through an API (e.g. when is stored in an HSM, co-processor or a
> functional secure enclave).
> > >  >
> > >  > Am I reading this properly?
> > >  > If yes, I can understand the value in this threat model, but we
> should make it clear that the
> > >  > entropy pool has to get these additional protections to provide
> these good properties.
> > >  >
> > >  > Seems to me like a good improvement in all cases anyway, so I thin=
k
> we should consider it.
> > >  >
> > >  > Thanks!
> > >  > Ben
> > >  >
> > >  > > On 30 Mar 2021, at 09:27, Konrad Kohbrok <
> konrad.kohbrok@datashrine.de> wrote:
> > >  > >
> > >  > > Hi everyone,
> > >  > >
> > >  > > MLS is a protocol that is very vulnerable to individual parties
> with bad randomness. For example, when a party joins a group, the secrecy
> of the group's key material relies on the quality of that party's key
> material. Similarly, when doing an external join, the groups entropy is
> completely replaced by that of the joining member.
> > >  > >
> > >  > > There are multiple ways to mitigate this threat and Jo=C3=ABl an=
d
> Sandro proposed a few of them in the following mail to the list:
> https://mailarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/
> > >  > >
> > >  > > Concretely, there were two approaches: one that would be baked
> into the protocol (essentially using a secret derived from old path secre=
ts
> to inject into new ones in addition to the current approach) and one that
> would mandate the use of an entropy pool.
> > >  > >
> > >  > > The ideas were discussed a bit at the time, but nothing has
> happened since then. Jo=C3=ABl, Sandro and I have just opened a PR with a
> concrete design for an entropy pool that is modeled after the key schedul=
e (
> https://github.com/mlswg/mls-protocol/pull/467). Concretely, it allows
> gathering entropy over time and for parties with a bad entropy source to
> profit from parties with a good one without compromising security.
> > >  > >
> > >  > > While for future iterations of MLS, we might want to consider a
> solution that is more integral to the protocol, we are aware that the
> authors want to avoid breaking changes at this point. With the entropy
> pool, we thus propose a solution that does not affect the protocol flow,
> but that still offers significant advantages over no mitigations at all.
> > >  > >
> > >  > > Cheers,
> > >  > > Konrad
> > >  > >
> > >  > > _______________________________________________
> > >  > > MLS mailing list
> > >  > > MLS@ietf.org
> > >  > > https://www.ietf.org/mailman/listinfo/mls
> > >
> > >  _______________________________________________
> > >  MLS mailing list
> > >  MLS@ietf.org
> > >  https://www.ietf.org/mailman/listinfo/mls
> > >
>
> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls
>

--000000000000b0202c05bed0729e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Konrad, all</div><div><br></div><div>I agree with =
Benjamin and Brendan that the protocol is not the right place for something=
 like this.</div><div>Since you already mention [1], don&#39;t you think it=
 would be better to recommend that implementations use RFC 8937 [2] and giv=
e an example of how to instantiate G&#39;(n)?</div><div><br></div><div>Best=
,</div><div>Franziskus<br></div><div><br></div><div>[1] <a href=3D"https://=
eprint.iacr.org/2018/1057" rel=3D"noreferrer" target=3D"_blank">https://epr=
int.iacr.org/2018/1057</a></div><div>[2] <a href=3D"https://www.rfc-editor.=
org/rfc/rfc8937.html">https://www.rfc-editor.org/rfc/rfc8937.html</a> <br><=
/div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_a=
ttr">On Wed, 31 Mar 2021 at 09:41, Konrad Kohbrok &lt;<a href=3D"mailto:kon=
rad.kohbrok@datashrine.de">konrad.kohbrok@datashrine.de</a>&gt; wrote:<br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Brendan,<br>
<br>
Thanks for your feedback! You make two good arguments here, that I want to =
address independently.<br>
<br>
The first is the maintenance of layers of abstraction. Yes, ultimately, we&=
#39;d like to be able to rely on the OS&#39;s (CSP)RNG, but events in the p=
ast (see the introduction of [1] for a few examples) have shown that they a=
re not always too reliable. As a consequence, protocols should be designed =
to be robust against bad sources of randomness. In particular, our design a=
llows the inclusion of &quot;remote&quot; sources of randomness, which is s=
omething the OS&#39;s RNG can&#39;t provide. In addition, I&#39;d like to m=
ention that we&#39;re not intending to replace the OS&#39;s RNG, but rather=
 complement it. Note, that the design ensures that no secret can be extract=
ed from the pool without retrieving fresh randomness from the OS&#39;s RNG.=
<br>
<br>
This brings me to the second point, where I agree that we should keep MLS f=
ree from unnecessary complexity that makes it more prone to bugs and you&#3=
9;re right in that the source of randomness is a particularly fundamental a=
nd thus vulnerable part of MLS. However, the design is conceivably simple a=
nd uses the same, tried, tested and provably secure mechanism that is used =
in the key schedule of TLS and MLS: a simple extract-expand cycle. See [2] =
for a security proof of the MLS key schedule, which can easily be adapted t=
o the design of the entropy pool.<br>
<br>
To summarize, we&#39;re not proposing to replace the OS&#39;s RNG, but rath=
er extend it such that additional sources of entropy can be included. The m=
echanism is simple and, in my opinion, reasonably easy to review, implement=
 and prove secure without additional assumptions.<br>
<br>
Cheers,<br>
Konrad<br>
<br>
[1] <a href=3D"https://eprint.iacr.org/2018/1057" rel=3D"noreferrer" target=
=3D"_blank">https://eprint.iacr.org/2018/1057</a><br>
[2] <a href=3D"https://eprint.iacr.org/2021/137" rel=3D"noreferrer" target=
=3D"_blank">https://eprint.iacr.org/2021/137</a><br>
<br>
<br>
&gt; Brendan McMillion &lt;<a href=3D"mailto:brendan@cloudflare.com" target=
=3D"_blank">brendan@cloudflare.com</a>&gt; hat am 30.03.2021 23:01 geschrie=
ben:<br>
&gt; <br>
&gt; <br>
&gt; Hey Konrad<br>
&gt; <br>
&gt; Thanks for writing this up. However, I feel pretty strongly opposed to=
 this idea, just as a matter of maintaining proper layers of abstraction. M=
LS implementations aren&#39;t remotely the only things on a user&#39;s syst=
em that require strong randomness, which is why every OS has its own CSPRNG=
. Those CSPRNGs are going to be much more robust, better designed, and thor=
oughly audited than anything we&#39;d implement. Instead, it&#39;s more lik=
ely we&#39;d have MLS implementations do this incorrectly and introduce mor=
e randomness-related vulnerabilities than we prevented.<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Tue, Mar 30, 2021 at 2:25 AM Konrad Kohbrok &lt;<a href=3D"mailto:k=
onrad.kohbrok@datashrine.de" target=3D"_blank">konrad.kohbrok@datashrine.de=
</a>&gt; wrote:<br>
&gt; &gt; Great questions. I really should have included our thoughts on th=
e threat model.<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 We don&#39;t assume the entropy pool to be more protected t=
han any other secret in MLS.<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 Functionally, we want the pool to allow the following: <br>
&gt; &gt;=C2=A0 - a party should be able to accrue entropy over time using =
the OS&#39;s RNG<br>
&gt; &gt;=C2=A0 - a party should be able to inject entropy from other sourc=
es (in particular secrets derived from the epoch_secret of any of the party=
&#39;s groups whenever a fresh commit comes in)<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 Assuming the OS&#39;s RNG is really bad (e.g. it spits out =
only zeroes), then a party can still have decent entropy once it receives c=
ommits from groups that it is in. Any party that wants to predict the entro=
py in the pool would have to know every secret that is injected into the po=
ol. That means that an adversary would have to compromise all of the party&=
#39;s groups to predict secrets extracted from the entropy pool.<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 Of course, the pool will take some time to accrue entropy f=
rom various sources, so it doesn&#39;t help if the adversary is present fro=
m the start, but it will help if the adversary compromises a party later on=
. If that happens, then the compromised party can recover if the adversary =
misses (i.e. doesn&#39;t intercept and decrypt) any commit from another par=
ty after the compromise.<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 Now we have to make sure that the design doesn&#39;t give u=
s any disadvantages over just sampling from the OS&#39;s RNG every time we =
need fresh randomness.<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 Let&#39;s assume full state compromise. Then<br>
&gt; &gt;=C2=A0 1) the adversary can&#39;t obtain entropy extracted from th=
e pool in the past (because it&#39;s essentially a KDF-chain, just as the k=
ey schedule)<br>
&gt; &gt;=C2=A0 2) the adversary can&#39;t predict what entropy the client =
will extract in the future if one of the following is true:<br>
&gt; &gt;=C2=A0 - the OS&#39;s RNG is good<br>
&gt; &gt;=C2=A0 - a commit from a group arrives, where the group itself is =
not compromised<br>
&gt; &gt;=C2=A0 - any other external entropy gets injected that the adversa=
ry doesn&#39;t have access to (e.g. a signature from a secret key that is k=
ept secure in an HSM)<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 To summarize: It&#39;s no silver bullet against bad entropy=
 in general, but it&#39;s cheap, no worse than just relying on the OS&#39;s=
 RNG and provides a framework to accrue randomness over time from various s=
ources even if the OS&#39;s RNG is bad/compromised and it allows parties to=
 recover from compromise in that case.<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 Hope that shed some light on things.<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 Cheers,<br>
&gt; &gt;=C2=A0 Konrad<br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 &gt; Benjamin Beurdouche &lt;<a href=3D"mailto:benjamin.beu=
rdouche@inria.fr" target=3D"_blank">benjamin.beurdouche@inria.fr</a>&gt; ha=
t am 30.03.2021 09:53 geschrieben:<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; Hi all,<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; I like this idea. I am not fully clear about the threa=
t model, though.<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; From reading this, it looks like we assume that the ad=
versary that compromised a <br>
&gt; &gt;=C2=A0 &gt; principal doesn=E2=80=99t have complete control the en=
tropy pool.<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; This is in contrast over what we assume of the AEAD ke=
ys or even the KEM keys<br>
&gt; &gt;=C2=A0 &gt; where a full state compromise will gain access to the =
values.<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; However it looks very close to the assumptions about a=
dditional protections for signing keys.<br>
&gt; &gt;=C2=A0 &gt; E.g., not directly accessible, and behind an interface=
 that an adversary can query for certain operations<br>
&gt; &gt;=C2=A0 &gt; through an API (e.g. when is stored in an HSM, co-proc=
essor or a functional secure enclave).<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; Am I reading this properly?<br>
&gt; &gt;=C2=A0 &gt; If yes, I can understand the value in this threat mode=
l, but we should make it clear that the<br>
&gt; &gt;=C2=A0 &gt; entropy pool has to get these additional protections t=
o provide these good properties.<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; Seems to me like a good improvement in all cases anywa=
y, so I think we should consider it.<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; Thanks!<br>
&gt; &gt;=C2=A0 &gt; Ben<br>
&gt; &gt;=C2=A0 &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; On 30 Mar 2021, at 09:27, Konrad Kohbrok &lt;<a h=
ref=3D"mailto:konrad.kohbrok@datashrine.de" target=3D"_blank">konrad.kohbro=
k@datashrine.de</a>&gt; wrote:<br>
&gt; &gt;=C2=A0 &gt; &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; Hi everyone,<br>
&gt; &gt;=C2=A0 &gt; &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; MLS is a protocol that is very vulnerable to indi=
vidual parties with bad randomness. For example, when a party joins a group=
, the secrecy of the group&#39;s key material relies on the quality of that=
 party&#39;s key material. Similarly, when doing an external join, the grou=
ps entropy is completely replaced by that of the joining member.<br>
&gt; &gt;=C2=A0 &gt; &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; There are multiple ways to mitigate this threat a=
nd Jo=C3=ABl and Sandro proposed a few of them in the following mail to the=
 list: <a href=3D"https://mailarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziN=
Tk5W1P1Z1nQI/" rel=3D"noreferrer" target=3D"_blank">https://mailarchive.iet=
f.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/</a><br>
&gt; &gt;=C2=A0 &gt; &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; Concretely, there were two approaches: one that w=
ould be baked into the protocol (essentially using a secret derived from ol=
d path secrets to inject into new ones in addition to the current approach)=
 and one that would mandate the use of an entropy pool.<br>
&gt; &gt;=C2=A0 &gt; &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; The ideas were discussed a bit at the time, but n=
othing has happened since then. Jo=C3=ABl, Sandro and I have just opened a =
PR with a concrete design for an entropy pool that is modeled after the key=
 schedule (<a href=3D"https://github.com/mlswg/mls-protocol/pull/467" rel=
=3D"noreferrer" target=3D"_blank">https://github.com/mlswg/mls-protocol/pul=
l/467</a>). Concretely, it allows gathering entropy over time and for parti=
es with a bad entropy source to profit from parties with a good one without=
 compromising security.<br>
&gt; &gt;=C2=A0 &gt; &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; While for future iterations of MLS, we might want=
 to consider a solution that is more integral to the protocol, we are aware=
 that the authors want to avoid breaking changes at this point. With the en=
tropy pool, we thus propose a solution that does not affect the protocol fl=
ow, but that still offers significant advantages over no mitigations at all=
.<br>
&gt; &gt;=C2=A0 &gt; &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; Cheers,<br>
&gt; &gt;=C2=A0 &gt; &gt; Konrad<br>
&gt; &gt;=C2=A0 &gt; &gt; <br>
&gt; &gt;=C2=A0 &gt; &gt; _______________________________________________<b=
r>
&gt; &gt;=C2=A0 &gt; &gt; MLS mailing list<br>
&gt; &gt;=C2=A0 &gt; &gt; <a href=3D"mailto:MLS@ietf.org" target=3D"_blank"=
>MLS@ietf.org</a><br>
&gt; &gt;=C2=A0 &gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/=
mls" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/list=
info/mls</a><br>
&gt; &gt;=C2=A0 <br>
&gt; &gt;=C2=A0 _______________________________________________<br>
&gt; &gt;=C2=A0 MLS mailing list<br>
&gt; &gt;=C2=A0 <a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.=
org</a><br>
&gt; &gt;=C2=A0 <a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=
=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/mls=
</a><br>
&gt; &gt;<br>
<br>
_______________________________________________<br>
MLS mailing list<br>
<a href=3D"mailto:MLS@ietf.org" target=3D"_blank">MLS@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/mls" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/mls</a><br>
</blockquote></div>

--000000000000b0202c05bed0729e--


From nobody Wed Mar 31 02:04:30 2021
Return-Path: <konrad.kohbrok@datashrine.de>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 39AE93A20F1 for <mls@ietfa.amsl.com>; Wed, 31 Mar 2021 02:04:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 907WYzl2AGwM for <mls@ietfa.amsl.com>; Wed, 31 Mar 2021 02:04:24 -0700 (PDT)
Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050::465:201]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 845093A20F0 for <mls@ietf.org>; Wed, 31 Mar 2021 02:04:24 -0700 (PDT)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4F9L3S3FkPzQk1W; Wed, 31 Mar 2021 11:04:20 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id 7h0IipbeFZ-j; Wed, 31 Mar 2021 11:04:13 +0200 (CEST)
Date: Wed, 31 Mar 2021 11:04:12 +0200 (CEST)
From: Konrad Kohbrok <konrad.kohbrok@datashrine.de>
To: Franziskus Kiefer <franziskuskiefer@gmail.com>
Cc: ML Messaging Layer Security <mls@ietf.org>, Brendan McMillion <brendan@cloudflare.com>, Benjamin Beurdouche <benjamin.beurdouche@inria.fr>
Message-ID: <596405221.416.1617181452901@office.mailbox.org>
In-Reply-To: <CAJowLmNOOmeaLONAu62wzdTGK=p340mLugo6gZ0k9C1ngotNsA@mail.gmail.com>
References: <1529628012.30519.1617089251424@office.mailbox.org> <DBED46A1-F3E3-4C79-B9C5-B13088F7B20D@inria.fr> <965197897.32483.1617096310176@office.mailbox.org> <CABP-pSRLXdiowmd-GO601fj3SLqVJAq92ULOsMCKi-9aVS12Eg@mail.gmail.com> <535299944.41006.1617176490395@office.mailbox.org> <CAJowLmNOOmeaLONAu62wzdTGK=p340mLugo6gZ0k9C1ngotNsA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Normal
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -7.65 / 15.00 / 15.00
X-Rspamd-Queue-Id: 154811860
X-Rspamd-UID: bcf82f
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/mKMjCezF9Ub8bm2pZUJizte5D2g>
Subject: Re: [MLS] Improving entropy in MLS
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 31 Mar 2021 09:04:29 -0000

Hi Franziskus,

Fundamentally, I believe that bad entropy is something we should address in=
 the spec and our PR is just one way to do that. Having an external documen=
t which we then reference from the spec would be another way, if that is wh=
at the WG prefers.

Regarding an instantiation of G'(n) as recommended by [1]: It's certainly a=
 good idea and including this in the entropy considerations is something we=
 should do. It should work nicely with the entropy pool as well.

I just want to point out that implementing the approach of [1] and having a=
n entropy pool is not quite the same. [1] proposes we leverage the existenc=
e of a long-term secret key (which potentially resides in an HSM or similar=
) to improve entropy, where our proposal does two different things: 1) it i=
ntroduces an entropy pool and 2) it allows the  injection of secrets from a=
 party's groups (which in turn originate from other parties).

Again, we should consider doing all of that, but the approaches are not the=
 same.

Konrad

[1] https://eprint.iacr.org/2018/1057


> Franziskus Kiefer <franziskuskiefer@gmail.com> hat am 31.03.2021 09:55 ge=
schrieben:
>=20
>=20
> Hi Konrad, all
>=20
> I agree with Benjamin and Brendan that the protocol is not the right plac=
e for something like this.
> Since you already mention [1], don't you think it would be better to reco=
mmend that implementations use RFC 8937 [2] and give an example of how to i=
nstantiate G'(n)?
>=20
> Best,
> Franziskus
>=20
> [1] https://eprint.iacr.org/2018/1057
> [2] https://www.rfc-editor.org/rfc/rfc8937.html=20
>=20
>=20
> On Wed, 31 Mar 2021 at 09:41, Konrad Kohbrok <konrad.kohbrok@datashrine.d=
e> wrote:
> > Hi Brendan,
> > =20
> >  Thanks for your feedback! You make two good arguments here, that I wan=
t to address independently.
> > =20
> >  The first is the maintenance of layers of abstraction. Yes, ultimately=
, we'd like to be able to rely on the OS's (CSP)RNG, but events in the past=
 (see the introduction of [1] for a few examples) have shown that they are =
not always too reliable. As a consequence, protocols should be designed to =
be robust against bad sources of randomness. In particular, our design allo=
ws the inclusion of "remote" sources of randomness, which is something the =
OS's RNG can't provide. In addition, I'd like to mention that we're not int=
ending to replace the OS's RNG, but rather complement it. Note, that the de=
sign ensures that no secret can be extracted from the pool without retrievi=
ng fresh randomness from the OS's RNG.
> > =20
> >  This brings me to the second point, where I agree that we should keep =
MLS free from unnecessary complexity that makes it more prone to bugs and y=
ou're right in that the source of randomness is a particularly fundamental =
and thus vulnerable part of MLS. However, the design is conceivably simple =
and uses the same, tried, tested and provably secure mechanism that is used=
 in the key schedule of TLS and MLS: a simple extract-expand cycle. See [2]=
 for a security proof of the MLS key schedule, which can easily be adapted =
to the design of the entropy pool.
> > =20
> >  To summarize, we're not proposing to replace the OS's RNG, but rather =
extend it such that additional sources of entropy can be included. The mech=
anism is simple and, in my opinion, reasonably easy to review, implement an=
d prove secure without additional assumptions.
> > =20
> >  Cheers,
> >  Konrad
> > =20
> >  [1] https://eprint.iacr.org/2018/1057
> >  [2] https://eprint.iacr.org/2021/137
> > =20
> > =20
> >  > Brendan McMillion <brendan@cloudflare.com> hat am 30.03.2021 23:01 g=
eschrieben:
> >  >=20
> >  >=20
> >  > Hey Konrad
> >  >=20
> >  > Thanks for writing this up. However, I feel pretty strongly opposed =
to this idea, just as a matter of maintaining proper layers of abstraction.=
 MLS implementations aren't remotely the only things on a user's system tha=
t require strong randomness, which is why every OS has its own CSPRNG. Thos=
e CSPRNGs are going to be much more robust, better designed, and thoroughly=
 audited than anything we'd implement. Instead, it's more likely we'd have =
MLS implementations do this incorrectly and introduce more randomness-relat=
ed vulnerabilities than we prevented.
> >  >=20
> >  >=20
> >  >=20
> >  > On Tue, Mar 30, 2021 at 2:25 AM Konrad Kohbrok <konrad.kohbrok@datas=
hrine.de> wrote:
> >  > > Great questions. I really should have included our thoughts on the=
 threat model.
> >  > >=20
> >  > > We don't assume the entropy pool to be more protected than any oth=
er secret in MLS.
> >  > >=20
> >  > > Functionally, we want the pool to allow the following:=20
> >  > > - a party should be able to accrue entropy over time using the OS'=
s RNG
> >  > > - a party should be able to inject entropy from other sources (in =
particular secrets derived from the epoch_secret of any of the party's grou=
ps whenever a fresh commit comes in)
> >  > >=20
> >  > > Assuming the OS's RNG is really bad (e.g. it spits out only zeroes=
), then a party can still have decent entropy once it receives commits from=
 groups that it is in. Any party that wants to predict the entropy in the p=
ool would have to know every secret that is injected into the pool. That me=
ans that an adversary would have to compromise all of the party's groups to=
 predict secrets extracted from the entropy pool.
> >  > >=20
> >  > > Of course, the pool will take some time to accrue entropy from var=
ious sources, so it doesn't help if the adversary is present from the start=
, but it will help if the adversary compromises a party later on. If that h=
appens, then the compromised party can recover if the adversary misses (i.e=
. doesn't intercept and decrypt) any commit from another party after the co=
mpromise.
> >  > >=20
> >  > > Now we have to make sure that the design doesn't give us any disad=
vantages over just sampling from the OS's RNG every time we need fresh rand=
omness.
> >  > >=20
> >  > > Let's assume full state compromise. Then
> >  > > 1) the adversary can't obtain entropy extracted from the pool in t=
he past (because it's essentially a KDF-chain, just as the key schedule)
> >  > > 2) the adversary can't predict what entropy the client will extrac=
t in the future if one of the following is true:
> >  > > - the OS's RNG is good
> >  > > - a commit from a group arrives, where the group itself is not com=
promised
> >  > > - any other external entropy gets injected that the adversary does=
n't have access to (e.g. a signature from a secret key that is kept secure =
in an HSM)
> >  > >=20
> >  > > To summarize: It's no silver bullet against bad entropy in general=
, but it's cheap, no worse than just relying on the OS's RNG and provides a=
 framework to accrue randomness over time from various sources even if the =
OS's RNG is bad/compromised and it allows parties to recover from compromis=
e in that case.
> >  > >=20
> >  > > Hope that shed some light on things.
> >  > >=20
> >  > > Cheers,
> >  > > Konrad
> >  > >=20
> >  > >=20
> >  > >=20
> >  > > > Benjamin Beurdouche <benjamin.beurdouche@inria.fr> hat am 30.03.=
2021 09:53 geschrieben:
> >  > > >=20
> >  > > >=20
> >  > > > Hi all,
> >  > > >=20
> >  > > > I like this idea. I am not fully clear about the threat model, t=
hough.
> >  > > >=20
> >  > > > From reading this, it looks like we assume that the adversary th=
at compromised a=20
> >  > > > principal doesn=E2=80=99t have complete control the entropy pool=
.
> >  > > >=20
> >  > > > This is in contrast over what we assume of the AEAD keys or even=
 the KEM keys
> >  > > > where a full state compromise will gain access to the values.
> >  > > >=20
> >  > > > However it looks very close to the assumptions about additional =
protections for signing keys.
> >  > > > E.g., not directly accessible, and behind an interface that an a=
dversary can query for certain operations
> >  > > > through an API (e.g. when is stored in an HSM, co-processor or a=
 functional secure enclave).
> >  > > >=20
> >  > > > Am I reading this properly?
> >  > > > If yes, I can understand the value in this threat model, but we =
should make it clear that the
> >  > > > entropy pool has to get these additional protections to provide =
these good properties.
> >  > > >=20
> >  > > > Seems to me like a good improvement in all cases anyway, so I th=
ink we should consider it.
> >  > > >=20
> >  > > > Thanks!
> >  > > > Ben
> >  > > >=20
> >  > > > > On 30 Mar 2021, at 09:27, Konrad Kohbrok <konrad.kohbrok@datas=
hrine.de> wrote:
> >  > > > >=20
> >  > > > > Hi everyone,
> >  > > > >=20
> >  > > > > MLS is a protocol that is very vulnerable to individual partie=
s with bad randomness. For example, when a party joins a group, the secrecy=
 of the group's key material relies on the quality of that party's key mate=
rial. Similarly, when doing an external join, the groups entropy is complet=
ely replaced by that of the joining member.
> >  > > > >=20
> >  > > > > There are multiple ways to mitigate this threat and Jo=C3=ABl =
and Sandro proposed a few of them in the following mail to the list: https:=
//mailarchive.ietf.org/arch/msg/mls/ZR84smU5xeLrziNTk5W1P1Z1nQI/
> >  > > > >=20
> >  > > > > Concretely, there were two approaches: one that would be baked=
 into the protocol (essentially using a secret derived from old path secret=
s to inject into new ones in addition to the current approach) and one that=
 would mandate the use of an entropy pool.
> >  > > > >=20
> >  > > > > The ideas were discussed a bit at the time, but nothing has ha=
ppened since then. Jo=C3=ABl, Sandro and I have just opened a PR with a con=
crete design for an entropy pool that is modeled after the key schedule (ht=
tps://github.com/mlswg/mls-protocol/pull/467). Concretely, it allows gather=
ing entropy over time and for parties with a bad entropy source to profit f=
rom parties with a good one without compromising security.
> >  > > > >=20
> >  > > > > While for future iterations of MLS, we might want to consider =
a solution that is more integral to the protocol, we are aware that the aut=
hors want to avoid breaking changes at this point. With the entropy pool, w=
e thus propose a solution that does not affect the protocol flow, but that =
still offers significant advantages over no mitigations at all.
> >  > > > >=20
> >  > > > > Cheers,
> >  > > > > Konrad
> >  > > > >=20
> >  > > > > _______________________________________________
> >  > > > > MLS mailing list
> >  > > > > MLS@ietf.org
> >  > > > > https://www.ietf.org/mailman/listinfo/mls
> >  > >=20
> >  > > _______________________________________________
> >  > > MLS mailing list
> >  > > MLS@ietf.org
> >  > > https://www.ietf.org/mailman/listinfo/mls
> >  > >
> > =20
> >  _______________________________________________
> >  MLS mailing list
> >  MLS@ietf.org
> >  https://www.ietf.org/mailman/listinfo/mls
> >=20
> _______________________________________________
> MLS mailing list
> MLS@ietf.org
> https://www.ietf.org/mailman/listinfo/mls

