[MLS] Re: New Version Notification for draft-sullivan-mls-attachments-00.txt

Nick Sullivan <nicholas.sullivan@gmail.com> Tue, 07 July 2026 13:41 UTC

Return-Path: <nicholas.sullivan@gmail.com>
X-Original-To: mls@mail2.ietf.org
Delivered-To: mls@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id D3D9C111F3848 for <mls@mail2.ietf.org>; Tue, 7 Jul 2026 06:41:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783431667; bh=xuFcc76bCG0KrJdRwbe+aKFDBGg1ddN5F1FQWKh34GM=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=ObHzI8oePO8sq0ojoiZfjYEEXXYygfM44jrbgcWExQRRBqUAiScJAkGBduhy5k1lv 57Zmmjh4qxe7TDnOO522f9uPKYy5sywPPzJA1f+hLQbYGlvKtU358iwgjTtlCJYtOK 2jjqOfqCkXe+w2XOtNbs1Exj3Y2evva6a7O6/9co=
X-Virus-Scanned: amavisd-new at ietf.org
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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tBbgVxvIXMPA for <mls@mail2.ietf.org>; Tue, 7 Jul 2026 06:41:07 -0700 (PDT)
Received: from mail-yx1-xb135.google.com (mail-yx1-xb135.google.com [IPv6:2607:f8b0:4864:20::b135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 20D60111F37D6 for <mls@ietf.org>; Tue, 7 Jul 2026 06:40:59 -0700 (PDT)
Received: by mail-yx1-xb135.google.com with SMTP id 956f58d0204a3-664c4a04081so3591227d50.2 for <mls@ietf.org>; Tue, 07 Jul 2026 06:40:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1783431658; cv=none; d=google.com; s=arc-20260327; b=Gf9IC8+s8OlkA/y7dFLBzzvA/iQbdPrSoS56TnUkAjURwKF3krfjQaGWTllsQwKMJq EHNyZ1Bla6LiSIUMFsfTpKTRhdVHWE7C8/XHbTxAeAJyjgwfRaVNesMxd+d8z2Ky/ERw G67pTJhEp+3/tJ6r+0id31SWhS8gU2h49RMXjsLYgZnloTdZx678jUKW0SyfwvYWBxXA H07IHQGaIQkHN4C9ZL2jueSXKFr17Y3+yEFSihpCCM0LFLQbjCKoEQ5Mt0mXL1R3cEK9 Q9flUw+z1piBPgjR3WDWCUQmtf+HWeEIShkpKWMy7Svn4U7eK1hMhNNpnZworXy1Ak2Z w9Qg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Ua/TRqQslZymkz9NdVnSA3VMlQ856wkO1NLzvTEwdxE=; fh=h7BaaIF1sRCFOmt2+PJYXtHKfWPGb+MXeC5+UYwdeUc=; b=Iz35I427+oDRc/L8UMfH+gVNEVo8yg7McNnbGbkzaJWFDId9sjDjges6VNFVxvTLPo N9MH+nLD3CwS2tKHNJlk7JxM3vv7Ghqp8xmOngOx8cogjJC57QXe2ZShC3FoUqxBAp+m Rwv5lqThlHk2Zm3vYqI+CrqDaY5HTQ+scYdzJNT78mQ+LZSKzmr5DYNoav/AjhfB3K/J mdfZhPaR1yIlvXNZJf4JZlXi7/amhQcWuGbvX+v8p6eW9U/6abIg1wQEq0u6tv13mRKG cfpbexrSQD4W4yGNc3dhikyCITXgoIGZ5fEIQ9ahrjVdC8TYtHfU00pp+0TbjiZIIOvT n3Iw==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783431658; x=1784036458; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Ua/TRqQslZymkz9NdVnSA3VMlQ856wkO1NLzvTEwdxE=; b=Buey4CD/uD7J+YsE6bCrzTfPn7mbIuOI5Vqbcxq1CD7ODQI5LbYUpxS/hGN0pbKC5V vE+ByUc3eAK5ql33jI59BUPYj5p4fHlPUIv1onlk4D8OLNZ+0Gz8p00CaJbEjTc+GeVk WN4dXZi+NFLBaoEWy8zfGe1LRGxt6sj2VjWQXUNSiCdhE8CPX8aOcw8iuOvSQONKI8b7 z947YjC0N5OgB6nV0nvTSKOewXLLpEbok7H0rQF/5iiDFyKcPRk+JnmW6dauo9ChwTnl Whbn9pNtAMLQ0IgTL7fTFIFrxNqcWRDdW8DHsNZsA93YAoIyH7yOgGFpzwrLxJh8t5WY zyWw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783431658; x=1784036458; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Ua/TRqQslZymkz9NdVnSA3VMlQ856wkO1NLzvTEwdxE=; b=ptRdjzGiqla3yEJ09wS/YiH+t/7vHGdogLkNa4+ed9+Owhgm+q680zW/rSpocK18iH SXnl+GLX1a6zSfqWMd8TqXrOqDgoYnmELkzA8DBkXderFkM0axsdTycsa1DFgiOtou6l THrUPcp3skEnsLsvHmEIw5Fp4WptaB17stureqWmHgNBxBshMwRVy+Ae8BC1Tff6fzYc 45XYnJ+I1wGKZfDDqocq2Vo7uk9/QwJ1bz76GFlB9uPcyIXUSd/aUCcWijAEHj+0mK6Q 81fJeToYTW3DuRJwdbH12GVoyLw/Op/CJBd5fG8kIeSGp1pY5Dt+OIhwZIKtdfDrG0CF qT4A==
X-Gm-Message-State: AOJu0Yznr2CnO7ch9BScwKnV385lqoO33Gu9uXxTjmGr9o41v36XPIEn oXX26D+uv5aKu3zkJOa8Dhg4PcB3JwlwXRNfTH8FKbaC0jSn6hskC82P8DlSlvpVwDguMEWjo1z 3j+fIT393oUrcJJPU21XXrn+YXh40clVC0blm2rt10mk7
X-Gm-Gg: AfdE7ck45PrWu14Wyft4znpwtx9eDgYF4dq8TDPJCH8PXL7mzwP56/pfxzYRn9erFYC H/4hPW4Pj5sufcqnq5lxJGLrOzgz9u6e6GkZB6X4yE+lBt39O/mPX98VMSn99otRKdvn7+VLeel NdYM+6a/cd7p6YKdvYFnSTtFMK3x5dYcd2994sB8A4TaEuNSstVfmqiqQ7ERE7EUQGX6RZlfj71 3gGj+VQtTMqPZ+tOSDnD/L6D7vkZ5nqDdYXD3Rtxa+/xnTCQmCjUxyxGXDL7IpWANiMUuPqVAQM Cc/nLuVNEVOH9MAQDDLurQ/2nwsLqC/mu2jXGLWUr559Y8fqi5X3n7H+gv6iEn8NZ0F7wUQqhGX hM6KhQPJC9O0SRuJLHPEa8Bn8UO3/CQEQYSpMakzHCjCr9oLWPAbQ2Esy8WIjAXUw
X-Received: by 2002:a05:690e:418c:b0:667:6fe0:2df2 with SMTP id 956f58d0204a3-6677fa53e6dmr3733167d50.6.1783431658381; Tue, 07 Jul 2026 06:40:58 -0700 (PDT)
MIME-Version: 1.0
References: <178337870324.318357.13322910138192240453@dt-datatracker-57b5d8f849-zrqfx> <CAOjisRxNSjO4DsT8zOJ5qDuNzQLY0sZGiXynM5JRbgWgLfaEpA@mail.gmail.com> <CAJTd26+m=+yxutdxVDRNnZn1SA2Jpbuuia=op1_FFh88eKgn1Q@mail.gmail.com>
In-Reply-To: <CAJTd26+m=+yxutdxVDRNnZn1SA2Jpbuuia=op1_FFh88eKgn1Q@mail.gmail.com>
From: Nick Sullivan <nicholas.sullivan@gmail.com>
Date: Tue, 07 Jul 2026 09:40:45 -0400
X-Gm-Features: AVVi8CcjJrdQSFfLRioGvfrSR6-BG8XVZEHLv4ZK9Y5cR69fkyUgeYxQkZlTVRc
Message-ID: <CAOjisRwZ2K4KwXh8MpFCpRknVtdQ6jXLwB4a0CGvKepnHv=auA@mail.gmail.com>
To: Brendan McMillion <brendanmcmillion@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: 7D2GKNPOHPNOE5RUBJ72MTQL3LGFMSUU
X-Message-ID-Hash: 7D2GKNPOHPNOE5RUBJ72MTQL3LGFMSUU
X-MailFrom: nicholas.sullivan@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-mls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: mls@ietf.org, Nick Sullivan <nicholas.sullivan+ietf@gmail.com>, Raphael Robert <ietf@raphaelrobert.com>, Andres Fabrega Gerbaud <af535@cornell.edu>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [MLS] Re: New Version Notification for draft-sullivan-mls-attachments-00.txt
List-Id: Messaging Layer Security <mls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/k4B_MBJvFZp0vbHlicbwYA42LKo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Owner: <mailto:mls-owner@ietf.org>
List-Post: <mailto:mls@ietf.org>
List-Subscribe: <mailto:mls-join@ietf.org>
List-Unsubscribe: <mailto:mls-leave@ietf.org>

Hi Brendan,

This is the right question to ask. The signature part of this document
is under-specified and one of the trickier aspects of this
construction. What's the point of random-access encryption if you
don't have assurance that the entire attachment is signed, or you have
to decrypt or read the entire object to verify it, right? The answer
is a bit subtle because none of the AEADs specified in MLS are
key-committing, which makes SEAL's existing snapshot authenticator
insufficient for sender attribution.

The solution I'm writing up (it didn't land in raae-01) is to define a
snapshot authenticator that includes a hash of each ciphertext segment
as part of the existing metadata and a keyed KDF over this set. The
snapshot authenticator is signed by the sender, and the recipient
verifies it. Per-segment authenticity is guaranteed by the AEAD;
segment placement within the file and authorship are validated by the
metadata, and signature over the authenticator proves attribution.
There are fancier tree-based designs, but this flat derivation
provides sender authenticity for segments at the cost of sending one
hash per segment (essentially adding a key commitment to the AEAD).

The draft will need revision in any case because, as described,
ra-CMT-p (the position-commitment property defined in the raAE paper)
holds only under honest keys with a non-committing AEAD. A signed
digest transcript re-establishes the same position-commitment
guarantee under adversarially chosen or shared keys, grounded on
collision resistance rather than the AEAD's (absent) commitment
property. Key-comitting AEADs don't have this issue (cc: Andres in
case I'm wrong).

It should be simpler than it sounds. What do you think?

Best,
Nick

On Mon, Jul 6, 2026 at 11:25 PM Brendan McMillion
<brendanmcmillion@gmail.com> wrote:
>
> Hi Nick
>
> It's interesting that this doesn't authenticate the sender of the attachment, when that's typically the status quo for messages in MLS. Is signing all of the segments not a reasonable thing to do?
>
> Section 7.5 briefly mentions that I could sign the object or the reference. I'm not sure how signing the reference helps if the segments are still symmetrically encrypted.
>
> On Mon, Jul 6, 2026 at 4:20 PM Nick Sullivan <nicholas.sullivan@gmail.com> wrote:
>>
>> Dear MLS,
>>
>> We've submitted a new individual draft,
>> draft-sullivan-mls-attachments-00, "Encrypted Attachments for MLS." It
>> specifies write-once, large encrypted attachments carried alongside an
>> MLS group. Content is encrypted under a key derived from the MLS
>> exporter and protected as a SEAL-attachment object, so a receiver can
>> decrypt and authenticate a byte range without processing the whole
>> file.
>>
>> https://datatracker.ietf.org/doc/draft-sullivan-mls-attachments/
>>
>> We'd welcome feedback, especially on:
>> - Is deriving the attachment key from the MLS exporter, in the SFrame
>> style, the right approach?
>> - Is the object_id model, including deterministic derivation, the right design?
>> - Is this a direction the working group would consider adopting?
>>
>> Test vectors under each MLS cipher suite will follow in -01.
>>
>> Best,
>> Nick (& Robert)
>>
>> On Mon, Jul 6, 2026 at 7:04 PM <internet-drafts@ietf.org> wrote:
>> >
>> > A new version of Internet-Draft draft-sullivan-mls-attachments-00.txt has been
>> > successfully submitted by Nick Sullivan and posted to the
>> > IETF repository.
>> >
>> > Name:     draft-sullivan-mls-attachments
>> > Revision: 00
>> > Title:    Encrypted Attachments for MLS
>> > Date:     2026-07-06
>> > Group:    Individual Submission
>> > Pages:    15
>> > URL:      https://www.ietf.org/archive/id/draft-sullivan-mls-attachments-00.txt
>> > Status:   https://datatracker.ietf.org/doc/draft-sullivan-mls-attachments/
>> > HTML:     https://www.ietf.org/archive/id/draft-sullivan-mls-attachments-00.html
>> > HTMLized: https://datatracker.ietf.org/doc/html/draft-sullivan-mls-attachments
>> >
>> >
>> > Abstract:
>> >
>> >    This document defines random-access authenticated encryption of large
>> >    write-once files for Messaging Layer Security (MLS) groups.  A file
>> >    is encrypted so that a receiver can decrypt and authenticate any byte
>> >    range without processing the whole file.  The encryption is SEAL-
>> >    attachment, SEAL's named write-once attachment scheme (raAE),
>> >    parameterized by the AEAD and key derivation function of the group's
>> >    MLS cipher suite and keyed from the MLS exporter.  The encrypted
>> >    bytes are carried by any means, and a recipient needs only a small
>> >    reference (the object's identifier and length, and an optional
>> >    locator) to fetch, key, and verify the object.  MLS application
>> >    messages cannot carry large files, and existing attachment encryption
>> >    produces an opaque, immutable blob with no partial access.  This
>> >    extension supplies the random-access layer those uses need.
>> >
>> >
>> >
>> > The IETF Secretariat
>> >
>> >
>>
>> _______________________________________________
>> MLS mailing list -- mls@ietf.org
>> To unsubscribe send an email to mls-leave@ietf.org