Re: On email and web security

Phillip Hallam-Baker <phill@hallambaker.com> Thu, 14 January 2016 06:23 UTC

Return-Path: <hallam@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61AE21ACD48 for <ietf@ietfa.amsl.com>; Wed, 13 Jan 2016 22:23:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
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 kq6iZhmTetai for <ietf@ietfa.amsl.com>; Wed, 13 Jan 2016 22:23:14 -0800 (PST)
Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 19A2B1ACD11 for <ietf@ietf.org>; Wed, 13 Jan 2016 22:23:14 -0800 (PST)
Received: by mail-wm0-x22d.google.com with SMTP id b14so409685564wmb.1 for <ietf@ietf.org>; Wed, 13 Jan 2016 22:23:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=giUaY/d9iLEpqBxGDikC+cmkKfOtms0oykyvn/uazIE=; b=KEyJA1rlo1lzPtqC2kWmqOxPbEZUJaxfAUN1bH4IJZFT3lM7xhwaBwviRLd24tMu8w AL1sCxjTqFYrbd62hiBGmgbA0Sp4clLbEtS7hswQCn1jLszKtMw/XiF9Xh1y65LAErha Htvm3o1V/OsDbVZR+rbl19nwILMihXa7XzbQ5p5ygoRGkwY0kZLhx3JN1jFpJ78tRuhp irgQLrvY7dBOifT8Ga4MysaQjCjmZSYa002o1H85RtIs+BUlzZEnPoJboHSJcf7kxyW4 2iJITDJZY1b2DAdXCxki3Wx0GWZaZGUgwZ0KQdcbsX5D4A1pbzwEDHZT7jGt9qJFaoG+ lBHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=giUaY/d9iLEpqBxGDikC+cmkKfOtms0oykyvn/uazIE=; b=a173v/oItc+mnZIdk1lRuVSnm9XaBjPYjCPNmTuiy+EWjH64Pm+VNt0jRzrsc9fL45 7t5MR1oxid2eTTTfroirA4bau5QIL9xgnqKs1huCNlzaSRWuFBgXoY9FnmdCsGg1cCIv QHBn/jNdJNJpxajWkIPh8R4NXiRZwlf4/SNvrcpGLoEZZceuhLFN0ZiNLBgZSOwPwctu ijwEQhQHo135UecmFUttZeJATX97sjCxH3N6/HHMiyvD1vrvz732s2k08H87lOFT5td2 n1iF9QQAIDdT3/1QJC9MgyRmC09d4OH1Vk9LlLQGL4RdHy960atuiO0lTlIiQPvwX6dw OXiA==
X-Gm-Message-State: ALoCoQnZaarjxhnPLu+15DaymTPVxGdBEGxl0cOFMzUvCgInnRw1aOc+872oX+q3CGt9LQUyL5/cSuKcftDuWHhkVBrrC4ukkg==
MIME-Version: 1.0
X-Received: by 10.25.169.129 with SMTP id s123mr549372lfe.39.1452752592545; Wed, 13 Jan 2016 22:23:12 -0800 (PST)
Sender: hallam@gmail.com
Received: by 10.112.1.33 with HTTP; Wed, 13 Jan 2016 22:23:12 -0800 (PST)
In-Reply-To: <20160114024314.66977.qmail@ary.lan>
References: <5696ED21.6000805@dougbarton.us> <20160114024314.66977.qmail@ary.lan>
Date: Thu, 14 Jan 2016 01:23:12 -0500
X-Google-Sender-Auth: OsPODKk3nOjMhPInREnRWuepP3U
Message-ID: <CAMm+LwjtY8REViD2xO3i6qzrU322jKavBXuEYHUZE++WMAooOw@mail.gmail.com>
Subject: Re: On email and web security
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: John Levine <johnl@taugh.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/ietf/CxYSCEIxzmIJpMqxY1FFgXjNVSw>
Cc: IETF Discussion Mailing List <ietf@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Jan 2016 06:23:15 -0000

On Wed, Jan 13, 2016 at 9:43 PM, John Levine <johnl@taugh.com> wrote:
>>Well the question I responded to was wondering if there was a way to
>>have the list software re-encrypt to the members without being able to
>>decrypt the message first. If I understand correctly, you're saying that
>>S/MIME can't do that either?
>
> Not unless there is something hidden inside all of the X.509 glop that
> I'm unaware of.  Message bodies are encrypted with a session key
> which is in turn encrypted with the public keys of the message
> recipients.  Nothing magic there.

You end up having to modify the clients that decrypt the messages.

The sender merely needs to use an encryption scheme that is based on
an algorithm that there is a recryption scheme for. I have only seen
Diffie Hellman based schemes. But since the receiver code is likely to
be for the new CFRG ECDH algorithms, you are backed up on the sender
and receiver side.

There are probably ways you could shoehorn this into S/MIME and
OpenPGP but why not do the job right and extend wherever necessary?
the client code has to change anyway.