Re: [MLS] Message Protection
Martin Thomson <martin.thomson@gmail.com> Fri, 29 June 2018 07:57 UTC
Return-Path: <martin.thomson@gmail.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 7D68112F295 for <mls@ietfa.amsl.com>; Fri, 29 Jun 2018 00:57:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jk2ndW0R6-Zz for <mls@ietfa.amsl.com>; Fri, 29 Jun 2018 00:57:40 -0700 (PDT)
Received: from mail-ot0-x22c.google.com (mail-ot0-x22c.google.com [IPv6:2607:f8b0:4003:c0f::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9179128BAC for <mls@ietf.org>; Fri, 29 Jun 2018 00:57:39 -0700 (PDT)
Received: by mail-ot0-x22c.google.com with SMTP id f17-v6so9021615otl.7 for <mls@ietf.org>; Fri, 29 Jun 2018 00:57:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7xEZMXd/yrNeNWH4UK0R4yGZn4CVrT9TzefhnlivuwQ=; b=XSUH8UpGSIq/z0ShQvGb11RYmYyjoZ2QTqmB6xlrqo+HneqW1yHZCHVNvtO45M1HXq glzy5JpI1u0SqTk/XU/U93dHzMesV8Q5l0chYYiHvWFxRa71jpjEpn/U7QTwffsPGJGJ mp4Xr3wh+92fxcsxgLeYFShlDPRUQsUcbYQarFRaLsfH5OF6SLWXfaici7/vUnX7YBBu KyGWy36UwKM9Juc97kKBjdc0aAoYmxEZiVRvhDmQ5lwT0j0c2uG20adQ0/gnxA+Vx5ZR VxCzZy3V4nDVXDnPNHPBzSdSJQgzhNkKMkI5A7UfaSlgjT/uGrlfhNhEGNZJD/2IZMz5 KYPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7xEZMXd/yrNeNWH4UK0R4yGZn4CVrT9TzefhnlivuwQ=; b=BdZljtTa2iHyt7tWxQziqrfolhhX0GfJ1NWlnvmchjyr7K7Fyn0KcBqxIe5wtEFYQM lzQcB7xdQiodeYT4shXOgAr78pe8TBfRana73pbM8eKpzZUB0OnmtjXolX7eVt4Sdc76 Psydq3vkJ/9X9LwCMDv2msUNdqjk47xHBsNa8Pck54ylCacK0pAwdK53su09YXa7CIAl eP3pAbS3TY6EdV7kMxxoOxnMGipmOWI3kOAPh/TusBtmSElAmZSOy6IHAs9d+8+pItwc MK6DrWRqN8kazp5CBZGuVfNZvTnf6dhPK7GNbO6iV9g6AtQ6yKmeCbENmRCvE30s8v47 85Ng==
X-Gm-Message-State: APt69E1WauxTH31mGoNNYa5Q6VTg5N89Bne4CXeb0XgUYzUfCVezMsDs vWNRHbso+tvf7PZj3Gw4eTe+et3ti6cF/Pbzcd8=
X-Google-Smtp-Source: AAOMgpcfzXcNGs6d4tA5cby3UMSzgEO1Hqtc1mqAdH+oQVGnbto7/LgrWN0oTEJCkzSxk25NGcUbIGX3wLKh3IZAX0M=
X-Received: by 2002:a9d:5211:: with SMTP id e17-v6mr3801422oth.396.1530259059232; Fri, 29 Jun 2018 00:57:39 -0700 (PDT)
MIME-Version: 1.0
References: <CAL02cgREuhjySYZXmhaE3RuF3fZ5iwCgyW2ChtgwPYhDgdaYUQ@mail.gmail.com> <11392542-5C22-4033-99F6-009F066F48DD@vigilsec.com> <CABkgnnVZMNhrSE0mL7-yehuoR-uE-Kj3zZC9nqRY4zHE2gmVPg@mail.gmail.com> <640CFF9E-5231-4188-888A-CAB4376393F6@vigilsec.com> <1530198719.3129780.1423592624.575CB8EA@webmail.messagingengine.com> <CABkgnnV81G0umQ91MFXfd3WhMA6WUJZmjUaL6=KGC4kpC3k8CQ@mail.gmail.com> <01e701d40f7c$430f3b20$c92db160$@virgilsecurity.com>
In-Reply-To: <01e701d40f7c$430f3b20$c92db160$@virgilsecurity.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 29 Jun 2018 17:57:29 +1000
Message-ID: <CABkgnnW+5RA=EP2Vby-guesQOnWbi6f3UxJQiD4MQw3F=m5uPQ@mail.gmail.com>
To: scratch@virgilsecurity.com
Cc: Katriel Cohn-Gordon <me@katriel.co.uk>, mls@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mls/IxYpyxwEOJX37raVwqpoOXfW4Gw>
Subject: Re: [MLS] Message Protection
X-BeenThere: mls@ietf.org
X-Mailman-Version: 2.1.26
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: Fri, 29 Jun 2018 07:57:42 -0000
On Fri, Jun 29, 2018 at 5:39 PM Alexey Ermishkin <scratch@virgilsecurity.com> wrote: > I'm not sure if nonce should be also derived as keys will be unique and used > only once. It does not seem to affect security in either way. Signal is also > using zero nonces for one time keys. In TLS we chose to derive nonces so that it would become less feasible to do precomputation attacks. Messages are often predictable, and if you can calculate a table for common responses, it might be possible to have enough values stored to compromise confidentiality. (That was the argument; not sure how much weight it carries relative to just using a stronger primitive, but there you have it.)
- [MLS] Message Protection Richard Barnes
- Re: [MLS] Message Protection Benjamin Beurdouche
- Re: [MLS] Message Protection Russ Housley
- Re: [MLS] Message Protection Martin Thomson
- Re: [MLS] Message Protection Richard Barnes
- Re: [MLS] Message Protection Russ Housley
- Re: [MLS] Message Protection Katriel Cohn-Gordon
- Re: [MLS] Message Protection Martin Thomson
- Re: [MLS] Message Protection Alexey Ermishkin
- Re: [MLS] Message Protection Martin Thomson
- Re: [MLS] Message Protection Alexey Ermishkin