Re: [MLS] Message ordering
"Alexey Ermishkin" <scratch@virgilsecurity.com> Tue, 29 May 2018 21:16 UTC
Return-Path: <scratch@virgilsecurity.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 8BD6812EC28 for <mls@ietfa.amsl.com>; Tue, 29 May 2018 14:16:48 -0700 (PDT)
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, 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 YcSPaaP0Dj-b for <mls@ietfa.amsl.com>; Tue, 29 May 2018 14:16:46 -0700 (PDT)
Received: from VirgilSecurity.com (mail.virgilsecurity.com [199.58.211.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D4BE12EC4B for <mls@ietf.org>; Tue, 29 May 2018 14:16:46 -0700 (PDT)
Received: from BIGONE (unknown [176.226.241.68]) by VirgilSecurity.com (Postfix) with ESMTPSA id B25041057C8A90; Tue, 29 May 2018 17:16:44 -0400 (EDT)
From: Alexey Ermishkin <scratch@virgilsecurity.com>
To: 'Eric Rescorla' <ekr@rtfm.com>, 'Karthikeyan Bhargavan' <karthik.bhargavan@gmail.com>
Cc: mls@ietf.org
References: <008b01d3f788$3f34bc70$bd9e3550$@virgilsecurity.com> <27E7AA31-0993-45E7-86D1-0D90EFB2D487@gmail.com> <CABcZeBMeoCX2pUbqLgoZhsJ4A0_yhOmeYbPQYA2+VxVdNsv3yw@mail.gmail.com>
In-Reply-To: <CABcZeBMeoCX2pUbqLgoZhsJ4A0_yhOmeYbPQYA2+VxVdNsv3yw@mail.gmail.com>
Date: Wed, 30 May 2018 02:16:41 +0500
Message-ID: <00ac01d3f792$58e9a770$0abcf650$@virgilsecurity.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00AD_01D3F7BC.41C024A0"
X-Mailer: Microsoft Outlook 16.0
Content-Language: ru
Thread-Index: AQLF8Gh03cK7tQ6M4NCMn4eKp/7VfAHxEmhhAlSjR9KiQRH+oA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/iQwTjZzzZ3KiPJQLGd2NAlrEFyU>
Subject: Re: [MLS] Message ordering
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.22
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, 29 May 2018 21:16:49 -0000
Key management or, let’s call it group sate change, usually happens less frequently than the messaging itself. It can also be performed as a background task, affecting user experience much less. There could also be some quotas on key rotation depending on the group size. Suppose we have a policy that that every member can rotate his key only once per 24 hours. In case of evenly distributed group It would allow a group of ~40k people have state update about every 2 seconds which will reduce the waiting time for newcomers and reduce the possible merge conflicts From: MLS <mls-bounces@ietf.org> On Behalf Of Eric Rescorla Sent: Wednesday, May 30, 2018 1:57 AM To: Karthikeyan Bhargavan <karthik.bhargavan@gmail.com> Cc: Alexey Ermishkin <scratch@virgilsecurity.com>; mls@ietf.org Subject: Re: [MLS] Message ordering The difficulty is that key management also depends on clear ordering. -Ekr On Tue, May 29, 2018 at 1:53 PM, Karthikeyan Bhargavan <karthik.bhargavan@gmail..com <mailto:karthik.bhargavan@gmail.com> > wrote: > All messages (not only state change messages) must have a counter field > which must be unique among all the messages and server must reject messages > that have this field duplicated. Good catch. I think this may be too strong a requirement. With the right design adjustments, we will probably find that per-sender counters are enough. -Karthik > This might be ok for a group of 3. But as MLS targets groups up to 50k > users, I believe the percent of rejected messages will dramatically > increase and affect user experience. > I know that ART or TreeKem is, in the end, supposed to be bound to double > ratchet's KDF chain which have one sequence of message numbers per "epoch" > but that clearly won't work for large groups where participants will > constantly have to work on some "consensus" during communication. > I believe there's better solution to this problem. Maybe we should consider > making a unique KDF chain (prefix?) for each group member and perform > timestamp-based ordering, I'm not sure. > > Regards, > Alex > > > _______________________________________________ > MLS mailing list > MLS@ietf.org <mailto:MLS@ietf.org> > https://www.ietf.org/mailman/listinfo/mls _______________________________________________ MLS mailing list MLS@ietf.org <mailto:MLS@ietf.org> https://www.ietf.org/mailman/listinfo/mls
- [MLS] Message ordering Alexey Ermishkin
- Re: [MLS] Message ordering Karthikeyan Bhargavan
- Re: [MLS] Message ordering Eric Rescorla
- Re: [MLS] Message ordering Alexey Ermishkin
- Re: [MLS] Message ordering Martin Thomson