[MLS] security analysis of last-resort KeyPackages?

Rohan Mahy <rohan.mahy@wire.com> Wed, 21 December 2022 02:26 UTC

Return-Path: <rohan.mahy@wire.com>
X-Original-To: mls@ietfa.amsl.com
Delivered-To: mls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4776AC14F74F for <mls@ietfa.amsl.com>; Tue, 20 Dec 2022 18:26:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.095 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=wire.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 FZHEn5xeigHf for <mls@ietfa.amsl.com>; Tue, 20 Dec 2022 18:26:27 -0800 (PST)
Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 D8777C14CF0C for <mls@ietf.org>; Tue, 20 Dec 2022 18:26:27 -0800 (PST)
Received: by mail-wr1-x42c.google.com with SMTP id bx10so13685937wrb.0 for <mls@ietf.org>; Tue, 20 Dec 2022 18:26:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wire.com; s=google; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=yD9PB/5B6AgWhKwnKBycxhqSQhKVDI5/FX5HckOaFkk=; b=ZJ5vIHNskC0QfuTx5CKrfM6MO8VSiR+sji2WZTz4yN2Co78sDe2rXNBznWQCnlCCBO +jGjLBsTbP3YPIFdtg9anmAeCX+L5ebGBytwgcKCwNIEkmmKfbEGZZN2grKNaqEQCtCE uCrz5gGNeD7ZhpyjvgeCbrVgb37z3XWpS2ZKfvByYLBzQkNzRUv1Vu7tjLsjwDLSj01e NqcUrCyNgJRv/ucq6jmpRxTKw5TSlvq2Rk0JRdJKp5/aobwfGmJZ7Uqd4o8k5cPkoryQ CWLuerTWO14XxhvjGN4642kOqH7YiIhDaB3lwtj8kd8mbl9DLDbDAjnFUDbHPWGBK1Y7 HilQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yD9PB/5B6AgWhKwnKBycxhqSQhKVDI5/FX5HckOaFkk=; b=oQD3/ISj9XRfLyF3WP1JN7lo9tZ53TKykc12otceE2sPHUenfSo2TwdGxZqbkdKxcP jqyQBrsGQ+z9TM8iaMEI+IpGZ2ou4S2LPkDpEo2UzCNpCrsDQf0jY8l0ZaodUL0V/kKS KrRkmmHYIAX572Lge18rHtLEpv4bnqUOTwPeZSOTzEpltO2+KrSNsqF8czLQdYEEirWU qCmOFakc7jVhu76KjmfZxcugNCwTZZqmbd0soeSyHTy7Re19jnnSujrBC1N/hfZmeWKn 9SqutWVCtEspMzm+NJ0u+v/LYRWISpcMTe863X9p+C52LHDytfvT3TLNqUpJGwDTlwjV 4hzA==
X-Gm-Message-State: AFqh2kpsSsivkb8Mm9Av6TfjrYvB3oeEtJzyaAN+PT+UiNKhcj38/te5 6n2bIrf7e94+PLilW/mK7SvgnYyQP5+kDnHGMhZn3RRe4yyZuokB
X-Google-Smtp-Source: AMrXdXvSja+UwxCs4jIQWQFLu8J5/G9qijNVKhh4vQryplUKq2LFdEbxUkO6lgyy7zb7tv5dTNUJG53cK04siAkAwPA=
X-Received: by 2002:adf:f385:0:b0:260:3f95:eb1e with SMTP id m5-20020adff385000000b002603f95eb1emr252792wro.224.1671589585509; Tue, 20 Dec 2022 18:26:25 -0800 (PST)
MIME-Version: 1.0
From: Rohan Mahy <rohan.mahy@wire.com>
Date: Tue, 20 Dec 2022 18:26:14 -0800
Message-ID: <CACW8--MFLbrCnccc6M5icEHZ0VXsvjcZM8HMxvwL=_dr2ip8UQ@mail.gmail.com>
To: Messaging Layer Security WG <mls@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000074772805f04d47fa"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/qkXqC7taHT-mGVpMkRapWDIhWAQ>
Subject: [MLS] security analysis of last-resort KeyPackages?
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Messaging Layer Security <mls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mls>, <mailto:mls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mls/>
List-Post: <mailto:mls@ietf.org>
List-Help: <mailto:mls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mls>, <mailto:mls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Dec 2022 02:26:32 -0000

Hi,
The architecture document mentions last-resort KeyPackages in this section
<https://www.ietf.org/archive/id/draft-ietf-mls-architecture-10.html#name-key-storage-and-retrieval>,
but doesn't really give guidance on why it is a bad idea. Does anyone have
a link to a paper or analysis of the security implications? My
understanding is that this is much worse from a security perspective than
having last-resort keying material in DoubleRatchet.

Thanks,
-rohan

*Rohan Mahy  *l  Vice President Engineering, Architecture

Chat: @rohan_wire on Wire



Wire <https://wire.com/en/download/> - Secure team messaging.

*Zeta Project Germany GmbH  *l  Rosenthaler Straße 40,
<https://maps.google.com/?q=Rosenthaler+Stra%C3%9Fe+40,%C2%A0+10178+Berlin,%C2%A0+Germany&entry=gmail&source=g>10178
Berlin,
<https://maps.google.com/?q=Rosenthaler+Stra%C3%9Fe+40,%C2%A0+10178+Berlin,%C2%A0+Germany&entry=gmail&source=g>
Germany
<https://maps.google.com/?q=Rosenthaler+Stra%C3%9Fe+40,%C2%A0+10178+Berlin,%C2%A0+Germany&entry=gmail&source=g>

Geschäftsführer/Managing Director: Alan Duric, Andre Kiehne

HRB 149847 beim Handelsregister Charlottenburg, Berlin

VAT-ID DE288748675