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

Rohan Mahy <rohan.mahy@gmail.com> Fri, 12 April 2024 16:17 UTC

Return-Path: <rohan.mahy@gmail.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 E3E5DC14F6B8 for <mimi@ietfa.amsl.com>; Fri, 12 Apr 2024 09:17:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.597
X-Spam-Level:
X-Spam-Status: No, score=-1.597 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, GB_ABOUTYOU=0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 dNB0Frn_-cN0 for <mimi@ietfa.amsl.com>; Fri, 12 Apr 2024 09:17:45 -0700 (PDT)
Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (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 83164C14F6A2 for <mimi@ietf.org>; Fri, 12 Apr 2024 09:17:45 -0700 (PDT)
Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-56c404da0ebso1579621a12.0 for <mimi@ietf.org>; Fri, 12 Apr 2024 09:17:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712938664; x=1713543464; 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=/KJPXU3QnpsoqHhPsdaIOImxL3CoInr8MoWnMPX9fEM=; b=bKuwdrmSJS9pdb1EDx/8x0MY2KYdPsKqZVFJxthClVfLtLfbjLCQ5EQkrM8WiQhCQ2 Wr5vaC7YimhIgQCJv05upE2NQQ/Cgl0yKSFJhv57qyhqXG5eqCUSULrLPPz8zVpxwG8z r55kY6HPNV/+jP/HM0Jqx42EFaLrWMIBoHwHmBfEmYEPOaim64THz86h3cRN/uqvTVD7 bATmA+xT7QhYBZkTddxpzP7bvLuk87spfSg76Oot1/l5N673oQjCDxWGtcgkkcIuIsED ebGsYBLf0T5n7b85wgJRlAKb8KGp1vKDWf4CgGQre7aU1L/hNcUh+juS2B3OB1muo+PI r13w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712938664; x=1713543464; 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=/KJPXU3QnpsoqHhPsdaIOImxL3CoInr8MoWnMPX9fEM=; b=npJKhx0Hef4uXdsKaSPNG/EQiEv0+Fea77x+hMvlMr2tFY+u8jFwnj/PdAvwvj/zpv w+HuHIKCWVmiZ2KmVwivbFDaVNGBixNiZUQQCUrIsf1agprU7FRLskgSdAe/zI5dvDlP jo1o+N5V9Pkr0R8h4dNDzPS1xYkXrHWZxoTt95pK9kOdW/V9ByQv5T8bbZa7rwLjTBrg 6dfTm4s+yK7bVg867Rk/EbmjN6fm6xnyXdxklK+b3PgGc4wzDNZlN/XclWnZLvHT4zyv Qz0tUkvHN7w9lhFSMr67f69NE5P9SSCnODPc4FkqFDpfWxucu1EhTAPh0dU3SAwMcVTS /2YA==
X-Gm-Message-State: AOJu0YxwjyFKSLR3uTyra6l9qXgp0DjPofSNgvn07DLej9NK2+fQba/C CEqY2fut73T/Qe0lsPjrgvVTuqwcF0u6VdkvOlEgItpH7uWC9asnKHUEM+nlFE8GEr1jnxt0Smi WvWUCbr2WVbohdoNfExL0AqI8wtwVEQ==
X-Google-Smtp-Source: AGHT+IFJTAcBWgGr8OynCpoDCyAvqlWUoAsMyRDiua44q9t+w4aZwe9NPNeGg/UKQ+UQlYJpPWOWBHtv0+VGYlQCFNk=
X-Received: by 2002:a17:906:5792:b0:a52:4106:af12 with SMTP id k18-20020a170906579200b00a524106af12mr535270ejq.11.1712938663405; Fri, 12 Apr 2024 09:17:43 -0700 (PDT)
MIME-Version: 1.0
References: <CABcZeBPoi0Vp=GPaNAwg8YXVfizZLqF2ARnR-PwD1PWzbaaPeA@mail.gmail.com> <CAKoiRubo9OGMzeO_JLoUaiOCUxXY28Ges1Te2yj4mrxYdtijnA@mail.gmail.com> <CABcZeBMqW6UsLSCbDdj4y5LYR_7DgOVXUsrS5rFVNSaZ4Td1XA@mail.gmail.com>
In-Reply-To: <CABcZeBMqW6UsLSCbDdj4y5LYR_7DgOVXUsrS5rFVNSaZ4Td1XA@mail.gmail.com>
From: Rohan Mahy <rohan.mahy@gmail.com>
Date: Fri, 12 Apr 2024 09:17:31 -0700
Message-ID: <CAKoiRubS1-e-pV0tde=KP5pH65CgVY4ThY4jfWgz0BE44m3V6g@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: mimi@ietf.org
Content-Type: multipart/alternative; boundary="0000000000008df2190615e89c87"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mimi/vK51mz_VMAZHUPZgGLt5wynZalQ>
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 16:17:46 -0000

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?

Thanks,
-rohan