[plasma] SignedData vs. ContentInfo for keyatt-eps-kek

Trevor Freeman <trevorf@exchange.microsoft.com> Mon, 28 January 2013 18:45 UTC

Return-Path: <trevorf@exchange.microsoft.com>
X-Original-To: plasma@ietfa.amsl.com
Delivered-To: plasma@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 63D0821F86E8 for <plasma@ietfa.amsl.com>; Mon, 28 Jan 2013 10:45:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.598
X-Spam-Level:
X-Spam-Status: No, score=-102.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BtAlZaR-QC9A for <plasma@ietfa.amsl.com>; Mon, 28 Jan 2013 10:45:50 -0800 (PST)
Received: from na01-sn2-obe.outbound.o365filtering.com (na01-sn2-obe.ptr.o365filtering.com [157.55.158.24]) by ietfa.amsl.com (Postfix) with ESMTP id 57C1821F86E4 for <plasma@ietf.org>; Mon, 28 Jan 2013 10:45:49 -0800 (PST)
Received: from BY2SR01CA101.namsdf01.sdf.exchangelabs.com (10.255.93.146) by BY2SR01MB609.namsdf01.sdf.exchangelabs.com (10.255.93.168) with Microsoft SMTP Server (TLS) id 15.0.620.2; Mon, 28 Jan 2013 18:45:46 +0000
Received: from BY1FFOFD003.ffo.gbl (64.4.22.87) by BY2SR01CA101.outlook.office365.com (10.255.93.146) with Microsoft SMTP Server (TLS) id 15.0.620.2 via Frontend Transport; Mon, 28 Jan 2013 18:46:24 +0000
Received: from hybrid.exchange.microsoft.com (131.107.1.17) by BY1FFOFD003.mail.o365filtering.com (10.1.16.90) with Microsoft SMTP Server (TLS) id 15.0.609.1 via Frontend Transport; Mon, 28 Jan 2013 18:45:46 +0000
Received: from df-h14-02.exchange.corp.microsoft.com (157.54.78.140) by DF-G14-01.exchange.corp.microsoft.com (157.54.87.87) with Microsoft SMTP Server (TLS) id 14.3.123.1; Mon, 28 Jan 2013 10:45:17 -0800
Received: from PIO-MLT-06.exchange.corp.microsoft.com (157.54.94.24) by DF-H14-02.exchange.corp.microsoft.com (157.54.78.140) with Microsoft SMTP Server (TLS) id 14.3.123.1; Mon, 28 Jan 2013 10:45:17 -0800
Received: from DF-M14-10.exchange.corp.microsoft.com ([fe80::b076:a99f:3049:4c76]) by PIO-MLT-06.exchange.corp.microsoft.com ([fe80::d57f:521a:3ae6:c130%10]) with mapi id 14.03.0123.001; Mon, 28 Jan 2013 10:45:17 -0800
From: Trevor Freeman <trevorf@exchange.microsoft.com>
To: "Jim Schaad (jimsch@augustcellars.com)" <jimsch@augustcellars.com>
Thread-Topic: SignedData vs. ContentInfo for keyatt-eps-kek
Thread-Index: Ac39hm/mOk1DcgOkQXS7jcYq8bfI3g==
Date: Mon, 28 Jan 2013 18:45:16 +0000
Message-ID: <3020AC5E95452D43B5D8D0FB02F881D3BCDDDC@DF-M14-10.exchange.corp.microsoft.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.94.16]
Content-Type: multipart/alternative; boundary="_000_3020AC5E95452D43B5D8D0FB02F881D3BCDDDCDFM1410exchangeco_"
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.1.17; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(199002)(189002)(51856001)(5343655001)(16236675001)(876001)(54356001)(4396001)(56816002)(55846006)(53806001)(59766001)(77982001)(20776003)(74662001)(54316002)(47446002)(44976002)(74502001)(5343635001)(56776001)(512954001)(50986001)(47976001)(49866001)(79102001)(76482001)(47736001)(16406001)(33656001)(63696002)(31966008)(15202345002)(46102001); DIR:OUT; SFP:; SCL:1; SRVR:BY2SR01MB609; H:hybrid.exchange.microsoft.com; RD:mail1.exchange.microsoft.com; A:1; MX:1; LANG:en;
X-Forefront-PRVS: 074040B844
X-OriginatorOrg: DuplicateDomain-6c178e33-aecb-4786-8220-9afceeddbaf3.exchange.microsoft.com
Cc: "plasma@ietf.org" <plasma@ietf.org>
Subject: [plasma] SignedData vs. ContentInfo for keyatt-eps-kek
X-BeenThere: plasma@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "The PoLicy Augmented S/Mime \(plasma\) bof discussion list." <plasma.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/plasma>, <mailto:plasma-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/plasma>
List-Post: <mailto:plasma@ietf.org>
List-Help: <mailto:plasma-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/plasma>, <mailto:plasma-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Jan 2013 18:45:52 -0000

Hi Jim

An observation on the CMS draft is that you currently have the keyatt-eps-kek defined as a SignedData structure.

The standard CMS signature creation and verification APIs expect to have the ContentInfo structure as the output\input data stream as defined by S/MIME defines.

Net result when using these standard APIs is we end up manually removing the ContentInfo structure on creation and adding it on verification when processing the keyatt-eps-kek attribute. While not strictly necessary, it would streamline the code path if we were to use ContentInfo as we can skip the manual adding\removal of the ContentInfo structure.

Trevor