Internet-Draft MLS By-Ref Credentials November 2026
Mahy Expires 5 May 2027 [Page]
Workgroup:
Messaging Layer Security
Internet-Draft:
draft-mahy-mls-credential-by-ref-latest
Published:
Intended Status:
Informational
Expires:
Author:
R. Mahy

Credentials By-Reference in the Messaging Layer Security (MLS) Protocol

Abstract

Credentials in MLS can grow to become quite large. Many credentials appear repeatedly in several MLS groups. This extension allows MLS credentials to be included by using a hash reference of the actual credential.

About This Document

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-credential-by-ref/draft-mahy-mls-credential-by-ref.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-mahy-mls-credential-by-ref/.

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-credential-by-ref.

Status of This Memo

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 5 May 2027.

▲

Table of Contents

1. Introduction

This new credential type allows an MLS LeafNode to contain a hash reference to another MLS credential. The value of the referenced credential could be be communicated out-of-band or in another MLS group.

2. Conventions and Definitions

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.

3. Credential Format

struct {
    CredentialType referenced_credential_type;
    HashReference referenced_credential_hash<V>;
} ByRefCredential;

by_ref = ByRefCredential;

The referenced_credential_hash is the hash of the entire Credential struct of the referenced_credential_type, using the hash function from the cipher suite of the KeyPackage or the MLS group.

The referenced_credential_type MUST NOT be a by_ref Credential type.

4. Security Considerations

The security of this mechanism depends on the strength of the hash function's resistance to birthday attacks.

Clients implementing this extension need to consider that the lookup of credential hashes could potentially leak timing information. Implementations must be careful that the scope of applicability (ex: the audience in a web token, or the domain in an X.509 certificate) is relevant to the context of the LeafNode (in an MLS group or in a KeyPackage).

5. IANA Considerations

This document requests IANA to add the following entries to the MLS Credential Types registry. Please replace RFCXXXX with the RFC of this document

6. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.

Author's Address

Rohan Mahy