Re: [E2ee] Reducing Plaintext Metadata in E2EE Systems

Mallory Knodel <mknodel@cdt.org> Thu, 29 July 2021 14:27 UTC

Return-Path: <mknodel@cdt.org>
X-Original-To: e2ee@ietfa.amsl.com
Delivered-To: e2ee@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7502E3A247E for <e2ee@ietfa.amsl.com>; Thu, 29 Jul 2021 07:27:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cdt.org
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 7GHim9rROPWZ for <e2ee@ietfa.amsl.com>; Thu, 29 Jul 2021 07:27:38 -0700 (PDT)
Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 0FD2D3A2483 for <e2ee@ietf.org>; Thu, 29 Jul 2021 07:27:37 -0700 (PDT)
Received: by mail-qt1-x830.google.com with SMTP id d9so4018732qty.12 for <e2ee@ietf.org>; Thu, 29 Jul 2021 07:27:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cdt.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=qndTgc4u3uoVjWq9GDl5vg4e2ljGe7hRfCU11ino8JA=; b=G6B7jOXqJx66+9K2/cV3TO4B+1d9qOfAh2f2nQlJQXqfLps+sOMbi6MzqrXIfjOQgh 3zQag3Bfmg5Hu/1ct1oGsIELRQ1p0oilAVoCwi52uqHVK+4vTO2r4NKkNhMBTMK4jh8t sx7929PAjFaoeuDuGZfPqoSwEOjyrrw36bV28=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=qndTgc4u3uoVjWq9GDl5vg4e2ljGe7hRfCU11ino8JA=; b=kBT5rnrBfQ8uyG42JZwIO1TlI5f2rmrMWf3L8yMLsuei2XuGrZB1UOe1cVX645Ug8O 6OLa/AO2dhjmfZKVjVjshf5DG0/A+/buafLMC74NVjMuuRF6lDJGG4zBjt0GYakSMnvn 0KgN945etNJrBaOuPvMuYEALkgRiezuJGyfFSJTAP63Pb7Yb+WN4rH9eGHxWgR/SiZ55 dI4urOEjdMfPRFjwukFWPfRSVoaYWUoU6c4MtOz/fxhLeKv3ti/vd+zni4InDryxgCs5 SQdTbtMkMAfiP2lYOw5Y9zfklV8cKLz3pNzQXqpxR9wmsHYOmHGsBUBm7CNw+8FfDR10 1fgg==
X-Gm-Message-State: AOAM532UGKYxMTlNtxBMmHMdSwMGET6lQb1JShEnkT7cbxgTzBdGQBAe yTYfUaerPyPlm3jAbZprHHpIkA==
X-Google-Smtp-Source: ABdhPJxptZco1oiME2ry+nwq0TTVqjByPiE/YWm1YQ+vRzmfLS9xFWjI77feiMRRZ08J2Yp/hhzfYA==
X-Received: by 2002:ac8:764e:: with SMTP id i14mr4442610qtr.247.1627568856230; Thu, 29 Jul 2021 07:27:36 -0700 (PDT)
Received: from ?IPV6:2601:14d:8300:7fa0:9c9b:845b:634f:7a0b? ([2601:14d:8300:7fa0:9c9b:845b:634f:7a0b]) by smtp.gmail.com with UTF8SMTPSA id m19sm1245246qtx.84.2021.07.29.07.27.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jul 2021 07:27:35 -0700 (PDT)
Message-ID: <ae81d84b-3c1a-ed51-4f77-11e280a507c0@cdt.org>
Date: Thu, 29 Jul 2021 10:27:34 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.0
Content-Language: en-US
To: Matthew Finkel <sysrqb@torproject.org>, e2ee@ietf.org
References: <20210729141230.p62bwxrh6shysjkq@localhost>
From: Mallory Knodel <mknodel@cdt.org>
In-Reply-To: <20210729141230.p62bwxrh6shysjkq@localhost>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/e2ee/QF08xPUSCBcPctkx6k75HnTNOw0>
Subject: Re: [E2ee] Reducing Plaintext Metadata in E2EE Systems
X-BeenThere: e2ee@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <e2ee.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/e2ee>, <mailto:e2ee-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/e2ee/>
List-Post: <mailto:e2ee@ietf.org>
List-Help: <mailto:e2ee-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/e2ee>, <mailto:e2ee-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jul 2021 14:27:43 -0000

Thanks a lot Matthew,

I agree that this should be a goal. Not all of the features should or 
could be part of every e2ee system, but the draft should demonstrate the 
"trajectory" of where the technology goes ideally.

Please do create a PR, I would be happy to review and merge.

-Mallory

On 7/29/21 10:12 AM, Matthew Finkel wrote:
> Hi all,
>
> This draft is very valuable, thanks to the authors for writing it. I'd
> like to call more attention to the importance of reducing plaintext
> metadata. The current draft contains:
>
>     Existing protocols are vulnerable to meta-data analysis, even though
>     meta-data is often much more sensitive than content.  Meta-data is
>     plaintext information that travels across the wire and includes
>     delivery-relevant details that central servers need such as the
>     account identity of end-points, timestamps, message size.  Meta-data
>     is difficult to obfuscate efficiently.
>
> The phrasing of this paragraph leads me to wonder if obfuscation of
> metadata should be included as a desirable feature. I don't mean to
> imply it's possible to eliminate leaking all metadata in all E2EE
> systems, but there is often some low-hanging fruit, like IP addresses or
> non-routing metadata, that an E2EE system can try to protect or
> obfuscate; e.g., MASQUE/OHTTP/Tor for IP addresses, and [0][1] for
> protecting some extraneous message headers. I can open a PR if this is
> helpful.
>
> Thanks,
> Matthew Finkel
>
> [0] https://datatracker.ietf.org/doc/html/draft-autocrypt-lamps-protected-headers
> [1] https://signal.org/blog/sealed-sender/
>
-- 
Mallory Knodel
CTO, Center for Democracy and Technology
gpg fingerprint :: E3EB 63E0 65A3 B240 BCD9 B071 0C32 A271 BD3C C780