Re: [Mimi] Review of draft-ralston-mimi-protocol-02

Eric Rescorla <ekr@rtfm.com> Fri, 12 April 2024 17:00 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: mimi@ietfa.amsl.com
Delivered-To: mimi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F8C7C14F708 for <mimi@ietfa.amsl.com>; Fri, 12 Apr 2024 10:00:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.396
X-Spam-Level:
X-Spam-Status: No, score=-6.396 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, GB_ABOUTYOU=0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lV73uS01rfyX for <mimi@ietfa.amsl.com>; Fri, 12 Apr 2024 10:00:55 -0700 (PDT)
Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6745BC14F706 for <mimi@ietf.org>; Fri, 12 Apr 2024 10:00:55 -0700 (PDT)
Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-615053a5252so9982117b3.1 for <mimi@ietf.org>; Fri, 12 Apr 2024 10:00:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20230601.gappssmtp.com; s=20230601; t=1712941254; x=1713546054; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=q2HBt4FWKC6hk2O1ORvgcHitHUAhD6qXuunZDcen07E=; b=CrBUW7tAhUgKcPxICRW9fhxWIKXpsJ5VOI0x2qsf5mLrxDDkEmtogDQXB5aOhelpyk tukqPVb/mgxj12dAEZET76Wo6M68dmRW2VOv7X3mzlmyraaTHOKEzQ4Wb7b9PrH9PQoJ GOD4V988FD/9lxsVJdjd2aXUHiUCOt2+vkhq05BjuZqYpdS3Fo94HH6zO/JYp6LPcoos Q6pvu154fuhGamUG39prY42yYATkn4O7yv/PmaZeTmjxrSlefykzIOCwtM504lQke+ym 0mukodNWiOaoTO2xO98QvXzGac9sFGTCHw/svEhMzbnQwlbrj5FFx0u2dI8nfKf1rLmp xJdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712941254; x=1713546054; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=q2HBt4FWKC6hk2O1ORvgcHitHUAhD6qXuunZDcen07E=; b=r55PwmCiijTn0xlOM17AQQeMSuYetj/tcpw/Pvj6btXFIdx25W5Q4tjG8xH7AhMA13 VrxGte5O+utwZr4CDpYVBpO2SQ8hVChkWnc1oWa5a9CkfMHrPT70DxfwnwtDUy8Hp57c OYN4U+2E7VuHEHRfoxGmIDHjGurXFIgKU8ytGrqpM9ZRZ1NmqUei6wx4smxkAHeSsq3w fpmyCWRzCtx1xAlp4O5ueJ9EDAWIOZtNNYaStmYvpF+QOOCpxJh4KmDZu0nEQDroJxe1 gRspvAiOJ/apmEsEHRM/4zSz3QzumTsQDAQHf1Mf1VmxMyJXvhbPOCjT0f1PHuJ5H/Ga TAwQ==
X-Gm-Message-State: AOJu0Ywy7c+xlv0mU9KA79AahP2eVDdCFb6rkQ0nEo1p8DPRTUMgzW8Y XFSzt+CFwSI+wAjXdBQBxvuoYsxqoYNZiGGZnR13wV87u0tMFdEoGlUvootOhL3eg8/O4eyhpy3 v597xzvjyfMJB+BEdhZ5x9dsOUxFaUvRAx1dYYA==
X-Google-Smtp-Source: AGHT+IHSB0Hikq2MsF7cIHuMMAR8/7j9N0E5HFvaPbxXYuGueynXBRixk+OuKV3Pl5+FV3PY4XFko2lJ0w4EEfQyrzY=
X-Received: by 2002:a0d:d815:0:b0:618:70f3:ff51 with SMTP id a21-20020a0dd815000000b0061870f3ff51mr2562742ywe.10.1712941254060; Fri, 12 Apr 2024 10:00:54 -0700 (PDT)
MIME-Version: 1.0
References: <CABcZeBPoi0Vp=GPaNAwg8YXVfizZLqF2ARnR-PwD1PWzbaaPeA@mail.gmail.com> <CAKoiRubo9OGMzeO_JLoUaiOCUxXY28Ges1Te2yj4mrxYdtijnA@mail.gmail.com> <CABcZeBMqW6UsLSCbDdj4y5LYR_7DgOVXUsrS5rFVNSaZ4Td1XA@mail.gmail.com> <CAKoiRubS1-e-pV0tde=KP5pH65CgVY4ThY4jfWgz0BE44m3V6g@mail.gmail.com>
In-Reply-To: <CAKoiRubS1-e-pV0tde=KP5pH65CgVY4ThY4jfWgz0BE44m3V6g@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 12 Apr 2024 10:00:17 -0700
Message-ID: <CABcZeBOG0Hxzz3MNTiMphvTFBtO9xprGUnEZ5J8eGzg83aCw8w@mail.gmail.com>
To: Rohan Mahy <rohan.mahy@gmail.com>
Cc: mimi@ietf.org
Content-Type: multipart/alternative; boundary="000000000000f847140615e93684"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mimi/cWfW2QQXvMLZMNhGwCU6FLA13rw>
Subject: Re: [Mimi] Review of draft-ralston-mimi-protocol-02
X-BeenThere: mimi@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: More Instant Messaging Interoperability <mimi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mimi>, <mailto:mimi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mimi/>
List-Post: <mailto:mimi@ietf.org>
List-Help: <mailto:mimi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mimi>, <mailto:mimi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Apr 2024 17:00:56 -0000

On Fri, Apr 12, 2024 at 9:17 AM Rohan Mahy <rohan.mahy@gmail.com> wrote:

> Hi Eric,
> Sorry for the late reply. This message was stuck in my Outbox.
>
> Questions about your hash proposal inline:
>
> On Wed, Mar 20, 2024 at 3:56 PM Eric Rescorla <ekr@rtfm.com> wrote:
>
>>
>> On Wed, Mar 20, 2024 at 3:34 PM Rohan Mahy <rohan.mahy@gmail.com> wrote:
>>
>>
>>> If you get a message adding 3 new clients belonging to Cathy, how long
>>> do you wait for the MIMI message which adds her to the participant list so
>>> you can compare the hash you received?
>>>
>>
>> You don't compare the hash. The purpose of the hash is merely to ensure
>> that everyone has the same MIMI state, but the MIMI layer is responsible
>> for looking into the MIMI state and the MLS layer is responsible for
>> looking into the MLS state.
>>
>
> The MIMI protocol is among providers. How would clients Alice, Bob, and
> Cathy get the hash of a MIMI message sent between Alice's provider and
> Bob's provider to add Bob as an authorized participant of a room in order
> (to incorporate it into the MLS state or corroborate it)? How would that
> hash be meaningful to clients Alice, Bob, and Cathy?
>

I think we're both agreed that there has to be some PDU that specifies the
new state of the room that ends up at the endpoints. This is what allows
them to decide whether a given MLS operation is permissible. MIMI will have
to define that PDU and the endpoints will need to understand it. Please let
me know if you disagree with that.

The disagreement we seem to be having is if that PDU should be carried
outside MLS (most likely wrapping an MLS message) or inside MLS (in this
draft as an MLS extension). I don't think there's anything in our charter
which precludes the former design.

-Ekr


-Ekr