Re: [MLS] key update guidance
"Alexey Ermishkin" <scratch@virgilsecurity.com> Sun, 22 July 2018 11:30 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 33EC8130EED for <mls@ietfa.amsl.com>; Sun, 22 Jul 2018 04:30:04 -0700 (PDT)
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, 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 8Kq5dnwUkUwc for <mls@ietfa.amsl.com>; Sun, 22 Jul 2018 04:30:01 -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 A7246130EE5 for <mls@ietf.org>; Sun, 22 Jul 2018 04:30:01 -0700 (PDT)
Received: from BIGONE (unknown [176.226.241.68]) by VirgilSecurity.com (Postfix) with ESMTPSA id B31E7105CB15D0; Sun, 22 Jul 2018 07:29:58 -0400 (EDT)
From: Alexey Ermishkin <scratch@virgilsecurity.com>
To: 'Daniel Kahn Gillmor' <dkg@fifthhorseman.net>, mls@ietf.org
References: <87va9ax422.fsf@fifthhorseman.net>
In-Reply-To: <87va9ax422.fsf@fifthhorseman.net>
Date: Sun, 22 Jul 2018 16:29:55 +0500
Message-ID: <000601d421af$526d3870$f747a950$@virgilsecurity.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQHTXyqXvcXP/ZdxUo4LILbBHqNUAaScmTrg
Content-Language: ru
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/QStKNXhV6Y3sqxOFVJo3M6ErlcY>
Subject: Re: [MLS] key update guidance
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.27
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, 22 Jul 2018 11:30:04 -0000
Is there a need for key rotation for a member who does not send messages? Probably there is. On the one hand, "advertising" new keys in actual message's header (like Signal does) simplifies message processing logic. On the other, Sending "rekey" messages could provide better overall key rotation flow. As for the enforcement, I think the possible solution could be ordered rotation. Example: - The group implicitly agrees on the order members rotate their keys (sorts members by ID). - Each member sends the new key in his turn or after timeout in case someone's offline. - This can be done by either assigning each member a time slot or allowing next member to send key after a certain amount of time after previous one to prevent flooding. Pros: Each member gets his key updated, no message tsunami Cons: Skipped members should wait for the next key rotation round -----Original Message----- From: MLS <mls-bounces@ietf.org> On Behalf Of Daniel Kahn Gillmor Sent: Friday, July 20, 2018 3:18 AM To: mls@ietf.org Subject: [MLS] key update guidance At the discussion today, it sounded to me like there was a general agreement that we want to document some sort of guidance for the frequency of key updates. This might end up being more complex than just "update your own key once per day" -- as Jon pointed out, for a large group that could result in a storm of key update messages. One thing we did not discuss is how key update frequency guidance might be either communicated or enforced. (a) should peers in a conversation have a way to communicate explicit expectations about key rotation frequency? Establishing a shared expectation of key rotation can make enforcement more straightforward and comprehensible (both for the user who gets kicked, and for the people remaining in the conversation when a member gets kicked). (b) if there is an expectation of key rotation frequency, does MLS contemplate any enforcement mechanism? if there is enforcement, who should enforce: participants in the group, or the server? My gut feeling is that (a) we should be able to communicate rotation expectations to the group, and (b) participants, not the server, should be responsible for enforcement. I don't have a specific protocol proposal for how to do either step, though. --dkg _______________________________________________ MLS mailing list MLS@ietf.org https://www.ietf.org/mailman/listinfo/mls
- [MLS] key update guidance Daniel Kahn Gillmor
- Re: [MLS] key update guidance Katriel Cohn-Gordon
- Re: [MLS] key update guidance Jon Millican
- Re: [MLS] key update guidance Daniel Kahn Gillmor
- Re: [MLS] key update guidance Richard Barnes
- Re: [MLS] key update guidance Alexey Ermishkin