Re: [pkix] SMIME ECC encryption

Russ Housley <housley@vigilsec.com> Tue, 22 September 2020 20:07 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: pkix@ietfa.amsl.com
Delivered-To: pkix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03F383A1977 for <pkix@ietfa.amsl.com>; Tue, 22 Sep 2020 13:07:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 JBo_cDNGLZoA for <pkix@ietfa.amsl.com>; Tue, 22 Sep 2020 13:07:06 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9CAFD3A198B for <pkix@ietf.org>; Tue, 22 Sep 2020 13:07:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 22312300B40 for <pkix@ietf.org>; Tue, 22 Sep 2020 16:07:04 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cg7qKUGiRPpI for <pkix@ietf.org>; Tue, 22 Sep 2020 16:07:02 -0400 (EDT)
Received: from [192.168.1.161] (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id BF62C300AE8; Tue, 22 Sep 2020 16:07:02 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <1600770897754.61072@cs.auckland.ac.nz>
Date: Tue, 22 Sep 2020 16:07:03 -0400
Cc: Tom Hans <tomhans18@gmail.com>, IETF PKIX <pkix@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6469DD61-8FE3-49E5-89DA-6838CC6DE874@vigilsec.com>
References: <CAGWHT=ZvzGh=Lg92ah4v-ZOwxS74U5+peDBfdB_y+k3RF0nGfQ@mail.gmail.com> <5C9B7F8B-5303-4F37-AC66-7B37461FA5FF@vigilsec.com> <CAGWHT=YwZu9HoJomK=TD=Ge4EPVCfUV7rRWW4Z8zNeDOtEpetQ@mail.gmail.com> <6E8DE231-F76A-4C4C-B056-FCA2CB663577@vigilsec.com> <1600770897754.61072@cs.auckland.ac.nz>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
X-Mailer: Apple Mail (2.3445.104.15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/pkix/IzVOaNevkecGQDixRBAqceEd-b4>
Subject: Re: [pkix] SMIME ECC encryption
X-BeenThere: pkix@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: PKIX Working Group <pkix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pkix>, <mailto:pkix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pkix/>
List-Post: <mailto:pkix@ietf.org>
List-Help: <mailto:pkix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pkix>, <mailto:pkix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2020 20:07:08 -0000


> On Sep 22, 2020, at 6:34 AM, Peter Gutmann <pgut001@cs.auckland.ac.nz> wrote:
> 
> Russ Housley <housley@vigilsec.com> writes:
> 
>> The current implementation of OpenSSL does not do S/MIME 4.0, which uses
>> AuthEnvelopedData.  The current version of OpenSSL supports earlier versions
>> of S/MIME, which use EnvelopedData.
> 
> That may be a different thing though, the OP was asking for "ECC encryption"
> which I assume is static-ephemeral ECDH or ECMQV (pick one at random) rather
> than use of AuthEnvelopedData.  There are implementations of CMS
> AuthEnvelopedData, but AFAIK the number of implementations of ECDH-as-key-
> transport are the same as the number of implementations of DH-as-key-
> transport.

AuthEnvelopedData and EnvelopedData support the same mechanisms for establishing a key.  AuthEnvelopedData uses that key with an AEAD.  EnvelopedData did not have a place to carry the authentication tag.

Russ