Internet-Draft | New MLS FramedContentTBS | October 2025 |
Mahy | Expires 19 April 2026 | [Page] |
Most MLS signatures are signed over the relatively large GroupContext structure. This document defines a way to safely sign using a pre-hashed version of the GroupContext structure for better efficiency.¶
This note is to be removed before publishing as an RFC.¶
The latest revision of this draft can be found at https://rohanmahy.github.io/mls-new-framed-content-tbs/draft-mahy-mls-new-framed-content-tbs.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-mahy-mls-new-framed-content-tbs/.¶
Discussion of this document takes place on the Messaging Layer Security Working Group mailing list (mailto:mls@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/mls/. Subscribe at https://www.ietf.org/mailman/listinfo/mls/.¶
Source for this draft and an issue tracker can be found at https://github.com/rohanmahy/mls-new-framed-content-tbs.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 19 April 2026.¶
Copyright (c) 2025 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
In MLS [RFC9420] all in-member application, commit, and proposal messages (whether sent via a PublicMessage, PrivateMessage or SemiPrivateMessage [I-D.mahy-mls-semiprivatemessage]); and all external commits contain a signature of the FramedContentTBS
structure.
This structure contains the full GroupContext of the group, which can store a large amount of group state.
(For example, in the MIMI protocol [I-D.ietf-mimi-protocol] it contains the participant list for the group, which could contain thousands of URIs.)¶
The GroupContext only changes once per epoch, therefore it is an excellent candidate to pre-hash and cache for efficiency reasons.¶
This document defines an a replacement for the FramedContentTBS
structure that uses a pre-hashed GroupContext, and an MLS extension for safely negotiating the use of the new struct.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document defines the new_framed_content_tbs
extension.
When present in a LeafNode.capabilities.extensions
list, it indicates that the client supports this extension.
When present in the required_capabilities.extension_types
list in GroupContext.extensions
it indicates that every member of the group MUST use the new FramedContentTBS
structure.¶
The FramedContentTBS
structure is replaced with the new structure below. The only change is that the GroupContext is replaced with a hash (from the group's current MLS cipher suite) of the GroupContext.¶
context_hash = RefHash(GroupContext); struct { ProtocolVersion version = mls10; WireFormat wire_format; FramedContent content; select (FramedContentTBS.content.sender.sender_type) { case member: case new_member_commit: opaque context_hash<V>; case external: case new_member_proposal: struct{}; }; } FramedContentTBS;¶
TODO Security¶
This document requests the addition of a new MLS Extension Type value under the heading of "Messaging Layer Security".¶
RFC EDITOR: Please replace XXXX throughout with the RFC number assigned to this document.¶
The new_framed_content_tbs
MLS Extension Type is used inside LeafNode and GroupContext objects.
In a LeafNode it indicates support the the extension.
In the required_capabilities
of the GroupContext it indicates the extension is being used.¶
Value: 0x000b (suggested)¶
Name: new_framed_content_tbs¶
Message(s): GC,LN: This extension may appear in GroupContext and LeafNode objects¶
Recommended: Y¶
Reference: RFC XXXX¶
TODO acknowledge.¶