From calendar-invite@reply.yahoo.com  Thu Sep  4 03:43:05 2008
Return-Path: <calendar-invite@reply.yahoo.com>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 34C5D3A67D0
	for <ietfarch-smime-archive@core3.amsl.com>; Thu,  4 Sep 2008 03:43:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.153
X-Spam-Level: ****
X-Spam-Status: No, score=4.153 tagged_above=-999 required=5
	tests=[BAYES_99=3.5, GB_I_INVITATION=-2, GB_I_LETTER=-2,
	HTML_MESSAGE=0.001, IP_NOT_FRIENDLY=0.334, NA_DOLLARS=1.329,
	SARE_SUB_GOOD_DAY=0.679, SARE_URGBIZ=0.725, URG_BIZ=1.585]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 6Z-D0OOJTQkp
	for <ietfarch-smime-archive@core3.amsl.com>;
	Thu,  4 Sep 2008 03:43:01 -0700 (PDT)
Received: from n22b.bullet.mail.sp1.yahoo.com (n22b.bullet.mail.sp1.yahoo.com [69.147.65.254])
	by core3.amsl.com (Postfix) with SMTP id 0560E3A681B
	for <smime-archive@ietf.org>; Thu,  4 Sep 2008 03:43:00 -0700 (PDT)
Received: from [216.252.122.219] by n22.bullet.sp1.yahoo.com with NNFMP; 04 Sep 2008 10:43:08 -0000
Received: from [68.142.194.244] by t4.bullet.sp1.yahoo.com with NNFMP; 04 Sep 2008 10:43:08 -0000
Received: from [209.191.93.244] by t2.bullet.mud.yahoo.com with NNFMP; 04 Sep 2008 10:43:08 -0000
Date: 04 Sep 2008 03:43:08 -0700
Received: from [127.0.0.1] by web121.cal.pim.mud.yahoo.com with NNFMP; 04 Sep 2008 10:43:08 -0000
x-yahoo-newman-errors: calendar-invite.mvshoylsnrxxk43jenvheljrgizdanjsgq4tqobnmvshoylsnrxxk43jenvheorz-smime-archive=ietf.org@returns.bulk.yahoo.com
MIME-Version: 1.0
Reply-to: edwarlousi@yahoo.fr
Errors-To: edwarlousi@yahoo.fr
From: Lousi Edward <edwarlousi@yahoo.fr>
To: smime-archive@ietf.org
Subject: GOOD DAY.
X-Yahoo-Newman-Property: calendar-invite
X-Yahoo-Newman-Id: edwarlousi#jr-1220524988-edwarlousi#jr:9
X-RocketSRV: siu=http://us.i1.yimg.com/us.yimg.com/i/us/pim/el/inv16_1.gif;siw=16;sih=16;allow=all
Content-Type: multipart/alternative;	boundary="YCalInvites=Ory39FbOW1220524974-1"
Message-Id: <20080904104301.0560E3A681B@core3.amsl.com>

--YCalInvites=Ory39FbOW1220524974-1
Content-type: text/plain; charset=windows-1252;
Content-Transfer-Encoding: 8bit 

Invitation&nbsp;: "GOOD DAY.".


Par votre hôte Lousi Edward:

GOOD DAY.

I am the Director in charge of Auditing section Bank in the Group Bank of Africa; I need your urgent assistance in using your name in transferring the sum of ($12.6 million) Twelve Million six Hundred Thousand US Dollars immediately to you via Swift transfer or through the diplomatic mince and also note that you will have 30% of the above mentioned amount if you agree to help me and receive this fund. 

Reply via this email/ edlusi@universia.cl 
Mr.Lousi Edward
Tel:+226 7878 464

     Date:		jeudi 4 septembre 2008

     Heure:		9h 00 - 10h 00 (GMT+00:00)

Invités:

     * shobh99@yahoo.co.in
     * shobha.skumar@cwsolution.com
     * shoesres001@126.com
     * shop_tell2@yahoo.co.uk
     * shoroq_bankbaghdad@yahoo.co.uk
     * shougen1983@126.com
     * shoyi@sina.com
     * shrawan_05@yahoo.co.in
     * shrikantbaldi@yahoo.co.uk
     * shuishuiliu@sina.com
     * shyaror@yahoo.co.in
     * shyuankuang@126.com
     * si.wong063@yahoo.com.hk
     * siewkumhong@yahoo.co.uk
     * sifafula@zic.org.zm
     * sihaico@vip.sina.com
     * silveranalysis@yahoo.co.uk
     * silverguru22@hotmail.com
     * simon_johnk@yahoo.co.in
     * simonhillesq@yahoo.com.hk
     * simonjohnk1@gmail.com
     * sindyzou@126.com
     * singh.priyank@yahoo.co.in
     * singh198081@yahoo.com.au
     * singsit01@yahoo.com.hk
     * sinkinwai@yahoo.com.hk
     * sinyamakalimukwa@yahoo.ca
     * sir_woganterry1950@yahoo.com.hk
     * sirkir_in@yahoo.co.in
     * sirlevischambers@yahoo.co.uk
     * sistyugler00@hotmail.com
     * situksp@yahoo.co.in
     * siufei2004@yahoo.com.hk
     * siweicau@126.com
     * sjbjoat@shaw.ca
     * sjscanlon@hotmail.com
     * skandersonatty@aol.com
     * skavivasvela@yahoo.co.uk
     * skbardhan2004@yahoo.co.in
     * skiesinfo@aol.com
     * skilledpr@yahoo.com
     * skillsforlifenewsletter@yahoo.co.uk
     * sklee@yahoo.com.hk
     * skraske@kcstar.com
     * sksafi_skn@yahoo.co.in
     * sktraju_skt@yahoo.co.in
     * sky_mede@yahoo.co.uk
     * skycute22@yahoo.co.in
     * skyhu@vip.sina.com
     * sl_powell1917@yahoo.co.uk
     * slebludeke@aol.com
     * slileprivate3@yahoo.com.hk
     * slimereaper@hotmail.com
     * slin5@aol.com
     * slytzjx@vip.sina.com
     * smallbusinessbigissues@yahoo.com
     * smalldobee@yahoo.com.hk
     * smallrinkicemaker@yahoo.ca
     * smart.bizy@yahoo.co.in
     * smartchoicemortgage08@yahoo.com.au
     * smartinvest2006@yahoo.co.in
     * smashedopress@yahoo.co.uk
     * smatai@hotmail.com
     * smbmoyo@yahoo.co.uk
     * smc4464@aol.com
     * sme_gov@126.com
     * smidavid4002@yahoo.com.hk
     * smil-editors@w3.org
     * smila59@hotmail.com
     * smilealiwill1@yahoo.com.hk
     * smilesbuddha@yahoo.co.in
     * smilesflirts@yahoo.ca
     * smillintroductory@yahoo.com.hk
     * smime-archive@ietf.org
     * smirnow@sympatico.ca
     * smith.anvanna@gmail.com
     * smithalano@yahoo.com.hk
     * smithjc@shaw.ca
     * smnor007@yahoo.com.my
     * smokelessoil@yahoo.com

invitation_add_to_your_yahoo_calendar:

     http://fr.calendar.yahoo.com//?v=60&ST=20080904T090000%2B0000&TITLE=GOOD+DAY.&DUR=0100&VIEW=d&DESC=GOOD+DAY.%0d%0a%0d%0aI+am+the+Director+in+charge+of+Auditing+section+Bank+in+the+Group+Bank+of+Africa%3b+I+need+your+urgent+assistance+in+using+your+name+in+transferring+the+sum+of+($12.6+million)+Twelve+Million+six+Hundred+Thousand+US+Dollars+immediately+to+you+via+Swift+transfer+or+through+the+diplomatic+mince+and+also+note+that+you+will+have+30%25+of+the+above+mentioned+amount+if+you+agree+to+help+me+and+receive+this+fund.+%0d%0a%0d%0aReply+via+this+email/+edlusi@universia.cl+%0d%0aMr.Lousi+Edward%0d%0aTel%3a%2b226+7878+4641&TYPE=10

    
Copyright © 2008 Tous droits réservés.
 www.yahoo.fr

Données personnelles:
 http://privacy.yahoo.com/privacy/us

Conditions d'utilisation:
 http://docs.yahoo.com/info/terms/

--YCalInvites=Ory39FbOW1220524974-1
Content-type: text/html; charset=windows-1252;
Content-Transfer-Encoding: 8bit




                    

<html>

<style type="text/css">
    a {color:#0066CC;text-decoration:none;}
    body {text-align:center; font-family:Arial;}
    .propertyname{text-align:right; font-size:10px; font-size:13px; color:7A8180; width:100px; vertical-align:top;white-space:nowrap;}
    .propertyvalue{text-align:left; font-size:13px; vertical-align:top;}
    .divider{width:10px; }
    #invite_main {background-color:#4D94DB; width:525px; padding:0 0 10px 0;}
    #invite_main_info {background-color:white; margin: 0px 10px 0px 10px;clear:both; zoom:1; width:505px; overflow-x:auto;}
    .header_images {height:55px; margin-left:10px; margin-right:10px;zoom:1}
    #header_yahoo_image {margin-top:13px; float:left; width:274px; height:28px; text-align:left;}
    #header_second_image {margin-top:10px; float:right; width:53px; height:35px;}
    #invite_main {background-color:#4D94DB; width:525px; padding:0 0 10px 0;margin-bottom:10px}
    #copyright_footer {font-size:10px;}
    #tip_footer {font-size:10px;}
    #main_table{padding:0; border-spacing:0; margin: 15px 10px 10px 10px;}
    #guests_div{overflow-y:auto; height:40px;}
    .item_list { width:400px;}
    .event_time { width:70px; text-align:right;}
    .event_title { width:100px; text-align:left;}
    .task_title { width:100px; text-align:left;}
    .event_title_daily { width:250px; text-align:left;}
    .add_link { width:300px; text-align:left;}
    .task_header_priority{ width:100px; text-align:left;}
    .task_header_date{ width:100px; text-align:right;}
    .task_priority{ width:10px; text-align:center;}
    .task_date{ width:75px; text-align:right;}
    .nowrap {white-space:nowrap;}  
    .new {font-size:8px; text-transform:uppercase; color:#FF6600;}
    .clear_line{font-size:8px}
</style>

<body>
<center>
<div id="invite_main">
	<div class="header_images"> 
		<div id="header_yahoo_image"><img src="http://us.i1.yimg.com/us.yimg.com/i/fr/pim/cal/email/ma_2.gif" border=0 alt=""/></div>
		<div id="header_second_image"><img src="http://us.i1.yimg.com/us.yimg.com/i/us/pim/cal/email/gr/cal_em_invite_1.gif" border=0 alt=""/></div>
	</div>
	<div id="invite_main_info">
		<table id="main_table" cellpadding=0>

                            <tr><td class="propertyname">Vous êtes invité ::</td>
                <td class="divider">&nbsp;</td>
                <td class="propertyvalue">GOOD DAY.</td></tr>
            
                                                <tr><td class="propertyname">Par votre hôte:</td>
                    <td class="divider">&nbsp;</td>
                    <td class="propertyvalue">Lousi Edward</td></tr>
                                
                <tr><td colspan=3 class="clear_line">&nbsp;</td></tr>              

			    		 		    <tr><td class="propertyname">Message:</td>
                    <td class="divider">&nbsp;</td>
                    <td class="propertyvalue">GOOD DAY.<br><br>I am the Director in charge of Auditing section Bank in the Group Bank of Africa; I need your urgent assistance in using your name in transferring the sum of ($12.6 million) Twelve Million six Hundred Thousand US Dollars immediately to you via Swift transfer or through the diplomatic mince and also note that you will have 30% of the above mentioned amount if you agree to help me and receive this fund. <br><br>Reply via this email/ edlusi@universia.cl <br>Mr.Lousi Edward<br>Tel:+226 7878 464</td></tr>

                    <tr><td colspan=3 class="clear_line">&nbsp;</td></tr>	 
		 	    	
             
              
            

                <tr><td class="propertyname">Date:</td>
    <td class="divider">&nbsp;</td> 
			<td class="propertyvalue">jeudi 4 septembre 2008
		    	</td>
	</tr>


    <tr><td class="propertyname">Heure:</td>
    <td class="divider">&nbsp;</td> 
			<td class="propertyvalue">9h 00 - 10h 00
				&nbsp;(GMT+00:00)
				</td>
	</tr>


	





            
            <tr><td colspan=3 class="clear_line">&nbsp;</td></tr>
            
			                    <tr><td class="propertyname">&nbsp;</td>
                    <td class="divider">&nbsp;</td>
                    <td class="propertyvalue"><b><a href="http://fr.calendar.yahoo.com//?v=60&ST=20080904T090000%2B0000&TITLE=GOOD+DAY.&DUR=0100&VIEW=d&DESC=GOOD+DAY.%0d%0a%0d%0aI+am+the+Director+in+charge+of+Auditing+section+Bank+in+the+Group+Bank+of+Africa%3b+I+need+your+urgent+assistance+in+using+your+name+in+transferring+the+sum+of+($12.6+million)+Twelve+Million+six+Hundred+Thousand+US+Dollars+immediately+to+you+via+Swift+transfer+or+through+the+diplomatic+mince+and+also+note+that+you+will+have+30%25+of+the+above+mentioned+amount+if+you+agree+to+help+me+and+receive+this+fund.+%0d%0a%0d%0aReply+via+this+email/+edlusi@universia.cl+%0d%0aMr.Lousi+Edward%0d%0aTel%3a%2b226+7878+4641&TYPE=10
">Ajouter dans votre </a></b></td></tr>
                                						
		</table>
	</div>
</div>

<span id="copyright_footer">
    Copyright © 2008
&nbsp;<a target=_blank href="http://www.yahoo.fr">Yahoo!</a>&nbsp;Tous droits réservés. |
<a target=_blank href="http://fr.docs.yahoo.com/info/utos.html">Conditions d'utilisation</a> | <a target=_blank href="http://privacy.yahoo.com/privacy/fr/">Données personnelles</a>  

</span>
</center>

</body>
</html>

--YCalInvites=Ory39FbOW1220524974-1--


From owner-ietf-smime@mail.imc.org  Thu Sep  4 14:44:55 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 06FAC3A67AF
	for <ietfarch-smime-archive@core3.amsl.com>; Thu,  4 Sep 2008 14:44:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.11
X-Spam-Level: 
X-Spam-Status: No, score=-1.11 tagged_above=-999 required=5
	tests=[BAYES_05=-1.11]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zOOYBCndVLLK
	for <ietfarch-smime-archive@core3.amsl.com>;
	Thu,  4 Sep 2008 14:44:54 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 9F6CF3A69F5
	for <smime-archive@ietf.org>; Thu,  4 Sep 2008 14:44:51 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m84LNoCO039298
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 4 Sep 2008 14:23:50 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m84LNodA039296;
	Thu, 4 Sep 2008 14:23:50 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp107.biz.mail.re2.yahoo.com (smtp107.biz.mail.re2.yahoo.com [206.190.52.176])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m84LNbGg039265
	for <ietf-smime@imc.org>; Thu, 4 Sep 2008 14:23:48 -0700 (MST)
	(envelope-from turners@ieca.com)
Received: (qmail 85644 invoked from network); 4 Sep 2008 21:23:37 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.99.178 with login)
  by smtp107.biz.mail.re2.yahoo.com with SMTP; 4 Sep 2008 21:23:37 -0000
X-YMail-OSG: 6zx_gB4VM1liGkxmzeIMiBr7PGaDSQ_W.WS6ntVKPWfWk3ELDFH.vb3at5KB7zSQVxoWcxq_o.0GlsK7oEgBhYfgH8QfVkqI1RzataVgmg--
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: <ietf-smime@imc.org>, <ietf-pkix@imc.org>
Subject: RFC3278 vs RFC3279 and draft-ietf-pkix-sha2-dsa-ecdsa-04.txt
Date: Thu, 4 Sep 2008 17:23:32 -0400
Organization: IECA, Inc.
Message-ID: <8D4C70373164419DA8034DC67DC960A5@Wylie>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: AckO1HuB/IDFhVw1QRypEuGybn0XbQ==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


What did people do when they implemented ecdsa-with-SHA1 - did they include
NULL parameters or are they absent?  PKIX said one thing and S/MIME says
something else. For hash algorithms implementations ought to accept both
NULL and absent as equivalent, but was the same done for ECDSA?

RFC3278 clause 8.1 states:

The following object identifier indicates the digital signature algorithm
used in this document:

 ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { ansi-x9-62 signatures(4) 1 }

When the object identifier ecdsa-with-SHA1 is used within an algorithm
identifier, the associated parameters field contains NULL.

RFC3279 clause 2.2 states:

When the ecdsa-with-SHA1 algorithm identifier appears as the algorithm field
in an AlgorithmIdentifier, the encoding MUST omit the parameters field.
That is, the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the
OBJECT IDENTIFIER ecdsa-with-SHA1.

I'd also like to know whether people followed what's in
draft-ietf-pkix-sha2-dsa-ecdsa-04.txt for ECDSA with SHA224->512 clause
3.2.1 (below) or if they put NULL parameters in:

When the ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with-SHA384 or
ecdsa-with-SHA512 algorithm identifier appears in the algorithm field as an
AlgorithmIdentifier, the encoding MUST omit the parameters field. That is,
the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the OID:
ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with- SHA384 or
ecdsa-with-SHA512. 

spt



From owner-ietf-smime@mail.imc.org  Fri Sep  5 08:28:52 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id B96B03A69EB
	for <ietfarch-smime-archive@core3.amsl.com>; Fri,  5 Sep 2008 08:28:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.138
X-Spam-Level: 
X-Spam-Status: No, score=-102.138 tagged_above=-999 required=5
	tests=[AWL=-0.342, BAYES_00=-2.599, MSGID_FROM_MTA_HEADER=0.803,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 4U+cFkEfXcoj
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri,  5 Sep 2008 08:28:52 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 8DEEB3A6A22
	for <smime-archive@ietf.org>; Fri,  5 Sep 2008 08:28:51 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m85FBEIj071064
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 5 Sep 2008 08:11:14 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m85FBEIi071062;
	Fri, 5 Sep 2008 08:11:14 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m85FB2m2071040
	for <ietf-smime@imc.org>; Fri, 5 Sep 2008 08:11:13 -0700 (MST)
	(envelope-from housley@vigilsec.com)
Message-Id: <200809051511.m85FB2m2071040@balder-227.proper.com>
Received: (qmail 11694 invoked by uid 0); 5 Sep 2008 15:10:59 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128)
  by woodstock.binhost.com with SMTP; 5 Sep 2008 15:10:59 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 05 Sep 2008 10:57:21 -0400
To: "Turner, Sean P." <turners@ieca.com>, <ietf-smime@imc.org>,
        <ietf-pkix@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: RFC3278 vs RFC3279 and
  draft-ietf-pkix-sha2-dsa-ecdsa-04.txt
In-Reply-To: <8D4C70373164419DA8034DC67DC960A5@Wylie>
References: <8D4C70373164419DA8034DC67DC960A5@Wylie>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


I do not know what implementations do, and if there are people with 
shipping product, that should be the answer.

If we have the opportunity to influence how people will do it, I 
prefer absent parameters when generating, but for safety being able 
to validate with either absent parameters of NULL.

Russ

At 05:23 PM 9/4/2008, Turner, Sean P. wrote:

>What did people do when they implemented ecdsa-with-SHA1 - did they include
>NULL parameters or are they absent?  PKIX said one thing and S/MIME says
>something else. For hash algorithms implementations ought to accept both
>NULL and absent as equivalent, but was the same done for ECDSA?
>
>RFC3278 clause 8.1 states:
>
>The following object identifier indicates the digital signature algorithm
>used in this document:
>
>  ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { ansi-x9-62 signatures(4) 1 }
>
>When the object identifier ecdsa-with-SHA1 is used within an algorithm
>identifier, the associated parameters field contains NULL.
>
>RFC3279 clause 2.2 states:
>
>When the ecdsa-with-SHA1 algorithm identifier appears as the algorithm field
>in an AlgorithmIdentifier, the encoding MUST omit the parameters field.
>That is, the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the
>OBJECT IDENTIFIER ecdsa-with-SHA1.
>
>I'd also like to know whether people followed what's in
>draft-ietf-pkix-sha2-dsa-ecdsa-04.txt for ECDSA with SHA224->512 clause
>3.2.1 (below) or if they put NULL parameters in:
>
>When the ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with-SHA384 or
>ecdsa-with-SHA512 algorithm identifier appears in the algorithm field as an
>AlgorithmIdentifier, the encoding MUST omit the parameters field. That is,
>the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the OID:
>ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with- SHA384 or
>ecdsa-with-SHA512.
>
>spt



From owner-ietf-smime@mail.imc.org  Sun Sep  7 12:59:16 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id B045E3A6959
	for <ietfarch-smime-archive@core3.amsl.com>; Sun,  7 Sep 2008 12:59:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.131
X-Spam-Level: 
X-Spam-Status: No, score=-102.131 tagged_above=-999 required=5
	tests=[AWL=-0.335, BAYES_00=-2.599, MSGID_FROM_MTA_HEADER=0.803,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id cv0lYEGXTedb
	for <ietfarch-smime-archive@core3.amsl.com>;
	Sun,  7 Sep 2008 12:59:15 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 80DA43A68AA
	for <smime-archive@ietf.org>; Sun,  7 Sep 2008 12:59:15 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m87JijO0052536
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 7 Sep 2008 12:44:46 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m87JijO5052535;
	Sun, 7 Sep 2008 12:44:45 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m87JiifQ052523
	for <ietf-smime@imc.org>; Sun, 7 Sep 2008 12:44:45 -0700 (MST)
	(envelope-from housley@vigilsec.com)
Message-Id: <200809071944.m87JiifQ052523@balder-227.proper.com>
Received: (qmail 2371 invoked by uid 0); 7 Sep 2008 19:44:38 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128)
  by woodstock.binhost.com with SMTP; 7 Sep 2008 19:44:38 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Sun, 07 Sep 2008 15:44:29 -0400
To: "Turner, Sean P." <turners@ieca.com>, <ietf-smime@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
In-Reply-To: <F815A9EABD2D4B488F792F2FE58B8BAA@Wylie>
References: <F815A9EABD2D4B488F792F2FE58B8BAA@Wylie>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


So far, I have not seen any comments on this WG last Call 
thread.  Note that the WG Last Call ends tomorrow.

Russ

At 08:32 PM 8/21/2008, Turner, Sean P. wrote:

>This message initiates an SMIME Working Group Last Call on the document:
>
>  Title  : Secure/Multipurpose Internet Mail Extensions (S/MIME)
>               Version 3.2 Certificate Handling
>  Author(s)      : S. Turner, B. Ramsdell
>  Filename       : draft-ietf-smime-3850bis-05.txt
>  Pages  : 20
>  Date           : 2008-8-21
>
>This document specifies conventions for X.509 certificate usage by
>Secure/Multipurpose Internet Mail Extensions (S/MIME) agents.  S/MIME
>provides a method to send and receive secure MIME messages, and certificates
>are an integral part of S/MIME agent processing.  S/MIME  agents validate
>certificates as described in RFC 5280, the Internet X.509 Public Key
>Infrastructure Certificate and CRL Profile.  S/MIME agents must meet the
>certificate processing requirements in this document as well as those in RFC
>5280. This document obsoletes RFC 3850.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-smime-3850bis-05.txt
>
>The purpose of this WG Last Call is to ensure that the Working Group has
>achieved consensus that the document is suitable for publication as a
>Standards Track RFC.
>
>Please review the document for both technical and editorial problems.
>Technical issues should be discussed on this list. Editorial issues may be
>sent to the document editor.
>
>The Last Call period will end on 8 September 2008.
>
>Upon completion of the last call, the WG chairs will take action based upon
>the consensus of the WG. As the authors are also the WG co-chairs, Russ
>Housley has offered to make consensus calls and the WG chairs have agreed to
>abide by Russ's consensus calls.  Possible actions include:
>
>     1) recommending to the IETF Security Area Directors
>        that the document, after possible editorial or
>        other minor changes, be considered by the IESG
>        for publication as an Informational RFC
>        (which generally involves an IETF-wide Last Call); or
>
>     2) requiring that outstanding issues be adequately
>        addressed prior to further action (including,
>        possibly, another WG Last Call).
>
>Remember that it is our responsibility as Working Group members to ensure
>the quality of our documents and of the Internet Standards process.  So,
>please read and comment!
>
>spt



From owner-ietf-smime@mail.imc.org  Sun Sep  7 13:18:33 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 131943A6936
	for <ietfarch-smime-archive@core3.amsl.com>; Sun,  7 Sep 2008 13:18:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.126
X-Spam-Level: 
X-Spam-Status: No, score=-102.126 tagged_above=-999 required=5
	tests=[AWL=-0.330, BAYES_00=-2.599, MSGID_FROM_MTA_HEADER=0.803,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id g3GpLgDGnSSC
	for <ietfarch-smime-archive@core3.amsl.com>;
	Sun,  7 Sep 2008 13:18:32 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id DFABF3A67D1
	for <smime-archive@ietf.org>; Sun,  7 Sep 2008 13:18:31 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m87JikdL052539
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 7 Sep 2008 12:44:47 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m87Jikr5052538;
	Sun, 7 Sep 2008 12:44:46 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m87JiihV052524
	for <ietf-smime@imc.org>; Sun, 7 Sep 2008 12:44:45 -0700 (MST)
	(envelope-from housley@vigilsec.com)
Message-Id: <200809071944.m87JiihV052524@balder-227.proper.com>
Received: (qmail 2375 invoked by uid 0); 7 Sep 2008 19:44:38 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128)
  by woodstock.binhost.com with SMTP; 7 Sep 2008 19:44:38 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Sun, 07 Sep 2008 15:44:42 -0400
To: "Turner, Sean P." <turners@ieca.com>, <ietf-smime@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt
In-Reply-To: <366ED0364D3B4D81A6E2CACD5BBD20B8@Wylie>
References: <366ED0364D3B4D81A6E2CACD5BBD20B8@Wylie>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


So far, I have not seen any comments on this WG last Call 
thread.  Note that the WG Last Call ends tomorrow.

Russ

At 08:33 PM 8/21/2008, Turner, Sean P. wrote:

>This message initiates an SMIME Working Group Last Call on the document:
>
>  Title  : Secure/Multipurpose Internet Mail Extensions (S/MIME)
>               Version 3.2 Message Specification
>  Author(s)      : B. Ramsdell, S. Turner
>  Filename       : draft-ietf-smime-3851bis-05.txt
>  Pages  : 45
>  Date           : 2008-8-21
>
>This document defines Secure/Multipurpose Internet Mail Extensions (S/MIME)
>version 3.2.  S/MIME provides a consistent way to send and receive secure
>MIME data.  Digital signatures provide authentication, message integrity,
>and non-repudiation with proof of origin. Encryption provides data
>confidentiality.  Compression can be used to reduce data size.  This
>document obsoletes RFC 3851.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-smime-3851bis-05.txt
>
>The purpose of this WG Last Call is to ensure that the Working Group has
>achieved consensus that the document is suitable for publication as a
>Standards Track RFC.
>
>Please review the document for both technical and editorial problems.
>Technical issues should be discussed on this list. Editorial issues may be
>sent to the document editor.
>
>The Last Call period will end on 8 September 2008.
>
>Upon completion of the last call, the WG chairs will take action based upon
>the consensus of the WG. As the authors are also the WG co-chairs, Russ
>Housley has offered to make consensus calls and the WG chairs have agreed to
>abide by Russ's consensus calls.  Possible actions include:
>
>     1) recommending to the IETF Security Area Directors
>        that the document, after possible editorial or
>        other minor changes, be considered by the IESG
>        for publication as an Informational RFC
>        (which generally involves an IETF-wide Last Call); or
>
>     2) requiring that outstanding issues be adequately
>        addressed prior to further action (including,
>        possibly, another WG Last Call).
>
>Remember that it is our responsibility as Working Group members to ensure
>the quality of our documents and of the Internet Standards process.  So,
>please read and comment!
>
>spt



From owner-ietf-smime@mail.imc.org  Mon Sep  8 07:40:32 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 60E223A6B77
	for <ietfarch-smime-archive@core3.amsl.com>; Mon,  8 Sep 2008 07:40:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.188
X-Spam-Level: *
X-Spam-Status: No, score=1.188 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, J_CHICKENPOX_64=0.6,
	RCVD_BAD_ID=2.837]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 2aXtNR0ODtNC
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon,  8 Sep 2008 07:40:31 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 6AC463A6A41
	for <smime-archive@ietf.org>; Mon,  8 Sep 2008 07:40:30 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88EJodm068949
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 8 Sep 2008 07:19:50 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m88EJoDv068948;
	Mon, 8 Sep 2008 07:19:50 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from odin2.bull.net (odin2.bull.net [129.184.85.11])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88EJbQC068921;
	Mon, 8 Sep 2008 07:19:48 -0700 (MST)
	(envelope-from denis.pinkas@bull.net)
Received: from MSGA-001.frcl.bull.fr (msga-mcl1.frcl.bull.fr [129.184.87.20])
	by odin2.bull.net (8.9.3/8.9.3) with ESMTP id QAA82458;
	Mon, 8 Sep 2008 16:31:37 +0200
Received: from FRMYA-SIA24 ([129.182.109.111])
          by MSGA-001.frcl.bull.fr (Lotus Domino Release 5.0.11)
          with SMTP id 2008090816190635:148786 ;
          Mon, 8 Sep 2008 16:19:06 +0200 
Reply-To: denis.pinkas@bull.net
From: "Denis Pinkas"<denis.pinkas@bull.net>
To: "ietf-smime"<ietf-smime@imc.org>
CC: "owner-ietf-smime"<owner-ietf-smime@mail.imc.org>,
        "Sean Turner"<turners@ieca.com>
Subject: Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Mon, 8 Sep 2008 16:19:05 +0200
Message-Id: <DreamMail__161905_89570310603@msga-001.frcl.bull.fr>
References: <200809071944.m87JiifQ052523@balder-227.proper.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-Mailer: DreamMail 4.4.1.0
X-MIMETrack: Itemize by SMTP Server on MSGA-001/FR/BULL(Release 5.0.11  |July 24, 2002) at
 08/09/2008 16:19:06,
	Serialize by Router on MSGA-001/FR/BULL(Release 5.0.11  |July 24, 2002) at
 08/09/2008 16:19:36,
	Serialize complete at 08/09/2008 16:19:36
Content-Transfer-Encoding: 8bit
Content-Type: text/plain;
	charset="ISO-8859-1"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


Russ,

Since you asked .. 

Comment 1. Section 2.2. The text states : 

   Receiving agents MUST support v1 X.509 and v3 X.509 identity  
   certificates as profiled in [KEYM].   

I took a look at RFC 5280 [KEYM] and searched for “identity certificate”. 
There is not such a term in this document. 
Please provide the correct reference and section number. 
Since the sentence includes a MUST, this is rather important.  


Comment 2. Section 2.3. The text states : 

   Agents MAY send CA certificates, that is, certificates which can be  
   considered the "root" of other chains, and which MAY be self-signed.  

This is incorrect. A CA certificate is not necessarily a self-signed certificate. The text should be changed into : 

   Agents MAY send CA certificates, i.e. cross-certificates,  
   self-issued certificates, and self-signed certificates.  


Comment 3. Section 4.3. The text states : 

   The following are the RSA key size requirements for S/MIME receiving  
   agents during certificate and CRL signature verification:  

      0 <  key size <   512 : MAY  (see Section 6 [SMIME-MSG])  
    512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG])  
   4096 <  key size         : MAY  (see Section 6 [SMIME-MSG])  

   The following are the RSA key size requirements for S/MIME receiving  
   agents during certificate and CRL signature verification:  

    512 <= key size <= 1024 : MAY  (see Section 6 [SMIME-MSG])  

Section 6 from [SMIME-MSG] does not explain why these key sizes have been chosen. 
So the reference to that section from that document is not appropriate and should be deleted. 

Furthermore, this is inconsistent: if the key size is 900 bits, should we apply a MUST or a MAY ? 

draft-ietf-smime-3851bis-05.txt contains the following requirements : 

4.2. Signature Generation  

   The following are the requirements for an S/MIME agent generated RSA  
   signatures:  

    512 <= key size <  1024 : MAY     (see Security Considerations)  
   1024 <= key size <= 2048 : SHOULD  (see Security Considerations)  
   2048 <  key size         : MAY     (see Security Considerations)  

   The following are the requirements for an S/MIME agent generated DSA  
   signatures:  

    512 <= key size <= 1024 : SHOULD (see Security Considerations)  

4.3. Signature Verification  

   The following are the requirements for S/MIME receiving agents during  
   signature verification of RSA signatures:  

    512 <= key size <= 2048 : MUST    (see Security Considerations)  
   2048 <  key size         : MAY     (see Security Considerations)  

   The following are the requirements for S/MIME receiving agents during  
   signature verification of DSA signatures:  

    512 <= key size <= 1024 : SHOULD (see Security Considerations)  

4.4. Encryption  

   The following are the requirements for an S/MIME agent when  
   establishing keys for content encryption using the RSA algorithms:  

    512 <= key size <  1024 : MAY    (see Security Considerations)  
   1024 <= key size <= 2048 : SHOULD (see Security Considerations)  
   2048 <  key size         : MAY    (see Security Considerations)  

   The following are the requirements for an S/MIME agent when  
   establishing keys for content encryption using the DH algorithms:  

    512 <= key size <= 1024 : SHOULD (see Security Considerations)  

4.5. Decryption  

   The following are the requirements for an S/MIME agent when  
   establishing keys for content decryption using the RSA algorithms:  

    512 <= key size <= 2048 : MUST   (see Security Considerations)  
   2048 <  key size         : MAY    (see Security Considerations)  

   The following are the requirements for an S/MIME agent when  
   establishing keys for content decryption using the DH algorithms:  

    512 <= key size <= 1024 : SHOULD  (see Security Considerations)  

draft-ietf-smime-3851bis places a boundary at 2048 bits. 
This is far sufficient today, since RSA 1024 is far from being broken. 

4096 bits provides higher security, but this not needed today. 
This key size should not be mandated to support. Supporting key size higher than 4096 bits 
can create denial of service, so implementations should not support them. 

I would rather think that the text should be changed into: 

   The following are the RSA key size requirements for S/MIME receiving  
   agents during certificate and CRL signature verification:  

      0 <  key size <=  512 : MAY 
    512 <  key size <= 2048 : MUST 
   2048 <  key size <= 4096 : SHOULD 
   4096 <  key size         : SHOULD NOT 


Comment 4. Section 4.2. The text states: 

   Certificate, CRL, and path  
   validation MUST be performed as per [KEYM] when validating a  
   correspondent's public key.  This is necessary before using a public  
   key to provide security services such as: verifying a signature;  
   encrypting a content-encryption key (ex: RSA); or forming a pairwise  
   symmetric key (ex: Diffie-Hellman) to be used to encrypt or decrypt a  
   content-encryption key.  

The text is silent on the way to identify the right certificate to be used 
as the input certificate for the path validation. I have focussed my efforts to provide 
some additional text when verifying a signature. Additional efforts should be done 
on decrypting a content-encryption key or forming a pairwise symmetric key. 

Additional text proposal: 

When verifying a signature, if a signingCertificate or a signingCertificateV2 attribute 
is found in an S/MIME message, it SHALL be used to identify the signer’s certificate. 
Otherwise, the certificate is identified in an S/MIME message, either using the 
issuerAndSerialNumber which identifies the signer's certificate by the issuer's 
distinguished name and the certificate serial number, or the subjectKeyIdentifier 
which identifies the signer's certificate by a key identifier. 


Comment 5. Section 6. 

There is duplication of text. The two following paragraph say the same. 
Please delete one of them: 

   In addition to the Security Considerations identified in [KEYM],  
   caution should be taken when processing certificates which have not  
   first been validated to a trust anchor.  Certificates could be  
   manufactured by untrusted sources for the purpose of mounting denial  
   of service or other attacks.  For example, keys selected to require  
   excessive cryptographic processing, or extensive lists of CDP and/or  
   AIA addresses in the certificate, could be used to mount denial of  
   service attacks.  Similarly, originator-specified CDP and/or AIA  
   addresses could be inserted into bogus certificates to allow the  
   originator to detect receipt of the message even if signature  
   verification fails.  

   In addition to the Security Considerations identified in [KEYM],  
   caution should be taken when processing certificates which have not  
   first been validated to a trust anchor.  Certificates could be  
   manufactured by untrusted sources for the purpose of mounting denial  
   of service or other attacks.  For example, keys selected to require  
   excessive cryptographic processing, or extensive lists of CDP and/or  
   AIA addresses in the certificate, could be used to mount denial of  
   service attacks.  Similarly, attacker-specified CRL distribution  
   point and/or authority information access addresses could be included  
   into fake certificates to allow the originator to detect receipt of  
   the message even if signature verification fails.  

Denis

----- Message reçu -----  
De : owner-ietf-smime  
À : Turner,Sean P.,ietf-smime  
Date : 2008-09-07, 21:44:29 
Sujet : Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt 


So far, I have not seen any comments on this WG last Call  
thread. Note that the WG Last Call ends tomorrow. 

Russ 

At 08:32 PM 8/21/2008, Turner, Sean P. wrote: 

>This message initiates an SMIME Working Group Last Call on the document: 
> 
> Title : Secure/Multipurpose Internet Mail Extensions (S/MIME) 
> Version 3.2 Certificate Handling 
> Author(s) : S. Turner, B. Ramsdell 
> Filename : draft-ietf-smime-3850bis-05.txt 
> Pages : 20 
> Date : 2008-8-21 
> 
>This document specifies conventions for X.509 certificate usage by 
>Secure/Multipurpose Internet Mail Extensions (S/MIME) agents. S/MIME 
>provides a method to send and receive secure MIME messages, and certificates 
>are an integral part of S/MIME agent processing. S/MIME agents validate 
>certificates as described in RFC 5280, the Internet X.509 Public Key 
>Infrastructure Certificate and CRL Profile. S/MIME agents must meet the 
>certificate processing requirements in this document as well as those in RFC 
>5280. This document obsoletes RFC 3850. 
> 
>A URL for this Internet-Draft is: 
>http://www.ietf.org/internet-drafts/draft-ietf-smime-3850bis-05.txt 
> 
>The purpose of this WG Last Call is to ensure that the Working Group has 
>achieved consensus that the document is suitable for publication as a 
>Standards Track RFC. 
> 
>Please review the document for both technical and editorial problems. 
>Technical issues should be discussed on this list. Editorial issues may be 
>sent to the document editor. 
> 
>The Last Call period will end on 8 September 2008. 
> 
>Upon completion of the last call, the WG chairs will take action based upon 
>the consensus of the WG. As the authors are also the WG co-chairs, Russ 
>Housley has offered to make consensus calls and the WG chairs have agreed to 
>abide by Russ's consensus calls. Possible actions include: 
> 
> 1) recommending to the IETF Security Area Directors 
> that the document, after possible editorial or 
> other minor changes, be considered by the IESG 
> for publication as an Informational RFC 
> (which generally involves an IETF-wide Last Call); or 
> 
> 2) requiring that outstanding issues be adequately 
> addressed prior to further action (including, 
> possibly, another WG Last Call). 
> 
>Remember that it is our responsibility as Working Group members to ensure 
>the quality of our documents and of the Internet Standards process. So, 
>please read and comment! 
> 
>spt





From owner-ietf-smime@mail.imc.org  Mon Sep  8 07:59:20 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A69E13A6B94
	for <ietfarch-smime-archive@core3.amsl.com>; Mon,  8 Sep 2008 07:59:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.122
X-Spam-Level: 
X-Spam-Status: No, score=-102.122 tagged_above=-999 required=5
	tests=[AWL=-0.326, BAYES_00=-2.599, MSGID_FROM_MTA_HEADER=0.803,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id x8JZNdSiUEgW
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon,  8 Sep 2008 07:59:19 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 6227D3A6ADF
	for <smime-archive@ietf.org>; Mon,  8 Sep 2008 07:59:19 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88Ekh0g071554
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 8 Sep 2008 07:46:43 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m88EkhUY071553;
	Mon, 8 Sep 2008 07:46:43 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m88EkWsP071529
	for <ietf-smime@imc.org>; Mon, 8 Sep 2008 07:46:43 -0700 (MST)
	(envelope-from housley@vigilsec.com)
Message-Id: <200809081446.m88EkWsP071529@balder-227.proper.com>
Received: (qmail 22624 invoked by uid 0); 8 Sep 2008 14:46:20 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128)
  by woodstock.binhost.com with SMTP; 8 Sep 2008 14:46:20 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Mon, 08 Sep 2008 10:46:17 -0400
To: ietf-smime@imc.org
From: Russ Housley <housley@vigilsec.com>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


My call for review seems to have caused at least one person to read 
the document.  They were not sent to the list, so I'm passing them along.

Russ

= = = = = = = = =

1) Section 1.5:  Blurb beginning with Sec 4.3:  RSA-PSS with SHA-256 
is not listed with anything. To be consistent with section 4.3, it 
should read "RSA-PSS with SHA-256 is changed to SHOULD+" or "RSA-PSS 
with SHA-256 is added as SHOULD+"

2) Section 4, 1st para., 1st sentence was a little confusing: it 
seemed that the receiving agent needed to provide some certificate 
retrieval mechanism so that the receiving agent could gain access to 
certificates for recipients of digital envelopes.  Is this meant 
instead to mean that the receiving agent needs to provide some 
certificate retrieval mechanism so that a sender can gain access to 
certificates for recipients of digital envelopes?

3) Discrepancy in guidance for DSA with SHA-256: in Section 1.5 it's 
listed as SHOULD; in Section 4.3, it's listed at a SHOULD+

4) Section 4.4.1: Basic Constraints.  Perhaps, this has already been 
brought up.  The last sentence in that section states that 
certificates SHOULD contain a basicConstraints extension in CA 
certs.  In RFC5280, this is a MUST.  Is this contradictory or can 
this be allowed?  Or does this refer to certificates in general 
(though, in PKIX certs, doesn't this have to be a MUST for CA certs?)

5) Appendix A: The first sentence is missing some words:  The S/MIME 
v3, v3.1, and v3.2 certificate handling documents are backwords 
S/MIME v2 Message Specification...."



From owner-ietf-smime@mail.imc.org  Mon Sep  8 09:03:56 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 01D993A699F
	for <ietfarch-smime-archive@core3.amsl.com>; Mon,  8 Sep 2008 09:03:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.227
X-Spam-Level: 
X-Spam-Status: No, score=-2.227 tagged_above=-999 required=5 tests=[AWL=0.372,
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 27WOHxHpKBN6
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon,  8 Sep 2008 09:03:55 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 951F63A6C1A
	for <smime-archive@ietf.org>; Mon,  8 Sep 2008 09:03:54 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88FlWru075743
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 8 Sep 2008 08:47:32 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m88FlWid075742;
	Mon, 8 Sep 2008 08:47:32 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp105.biz.mail.re2.yahoo.com (smtp105.biz.mail.re2.yahoo.com [206.190.52.174])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m88FlKZY075720
	for <ietf-smime@imc.org>; Mon, 8 Sep 2008 08:47:31 -0700 (MST)
	(envelope-from turners@ieca.com)
Received: (qmail 49022 invoked from network); 8 Sep 2008 15:47:20 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.96.147 with login)
  by smtp105.biz.mail.re2.yahoo.com with SMTP; 8 Sep 2008 15:47:20 -0000
X-YMail-OSG: y0mKYtUVM1mC9zHl6HBZruwjiIquJrKsrxlnw2Y81kzqRTYqSUrN_vlZblVwp_MpAZYlepcAWnfTP5DjH12p67_TOIfsbvcL6qZrBacVtXtYePzlibnMv280tEXyWww-
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: "'Russ Housley'" <housley@vigilsec.com>, <ietf-smime@imc.org>
References: <200809081446.m88EkWsP071529@balder-227.proper.com>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Mon, 8 Sep 2008 11:47:02 -0400
Organization: IECA, Inc.
Message-ID: <74E1C8F2D4304F14AACD8CAF95E5CAA4@Wylie>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
In-Reply-To: <200809081446.m88EkWsP071529@balder-227.proper.com>
Thread-Index: AckRw3g36wa2jlR+SO+rNACB+a0K3AAAjpxA
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org 
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Russ Housley
>Sent: Monday, September 08, 2008 10:46 AM
>To: ietf-smime@imc.org
>Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
>
>
>My call for review seems to have caused at least one person to 
>read the document.  They were not sent to the list, so I'm 
>passing them along.
>
>Russ
>
>= = = = = = = = =
>
>1) Section 1.5:  Blurb beginning with Sec 4.3:  RSA-PSS with 
>SHA-256 is not listed with anything. To be consistent with 
>section 4.3, it should read "RSA-PSS with SHA-256 is changed 
>to SHOULD+" or "RSA-PSS with SHA-256 is added as SHOULD+"

Added the "RSA-PSS with SHA-256 is added as SHOULD+" in 1.5.

>2) Section 4, 1st para., 1st sentence was a little confusing: 
>it seemed that the receiving agent needed to provide some 
>certificate retrieval mechanism so that the receiving agent 
>could gain access to certificates for recipients of digital 
>envelopes.  Is this meant instead to mean that the receiving 
>agent needs to provide some certificate retrieval mechanism so 
>that a sender can gain access to certificates for recipients 
>of digital envelopes?

I changed it to "S/MIME agents need to provide ...."

>3) Discrepancy in guidance for DSA with SHA-256: in Section 
>1.5 it's listed as SHOULD; in Section 4.3, it's listed at a SHOULD+

Should be SHOULD+ in 1.5.

>4) Section 4.4.1: Basic Constraints.  Perhaps, this has 
>already been brought up.  The last sentence in that section 
>states that certificates SHOULD contain a basicConstraints 
>extension in CA certs.  In RFC5280, this is a MUST.  Is this 
>contradictory or can this be allowed?  Or does this refer to 
>certificates in general (though, in PKIX certs, doesn't this 
>have to be a MUST for CA certs?)

Changed sentence to: "As per [KEYM], certificates MUST contain a
basicConstraints extension in CA certificates, and SHOULD NOT contain that
extension in end entity certificates."

>5) Appendix A: The first sentence is missing some words:  The 
>S/MIME v3, v3.1, and v3.2 certificate handling documents are 
>backwords S/MIME v2 Message Specification...."

Added some words: "The S/MIME v3 [SMIMEv3], v3.1 [SMIMEv3.1], and v3.2 (this
document) are backwards compatible with the S/MIME v2 Certificate Handling
Specification [SMIMEv2], with the exception of the algorithms (dropped
RC2/40 requirement and added DSA and RSA-PSS requirements)."



From owner-ietf-smime@mail.imc.org  Mon Sep  8 09:06:49 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 412E528C12C
	for <ietfarch-smime-archive@core3.amsl.com>; Mon,  8 Sep 2008 09:06:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.606
X-Spam-Level: 
X-Spam-Status: No, score=-1.606 tagged_above=-999 required=5
	tests=[AWL=-0.496, BAYES_05=-1.11]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id U+ekSAIzD-En
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon,  8 Sep 2008 09:06:48 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 5EA1928C15F
	for <smime-archive@ietf.org>; Mon,  8 Sep 2008 09:06:47 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88Fsvr6076110
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 8 Sep 2008 08:54:57 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m88Fsvda076109;
	Mon, 8 Sep 2008 08:54:57 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp102.biz.mail.re2.yahoo.com (smtp102.biz.mail.re2.yahoo.com [68.142.229.216])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m88FskWJ076095
	for <ietf-smime@imc.org>; Mon, 8 Sep 2008 08:54:56 -0700 (MST)
	(envelope-from turners@ieca.com)
Received: (qmail 50418 invoked from network); 8 Sep 2008 15:54:37 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.96.147 with login)
  by smtp102.biz.mail.re2.yahoo.com with SMTP; 8 Sep 2008 15:54:36 -0000
X-YMail-OSG: pANRBogVM1lb0AteeOzdeyBemBu_c8iheM.qsOeA4O7TOZVjQZXCLUdRUvZXd21OMT1MnQnBuyc8cg5T3BKb3IhA4VkCHKfsrlyRcYtY6KtvK9fC28kl0UYY4PLY10UWEdUAsGcChfEWtMElxXXtZfol
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: <denis.pinkas@bull.net>, "'ietf-smime'" <ietf-smime@imc.org>
References: <200809071944.m87JiifQ052523@balder-227.proper.com> <DreamMail__161905_89570310603@msga-001.frcl.bull.fr>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Mon, 8 Sep 2008 11:54:19 -0400
Organization: IECA, Inc.
Message-ID: <500915C8D6A04C0CBEE68126322EC8EB@Wylie>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
In-Reply-To: <DreamMail__161905_89570310603@msga-001.frcl.bull.fr>
Thread-Index: AckRwNavuISvQ3MlSbegyy/9so2D9gAATD1Q
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


Denis,

Thanks for your comments.

spt 

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org 
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Denis Pinkas
>Sent: Monday, September 08, 2008 10:19 AM
>To: ietf-smime
>Cc: owner-ietf-smime; Sean Turner
>Subject: Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
>
>
>Russ,
>
>Since you asked .. 
>
>Comment 1. Section 2.2. The text states : 
>
>   Receiving agents MUST support v1 X.509 and v3 X.509 identity  
>   certificates as profiled in [KEYM].   
>
>I took a look at RFC 5280 [KEYM] and searched for "identity 
>certificate". 
>There is not such a term in this document. 
>Please provide the correct reference and section number. 
>Since the sentence includes a MUST, this is rather important.  

I think we can just strike "identity".  Note that I also deleted "identity"
from section 3.

>Comment 2. Section 2.3. The text states : 
>
>   Agents MAY send CA certificates, that is, certificates 
>which can be  
>   considered the "root" of other chains, and which MAY be 
>self-signed.  
>
>This is incorrect. A CA certificate is not necessarily a 
>self-signed certificate. The text should be changed into : 
>
>   Agents MAY send CA certificates, i.e. cross-certificates,  
>   self-issued certificates, and self-signed certificates.  

Okay.

>Comment 3. Section 4.3. The text states : 
>
>   The following are the RSA key size requirements for S/MIME 
>receiving  
>   agents during certificate and CRL signature verification:  
>
>      0 <  key size <   512 : MAY  (see Section 6 [SMIME-MSG])  
>    512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG])  
>   4096 <  key size         : MAY  (see Section 6 [SMIME-MSG])  
>
>   The following are the RSA key size requirements for S/MIME 
>receiving  
>   agents during certificate and CRL signature verification:  
>
>    512 <= key size <= 1024 : MAY  (see Section 6 [SMIME-MSG])  
>
>Section 6 from [SMIME-MSG] does not explain why these key 
>sizes have been chosen. 
>So the reference to that section from that document is not 
>appropriate and should be deleted. 

The 1024 text in draft-ietf-smime-3851bis addresses the 1024 size for
DSA/DH.  I'll add something for 2048 RSA.  Something along the lines of (I
won't try to change what's in RFC3766 to be todays equipment):

The choice of 2048 bits as the RSA asymmetric key size in this specification
is based on the desire to provide 100 bits of security.  The choice of 1024
bits as the DSA, and DH asymmetric key size in this specification is based
on the desire to provide 80 bits of security.

>Furthermore, this is inconsistent: if the key size is 900 
>bits, should we apply a MUST or a MAY ? 

Don't understand this one.  If the key is 900-bits then it MUST be
supported.

>draft-ietf-smime-3851bis-05.txt contains the following requirements : 
>
>...snip
>
>draft-ietf-smime-3851bis places a boundary at 2048 bits. 
>This is far sufficient today, since RSA 1024 is far from being broken. 

The WG consensus was 2048 for RSA as the upper limit.

>4096 bits provides higher security, but this not needed today. 
>This key size should not be mandated to support. Supporting 
>key size higher than 4096 bits can create denial of service, 
>so implementations should not support them. 

draft-ietf-smime-3850bis only addresses validation of certificates and since
4096 is already in root cert stores it seems appropriate to support this.

>I would rather think that the text should be changed into: 
>
>   The following are the RSA key size requirements for S/MIME 
>receiving  
>   agents during certificate and CRL signature verification:  
>
>      0 <  key size <=  512 : MAY 
>    512 <  key size <= 2048 : MUST 
>   2048 <  key size <= 4096 : SHOULD 
>   4096 <  key size         : SHOULD NOT 

We argued about this for a long time.  What's in the document was the WG
consensus.

>Comment 4. Section 4.2. The text states: 
>
>   Certificate, CRL, and path  
>   validation MUST be performed as per [KEYM] when validating a  
>   correspondent's public key.  This is necessary before using 
>a public  
>   key to provide security services such as: verifying a signature;  
>   encrypting a content-encryption key (ex: RSA); or forming a 
>pairwise  
>   symmetric key (ex: Diffie-Hellman) to be used to encrypt or 
>decrypt a  
>   content-encryption key.  
>
>The text is silent on the way to identify the right 
>certificate to be used as the input certificate for the path 
>validation. I have focussed my efforts to provide some 
>additional text when verifying a signature. Additional efforts 
>should be done on decrypting a content-encryption key or 
>forming a pairwise symmetric key. 
>
>Additional text proposal: 
>
>When verifying a signature, if a signingCertificate or a 
>signingCertificateV2 attribute is found in an S/MIME message, 
>it SHALL be used to identify the signer's certificate. 
>Otherwise, the certificate is identified in an S/MIME message, 
>either using the issuerAndSerialNumber which identifies the 
>signer's certificate by the issuer's distinguished name and 
>the certificate serial number, or the subjectKeyIdentifier 
>which identifies the signer's certificate by a key identifier. 

Okay.

>Comment 5. Section 6. 
>
>There is duplication of text. The two following paragraph say 
>the same. 
>Please delete one of them: 
>
>   In addition to the Security Considerations identified in [KEYM],  
>   caution should be taken when processing certificates which 
>have not  
>   first been validated to a trust anchor.  Certificates could be  
>   manufactured by untrusted sources for the purpose of 
>mounting denial  
>   of service or other attacks.  For example, keys selected to 
>require  
>   excessive cryptographic processing, or extensive lists of 
>CDP and/or  
>   AIA addresses in the certificate, could be used to mount denial of  
>   service attacks.  Similarly, originator-specified CDP and/or AIA  
>   addresses could be inserted into bogus certificates to allow the  
>   originator to detect receipt of the message even if signature  
>   verification fails.  
>
>   In addition to the Security Considerations identified in [KEYM],  
>   caution should be taken when processing certificates which 
>have not  
>   first been validated to a trust anchor.  Certificates could be  
>   manufactured by untrusted sources for the purpose of 
>mounting denial  
>   of service or other attacks.  For example, keys selected to 
>require  
>   excessive cryptographic processing, or extensive lists of 
>CDP and/or  
>   AIA addresses in the certificate, could be used to mount denial of  
>   service attacks.  Similarly, attacker-specified CRL distribution  
>   point and/or authority information access addresses could 
>be included  
>   into fake certificates to allow the originator to detect 
>receipt of  
>   the message even if signature verification fails.  

Others caught this too.  I deleted one.

>Denis

... snip



From owner-ietf-smime@mail.imc.org  Tue Sep  9 07:25:09 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 905C43A6AC4
	for <ietfarch-smime-archive@core3.amsl.com>; Tue,  9 Sep 2008 07:25:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.065
X-Spam-Level: 
X-Spam-Status: No, score=-102.065 tagged_above=-999 required=5
	tests=[AWL=-0.269, BAYES_00=-2.599, MSGID_FROM_MTA_HEADER=0.803,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id y1HsLPY1-uWf
	for <ietfarch-smime-archive@core3.amsl.com>;
	Tue,  9 Sep 2008 07:25:04 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id E18533A6BB3
	for <smime-archive@ietf.org>; Tue,  9 Sep 2008 07:25:03 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m89DwVLo076638
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 9 Sep 2008 06:58:31 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m89DwVMa076637;
	Tue, 9 Sep 2008 06:58:31 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m89DwKYh076619
	for <ietf-smime@imc.org>; Tue, 9 Sep 2008 06:58:30 -0700 (MST)
	(envelope-from housley@vigilsec.com)
Message-Id: <200809091358.m89DwKYh076619@balder-227.proper.com>
Received: (qmail 8614 invoked by uid 0); 9 Sep 2008 13:58:16 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128)
  by woodstock.binhost.com with SMTP; 9 Sep 2008 13:58:16 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Tue, 09 Sep 2008 09:58:14 -0400
To: ietf-smime@imc.org
From: Russ Housley <housley@vigilsec.com>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt- from Sue
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


Passing on some WG Last Call comments.

Russ

= = = = = = = = =

1) Section 1.6: Section 1.2 should be 1.3 (conventions section).  Sec 
1.3: Added references ... should be
Sect 1.4: Added references...

2) Inconsistency: DSA with SHA-256 is a MUST in Section 1.6 and 
SHOULD+ in section 2.2.  3250-bis and 3251-bis should be consistent 
for DSA with SHA-256.

3) section 1.6 mentions Sec 2.5.2.1 (there is no 2.5.2.1)

4) Section 1.6 referencing Sec 2.5.2:  "DES-3EDE-CBC" and "AES-128 
CBC" should be "DES-3EDE-CBC" with "AES-128 CBC"

5) Section 1.6 referencing Sec 7: update should be updated

6) I believe that Denis pointed this out already but there is a 
contradiction in key sizes for RSA signatures between 3850bis and 3851bis.

7) Error in reference [SMIMEv2] in both 3850bis and 3851bis; PKCS#7 is RFC 2315.



From owner-ietf-smime@mail.imc.org  Tue Sep  9 12:58:33 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id EA4703A6D03
	for <ietfarch-smime-archive@core3.amsl.com>; Tue,  9 Sep 2008 12:58:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.11
X-Spam-Level: 
X-Spam-Status: No, score=-105.11 tagged_above=-999 required=5
	tests=[AWL=1.489, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id V0IXWjDoQSBP
	for <ietfarch-smime-archive@core3.amsl.com>;
	Tue,  9 Sep 2008 12:58:33 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id A4B2F3A6A9C
	for <smime-archive@ietf.org>; Tue,  9 Sep 2008 12:58:32 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m89JU6XI005188
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Tue, 9 Sep 2008 12:30:07 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m89JU6aA005187;
	Tue, 9 Sep 2008 12:30:06 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m89JU6xE005179
	for <ietf-smime@imc.org>; Tue, 9 Sep 2008 12:30:06 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 7EAAA3A6B86; Tue,  9 Sep 2008 12:30:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-ibearch-08.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080909193001.7EAAA3A6B86@core3.amsl.com>
Date: Tue,  9 Sep 2008 12:30:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Identity-based Encryption Architecture and Supporting Data Structures
	Author(s)	: G. Appenzeller, L. Martin, M. Schertler
	Filename	: draft-ietf-smime-ibearch-08.txt
	Pages		: 37
	Date		: 2008-9-9
	
This document describes the security architecture required to 
     implement identity-based encryption, a public-key encryption 
     technology that uses a user's identity as a public key. It 
     also defines data structures that can be used to implement the 
     technology.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-ibearch-08.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-ibearch-08.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-9122044.I-D@ietf.org>

--NextPart--



From owner-ietf-smime@mail.imc.org  Wed Sep 10 14:19:33 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7DC303A6DA0
	for <ietfarch-smime-archive@core3.amsl.com>; Wed, 10 Sep 2008 14:19:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.216
X-Spam-Level: 
X-Spam-Status: No, score=-105.216 tagged_above=-999 required=5
	tests=[AWL=1.384, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WvbC1-MD1YyE
	for <ietfarch-smime-archive@core3.amsl.com>;
	Wed, 10 Sep 2008 14:19:32 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 1E27F28C2BC
	for <smime-archive@ietf.org>; Wed, 10 Sep 2008 14:19:28 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8AL09vR020388
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 10 Sep 2008 14:00:09 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8AL09pk020387;
	Wed, 10 Sep 2008 14:00:09 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8AL08B8020380
	for <ietf-smime@imc.org>; Wed, 10 Sep 2008 14:00:09 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 1CB1728C29B; Wed, 10 Sep 2008 14:00:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-sha2-06.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080910210002.1CB1728C29B@core3.amsl.com>
Date: Wed, 10 Sep 2008 14:00:02 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Using SHA2 Algorithms with Cryptographic Message Syntax
	Author(s)	: S. Turner
	Filename	: draft-ietf-smime-sha2-06.txt
	Pages		: 10
	Date		: 2008-9-10
	
This document describes the conventions for using the Secure Hash 
   Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, 
   SHA-512) with the Cryptographic Message Syntax (CMS). It also 
   describes the conventions for using these algorithms with CMS and the 
   Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and 
   Elliptic Curve DSA (ECDSA) signature algorithms.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-sha2-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-sha2-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-10135817.I-D@ietf.org>

--NextPart--



From owner-ietf-smime@mail.imc.org  Thu Sep 11 05:19:28 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2BF423A6819
	for <ietfarch-smime-archive@core3.amsl.com>; Thu, 11 Sep 2008 05:19:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.889
X-Spam-Level: 
X-Spam-Status: No, score=0.889 tagged_above=-999 required=5 tests=[AWL=0.299,
	BAYES_00=-2.599, HELO_EQ_FR=0.35, HTML_MESSAGE=0.001,
	RCVD_BAD_ID=2.837]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ZIpCUzGuBXkD
	for <ietfarch-smime-archive@core3.amsl.com>;
	Thu, 11 Sep 2008 05:19:24 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 7AEE23A6907
	for <smime-archive@ietf.org>; Thu, 11 Sep 2008 05:19:23 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8BBuSCu078538
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 11 Sep 2008 04:56:28 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8BBuSwj078537;
	Thu, 11 Sep 2008 04:56:28 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from odin2.bull.net (odin2.bull.net [129.184.85.11])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8BBuGSl078522
	for <ietf-smime@imc.org>; Thu, 11 Sep 2008 04:56:27 -0700 (MST)
	(envelope-from denis.pinkas@bull.net)
Received: from MSGA-001.frcl.bull.fr (msga-mcl2.frcl.bull.fr [129.184.87.21])
	by odin2.bull.net (8.9.3/8.9.3) with ESMTP id OAA71066
	for <ietf-smime@imc.org>; Thu, 11 Sep 2008 14:08:18 +0200
Received: from FRMYA-SIA24 ([129.182.109.111])
          by MSGA-001.frcl.bull.fr (Lotus Domino Release 5.0.11)
          with SMTP id 2008091113553857:14691 ;
          Thu, 11 Sep 2008 13:55:38 +0200 
Reply-To: denis.pinkas@bull.net
From: "Denis Pinkas"<denis.pinkas@bull.net>
To: "ietf-smime"<ietf-smime@imc.org>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Thu, 11 Sep 2008 13:55:37 +0200
Message-Id: <DreamMail__135537_74840450870@msga-001.frcl.bull.fr>
References: <200809071944.m87JiifQ052523@balder-227.proper.com> <DreamMail__161905_89570310603@msga-001.frcl.bull.fr>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-Mailer: DreamMail 4.4.1.0
X-MIMETrack: Itemize by SMTP Server on MSGA-001/FR/BULL(Release 5.0.11  |July 24, 2002) at
 11/09/2008 13:55:38,
	Serialize by Router on MSGA-001/FR/BULL(Release 5.0.11  |July 24, 2002) at
 11/09/2008 13:56:14,
	Serialize complete at 11/09/2008 13:56:14
Content-Type: multipart/alternative; 
	boundary="----=_NextPart_08091113553728837323313_002"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


------=_NextPart_08091113553728837323313_002
Content-Transfer-Encoding: 8Bit
Content-Type: text/plain; 
	charset="ISO-8859-1"

Sean,

My comments are embedded in the text.

Denis

=============================================
Denis,

Thanks for your comments.

spt 

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org 
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Denis Pinkas
>Sent: Monday, September 08, 2008 10:19 AM
>To: ietf-smime
>Cc: owner-ietf-smime; Sean Turner
>Subject: Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
>
>
>Russ,
>
>Since you asked .. 

>Comment 3. Section 4.3. The text states : 
>
> The following are the RSA key size requirements for S/MIME  receiving 
> agents during certificate and CRL signature verification: 
>
> 0 < key size < 512 : MAY (see Section 6 [SMIME-MSG]) 
> 512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG]) 
> 4096 < key size : MAY (see Section 6 [SMIME-MSG]) 
>
> The following are the RSA key size requirements for S/MIME receiving 
> agents during certificate and CRL signature verification: 
>
> 512 <= key size <= 1024 : MAY (see Section 6 [SMIME-MSG]) 
>
>Section 6 from [SMIME-MSG] does not explain why these key sizes have been chosen. 
>So the reference to that section from that document is not appropriate and should be deleted. 

The 1024 text in draft-ietf-smime-3851bis addresses the 1024 size for
DSA/DH. I'll add something for 2048 RSA. Something along the lines of (I
won't try to change what's in RFC3766 to be todays equipment):

The choice of 2048 bits as the RSA asymmetric key size in this specification
is based on the desire to provide 100 bits of security. The choice of 1024
bits as the DSA, and DH asymmetric key size in this specification is based
on the desire to provide 80 bits of security.

>Furthermore, this is inconsistent: if the key size is 900 
>bits, should we apply a MUST or a MAY ? 

Don't understand this one. If the key is 900-bits then it MUST be supported.

DP:  Let me try again. The text states:

The following are the RSA key size requirements for S/MIME  receiving 
 agents during certificate and CRL signature verification: 

(snip)

 512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG]) 

(snip) 

 512 <= key size <= 1024 : MAY (see Section 6 [SMIME-MSG]) 

If the key size is between 512 and 1024 two lines of requirements apply.
It is unclear which line should be taken into consideration and thus whether a MUST or a MAY applies.

(snip)

>Comment 4. Section 4.2. The text states: 
>
> Certificate, CRL, and path 
> validation MUST be performed as per [KEYM] when validating a 
> correspondent's public key. This is necessary before using 
>a public 
> key to provide security services such as: verifying a signature; 
> encrypting a content-encryption key (ex: RSA); or forming a 
>pairwise 
> symmetric key (ex: Diffie-Hellman) to be used to encrypt or 
>decrypt a 
> content-encryption key. 
>
>The text is silent on the way to identify the right 
>certificate to be used as the input certificate for the path 
>validation. I have focussed my efforts to provide some 
>additional text when verifying a signature. Additional efforts 
>should be done on decrypting a content-encryption key or 
>forming a pairwise symmetric key. 
>
>Additional text proposal: 
>
>When verifying a signature, if a signingCertificate or a 
>signingCertificateV2 attribute is found in an S/MIME message, 
>it SHALL be used to identify the signer's certificate. 
>Otherwise, the certificate is identified in an S/MIME message, 
>either using the issuerAndSerialNumber which identifies the 
>signer's certificate by the issuer's distinguished name and 
>the certificate serial number, or the subjectKeyIdentifier 
>which identifies the signer's certificate by a key identifier. 

Okay.

DP: This is fine. However, my comment also said: "Additional efforts 
should be done on decrypting a content-encryption key or 
forming a pairwise symmetric key. Would you be able to provide 
some text to cover these aspects ?

Denis

------=_NextPart_08091113553728837323313_002
Content-Transfer-Encoding: 8bit
Content-Type: text/html; 
	charset="ISO-8859-1"

<HTML><HEAD><TITLE></TITLE>
<META content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, © Kurt Senfer" 
name=GENERATOR>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>
<BODY style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma" bgColor=#ffffff leftMargin=5 
topMargin=5>
<DIV>Sean,</DIV>
<DIV>&nbsp;</DIV>
<DIV>My comments are embedded in the text.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Denis</DIV>
<DIV>&nbsp;</DIV>
<DIV>=============================================</DIV>
<DIV>Denis,<BR><BR>Thanks for your comments.<BR><BR>spt 
<BR><BR>&gt;-----Original Message-----<BR>&gt;From: <A 
href="mailto: owner-ietf-smime@mail.imc.org">owner-ietf-smime@mail.imc.org</A> 
<BR>&gt;[mailto:<A 
href="mailto: owner-ietf-smime@mail.imc.org">owner-ietf-smime@mail.imc.org</A>] 
On Behalf Of Denis Pinkas<BR>&gt;Sent: Monday, September 08, 2008 10:19 
AM<BR>&gt;To: ietf-smime<BR>&gt;Cc: owner-ietf-smime; Sean 
Turner<BR>&gt;Subject: Re: WG Last Call: 
draft-ietf-smime-rfc3850bis-05.txt<BR>&gt;<BR>&gt;<BR>&gt;Russ,<BR>&gt;<BR>&gt;Since 
you asked .. <BR></DIV>
<DIV>&gt;Comment 3. Section 4.3. The text states : <BR>&gt;<BR>&gt; The 
following are the RSA key size requirements for S/MIME&nbsp;&nbsp;receiving 
<BR>&gt; agents during certificate and CRL signature verification: 
<BR>&gt;<BR>&gt; 0 &lt; key size &lt; 512 : MAY (see Section 6 [SMIME-MSG]) 
<BR>&gt; 512 &lt;= key size &lt;= 4096 : MUST (see Section 6 [SMIME-MSG]) 
<BR>&gt; 4096 &lt; key size : MAY (see Section 6 [SMIME-MSG]) <BR>&gt;<BR>&gt; 
The following are the RSA key size requirements for S/MIME receiving <BR>&gt; 
agents during certificate and CRL signature verification: <BR>&gt;<BR>&gt; 512 
&lt;= key size &lt;= 1024 : MAY (see Section 6 [SMIME-MSG]) 
<BR>&gt;<BR>&gt;Section 6 from [SMIME-MSG] does not explain why these key sizes 
have been chosen. <BR>&gt;So the reference to that section from that document is 
not appropriate and should be deleted. <BR><BR>The 1024 text in 
draft-ietf-smime-3851bis addresses the 1024 size for<BR>DSA/DH. I'll add 
something for 2048 RSA. Something along the lines of (I<BR>won't try to change 
what's in RFC3766 to be todays equipment):<BR><BR>The choice of 2048 bits as the 
RSA asymmetric key size in this specification<BR>is based on the desire to 
provide 100 bits of security. The choice of 1024<BR>bits as the DSA, and DH 
asymmetric key size in this specification is based<BR>on the desire to provide 
80 bits of security.<BR><BR>&gt;Furthermore, this is inconsistent: if the key 
size is 900 <BR>&gt;bits, should we apply a MUST or a MAY ? <BR><BR>Don't 
understand this one. If the key is 900-bits then it MUST be supported.<BR></DIV>
<DIV><STRONG>DP: &nbsp;Let me try again. The text states:</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>The following are the RSA key size requirements for 
S/MIME&nbsp;&nbsp;receiving&nbsp;<BR> agents during certificate and CRL 
signature verification:&nbsp;</STRONG></DIV>
<DIV><STRONG><BR>(snip)</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>&nbsp;512 &lt;= key size &lt;= 4096 : MUST (see Section 6 
[SMIME-MSG])&nbsp;<BR></STRONG></DIV>
<DIV><STRONG>(snip)&nbsp;<BR></STRONG></DIV>
<DIV><STRONG>&nbsp;512 &lt;= key size &lt;= 1024 : MAY (see Section 6 
[SMIME-MSG]) <BR></DIV></STRONG>
<DIV><STRONG>If the key size is between 512 and 1024 two lines of requirements 
apply.</STRONG></DIV>
<DIV><STRONG>It is unclear which line should be taken into consideration and 
thus whether a MUST or a MAY applies.</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>(snip)</DIV>
<DIV><BR>&gt;Comment 4. Section 4.2. The text states: <BR>&gt;<BR>&gt; 
Certificate, CRL, and path <BR>&gt; validation MUST be performed as per [KEYM] 
when validating a <BR>&gt; correspondent's public key. This is necessary before 
using <BR>&gt;a public <BR>&gt; key to provide security services such as: 
verifying a signature; <BR>&gt; encrypting a content-encryption key (ex: RSA); 
or forming a <BR>&gt;pairwise <BR>&gt; symmetric key (ex: Diffie-Hellman) to be 
used to encrypt or <BR>&gt;decrypt a <BR>&gt; content-encryption key. 
<BR>&gt;<BR>&gt;The text is silent on the way to identify the right 
<BR>&gt;certificate to be used as the input certificate for the path 
<BR>&gt;validation. I have focussed my efforts to provide some 
<BR>&gt;additional text when verifying a signature. Additional efforts 
<BR>&gt;should be done on decrypting a content-encryption key or <BR>&gt;forming 
a pairwise symmetric key. <BR>&gt;<BR>&gt;Additional text proposal: 
<BR>&gt;<BR>&gt;When verifying a signature, if a signingCertificate or a 
<BR>&gt;signingCertificateV2 attribute is found in an S/MIME message, <BR>&gt;it 
SHALL be used to identify the signer's certificate. <BR>&gt;Otherwise, the 
certificate is identified in an S/MIME message, <BR>&gt;either using the 
issuerAndSerialNumber which identifies the <BR>&gt;signer's certificate by the 
issuer's distinguished name and <BR>&gt;the certificate serial number, or the 
subjectKeyIdentifier <BR>&gt;which identifies the signer's certificate by a key 
identifier. <BR><BR>Okay.</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>DP: This is fine. However, my comment also said: "Additional 
efforts <BR>should be done on decrypting a content-encryption key or <BR>forming 
a pairwise symmetric key. Would you be able to provide <BR>some text to cover 
these aspects ?<BR></STRONG></DIV>
<DIV><STRONG>Denis<BR><BR></STRONG></DIV></BODY></HTML>

------=_NextPart_08091113553728837323313_002--






From owner-ietf-smime@mail.imc.org  Sun Sep 14 08:24:20 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 494833A699D
	for <ietfarch-smime-archive@core3.amsl.com>; Sun, 14 Sep 2008 08:24:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.155
X-Spam-Level: 
X-Spam-Status: No, score=-101.155 tagged_above=-999 required=5
	tests=[AWL=-2.803, BAYES_00=-2.599, FH_HAS_XAIMC=2.696,
	FH_RELAY_NODNS=1.451, RDNS_NONE=0.1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id uYUakVFzpYOc
	for <ietfarch-smime-archive@core3.amsl.com>;
	Sun, 14 Sep 2008 08:24:19 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 2A4CB3A691E
	for <smime-archive@ietf.org>; Sun, 14 Sep 2008 08:24:18 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8EF5G6u072427
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 14 Sep 2008 08:05:16 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8EF5Fsx072426;
	Sun, 14 Sep 2008 08:05:15 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from people.com.cn ([202.99.23.227])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8EF4jgS072366
	for <ietf-smime@imc.org>; Sun, 14 Sep 2008 08:04:58 -0700 (MST)
	(envelope-from Internet-Drafts@ietf.org)
Received: from people.com.cn([127.0.0.1]) by people.com.cn(AIMC 2.9.5.8)
	with SMTP id jm448cd78c6; Sun, 14 Sep 2008 23:20:17 +0800
Received: from mail.ietf.org([64.170.98.32]) by people.com.cn(AIMC 2.9.5.8)
	with SMTP id jm7848c88d31; Thr, 11 Sep 2008 05:19:38 +0800
Received: from mail.ietf.org([64.170.98.32]) by people.com.cn(AIMC 2.9.5.8)
	with SMTP id AISP action; Thr, 11 Sep 2008 05:19:38 +0800
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3DCCF28C2B8;
	Wed, 10 Sep 2008 14:00:06 -0700 (PDT)
X-Original-To: i-d-announce@ietf.org
Delivered-To: i-d-announce@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0)
	id 1CB1728C29B; Wed, 10 Sep 2008 14:00:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Subject: I-D ACTION:draft-ietf-smime-sha2-06.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080910210002.1CB1728C29B@core3.amsl.com>
Date: Wed, 10 Sep 2008 14:00:02 -0700 (PDT)
Cc: ietf-smime@imc.org
X-BeenThere: i-d-announce@ietf.org
X-Mailman-Version: 2.1.9
Reply-To: internet-drafts@ietf.org
List-Id: Internet Draft Announcements only <i-d-announce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/i-d-announce>,
	<mailto:i-d-announce-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/i-d-announce>
List-Post: <mailto:i-d-announce@ietf.org>
List-Help: <mailto:i-d-announce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i-d-announce>,
	<mailto:i-d-announce-request@ietf.org?subject=subscribe>
X-AIMC-AUTH: (null)
X-AIMC-MAILFROM: i-d-announce-bounces@ietf.org
X-AIMC-AUTH: (null)
X-AIMC-MAILFROM: Internet-Drafts@ietf.org
X-Auto-Forward: jaglee@people.com.cn
 jag@kw.com.cn
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Using SHA2 Algorithms with Cryptographic Message Syntax
	Author(s)	: S. Turner
	Filename	: draft-ietf-smime-sha2-06.txt
	Pages		: 10
	Date		: 2008-9-10
	
This document describes the conventions for using the Secure Hash 
   Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, 
   SHA-512) with the Cryptographic Message Syntax (CMS). It also 
   describes the conventions for using these algorithms with CMS and the 
   Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and 
   Elliptic Curve DSA (ECDSA) signature algorithms.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-sha2-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-sha2-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2008-9-10135817.I-D@ietf.org>


--NextPart
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

--NextPart--



From owner-ietf-smime@mail.imc.org  Mon Sep 15 15:27:18 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 85E8F3A69D5
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 15 Sep 2008 15:27:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.227
X-Spam-Level: 
X-Spam-Status: No, score=-2.227 tagged_above=-999 required=5 tests=[AWL=0.372,
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id a69p0+3Dhvtt
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 15 Sep 2008 15:27:17 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 597E13A6842
	for <smime-archive@ietf.org>; Mon, 15 Sep 2008 15:27:17 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8FMBnOH086473
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 15 Sep 2008 15:11:49 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8FMBn50086472;
	Mon, 15 Sep 2008 15:11:49 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp100.biz.mail.re2.yahoo.com (smtp100.biz.mail.re2.yahoo.com [206.190.52.46])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8FMBb83086446
	for <ietf-smime@imc.org>; Mon, 15 Sep 2008 15:11:47 -0700 (MST)
	(envelope-from turners@ieca.com)
Received: (qmail 64993 invoked from network); 15 Sep 2008 22:11:36 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.102.193 with login)
  by smtp100.biz.mail.re2.yahoo.com with SMTP; 15 Sep 2008 22:11:36 -0000
X-YMail-OSG: RJpMUp4VM1liifuxVloFedJ.ELpB6SO7jC5XFcmuzHTZ9O9tj204OQwkF5xbFAKaAg6rfhwnBH70N6vygbYOronysbHtu0fBwFSXQ0OlXVMk99i1uvn4VT5XnXP9Q5Y-
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: <denis.pinkas@bull.net>, "'ietf-smime'" <ietf-smime@imc.org>
References: <200809071944.m87JiifQ052523@balder-227.proper.com> <DreamMail__161905_89570310603@msga-001.frcl.bull.fr> <DreamMail__135537_74840450870@msga-001.frcl.bull.fr>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Mon, 15 Sep 2008 18:11:35 -0400
Organization: IECA, Inc.
Message-ID: <81B10A5B7E174DACB00A0658D1A04DED@Wylie>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <DreamMail__135537_74840450870@msga-001.frcl.bull.fr>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: AckUCKD9brd+aLf5QAaoZVMvSC6KGgADCxcg
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


________________________________

	From: owner-ietf-smime@mail.imc.org
[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Denis Pinkas
	Sent: Thursday, September 11, 2008 4:56 AM
	To: ietf-smime
	Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
	
	
DP:  Let me try again. The text states:
 
The following are the RSA key size requirements for S/MIME  receiving 
agents during certificate and CRL signature verification: 
	
(snip)
	 
 512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG]) 
	
(snip) 
	
 512 <= key size <= 1024 : MAY (see Section 6 [SMIME-MSG]) 
	
If the key size is between 512 and 1024 two lines of requirements apply.
It is unclear which line should be taken into consideration and thus whether
a MUST or a MAY applies.
	 
(snip)

In draft-ietf-smime-3850bis, I mistakenly had two sets of requirements for
RSA.   The first set of requirements is for RSA and the second is for DSA
(typo).  draft-ietf-smime-3850bis 4.3 changed to:

   The following are the RSA key size requirements for S/MIME receiving 
   agents during certificate and CRL signature verification: 

      0 <  key size <   512 : MAY  (see Section 6 [SMIME-MSG]) 
    512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG]) 
   4096 <  key size         : MAY  (see Section 6 [SMIME-MSG]) 

   The following are the **DSA** key size requirements for S/MIME receiving 
   agents during certificate and CRL signature verification: 

    512 <= key size <= 1024 : MAY  (see Section 6 [SMIME-MSG]) 

(snip)
>
>Additional text proposal: 
>
>When verifying a signature, if a signingCertificate or a 
>signingCertificateV2 attribute is found in an S/MIME message, 
>it SHALL be used to identify the signer's certificate. 
>Otherwise, the certificate is identified in an S/MIME message, 
>either using the issuerAndSerialNumber which identifies the 
>signer's certificate by the issuer's distinguished name and 
>the certificate serial number, or the subjectKeyIdentifier 
>which identifies the signer's certificate by a key identifier. 

Okay.
 
DP: This is fine. However, my comment also said: "Additional efforts 
should be done on decrypting a content-encryption key or 
forming a pairwise symmetric key. Would you be able to provide 
some text to cover these aspects ?
	
I'd prefer that you propose the text.

spt
	




From owner-ietf-smime@mail.imc.org  Mon Sep 15 15:33:33 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 70FA43A69E5
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 15 Sep 2008 15:33:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level: 
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[AWL=0.298,
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id nKfTvM5Nl3PZ
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 15 Sep 2008 15:33:32 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 0B5793A6B26
	for <smime-archive@ietf.org>; Mon, 15 Sep 2008 15:33:31 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8FMLt8v086975
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 15 Sep 2008 15:21:55 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8FMLt5Z086974;
	Mon, 15 Sep 2008 15:21:55 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp100.biz.mail.re2.yahoo.com (smtp100.biz.mail.re2.yahoo.com [206.190.52.46])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8FMLsg6086967
	for <ietf-smime@imc.org>; Mon, 15 Sep 2008 15:21:54 -0700 (MST)
	(envelope-from turners@ieca.com)
Received: (qmail 69140 invoked from network); 15 Sep 2008 22:21:53 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.102.193 with login)
  by smtp100.biz.mail.re2.yahoo.com with SMTP; 15 Sep 2008 22:21:53 -0000
X-YMail-OSG: 3TaQrHUVM1koK.leycxVfHfxthww65mDQVanACwsDvje5eFQ3nvom2wNOnYdNp9B65WjM28DAAuBqNv5mS2UBY68MpnNjV.91pJ9XvrLWj_opiqmTPWwdexG9AVFB2QQ7qqNsXwcoy5VH4hUq8zQqChPNtfU2ESLrt2PYxtW7aAARBUanC5Vs7WMhT4TKg--
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: "'Russ Housley'" <housley@vigilsec.com>, <ietf-smime@imc.org>
References: <200809091358.m89DwKYh076619@balder-227.proper.com>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt
Date: Mon, 15 Sep 2008 18:21:53 -0400
Organization: IECA, Inc.
Message-ID: <95464D8597D34F2C998097DB59FA9295@Wylie>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <200809091358.m89DwKYh076619@balder-227.proper.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: AckSh9nBjDRAM8o5TvSIAk/hOc8StgAdS+qw
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


More than one person has asked about the different key sizes in
draft-ietf-smime-3850bis and draft-ietf-smime-3851bis.  To save people
searching through the archives, we should add some text to the security
considerations to address the following two issues: 1) Why don't the DSA and
RSA key sizes match up in terms of security strength and 2) Why is 4096 bits
the upper bound in draft-ietf-smime-3850bis (CERT) while the upper bounds in
in draft-ietf-smime-3851bis (MSG) is 2048.

1) The reason for the DSA key size recommendations not being the same as RSA
key size recommendations is that FIPS 186-3 only defines key sizes up to
1024.  With no informative/normative reference for us to point to we can't
suggest DSA key sizes greater that 1024.  So in draft-ietf-smime-3851bis, I
suggest the following change be made to say that when NIST does publish
something implementers ought to support the larger key sizes:

Old:

The choice of 2048 bits as the RSA asymmetric key size in this specification
is based on the desire to provide 100 bits of security.  The choice of 1024
bits as the DSA, and DH asymmetric key size in this specification is based
on the desire to provide 80 bits of security.  These key size seems prudent
for the Internet based on Section 4.3 of [STRENGTH].  There are other
environments (e.g., government, financial, and medical) that may consider
this key size to be inadequate.  Likewise, there are other environments that
may consider this key size to be excessive.

New:

The choice of 2048 bits as the RSA asymmetric key size in this specification
is based on the desire to provide 100 bits of security.  The standards to
offer the same level of security for DSA and DH are not yet available.  In
particular, [FIPS186-3] only defines DSA key sizes up to 1024 bits.  A
revision to support larger key sizes is being developed, and once it is
available, implementors ought to support DSA key sizes comparable to the RSA
key sizes recommended in this specification.  The key sizes that must be
supported to conform to this specification seem appropriate for the Internet
based on [STRENGTH].  Of course, there are environments, such as financial
and medical system, that may select different key sizes.  For this reason,
an implementation MAY support key sizes beyond those recommended in this
specification.

2) With respect to the 4096 in draft-ietf-smime-rfc3850bis and 2048 in
draft-ietf-smime-rfc3851bis, the discussion went something like this: a)
draft-ietf-smime-3850bis only addresses certificate/CRL validation while
draft-ietf-smime-rfc3851bis addresses signature generation/verification and
encryption/decryption b) 4096 certificates are already in the Mozilla and MS
cert store.  To make sure people understand the difference in
draft-ietf-smime-rfc3850bis, I suggest adding the following to its security
considerations:

The 4096-bit RSA key size requirement for certificate and CRL verification
is larger than the 2048-bit RSA key sizes for message signature
generation/verification or message encryption/decryption in
[SMIME-MSG:draft-ietf-smime-rfc3851bis] because multiple certificate stores
already include Root certificates with 4096-bit keys.

spt

>-----Original Message-----
>
>Passing on some WG Last Call comments.
>
>Russ
>
>= = = = = = = = =
>
>1) Section 1.6: Section 1.2 should be 1.3 (conventions section).  Sec
>1.3: Added references ... should be
>Sect 1.4: Added references...

Fixed.

>2) Inconsistency: DSA with SHA-256 is a MUST in Section 1.6 and 
>SHOULD+ in section 2.2.  3250-bis and 3251-bis should be consistent
>for DSA with SHA-256.

DSA with SHA-256 should be SHOULD+ everywhere.

>3) section 1.6 mentions Sec 2.5.2.1 (there is no 2.5.2.1)

2.5.2.1 just talked about RC2 so I deleted it entirely.  I'll split the
bullet in two:

Sec 2.5.2.1: Deleted entire section (discussed deprecated RC2).
Sec 2.7, 2.7.1, Appendix A: references to RC2/40 removed.

>4) Section 1.6 referencing Sec 2.5.2:  "DES-3EDE-CBC" and "AES-128 
>CBC" should be "DES-3EDE-CBC" with "AES-128 CBC"

Fixed

>5) Section 1.6 referencing Sec 7: update should be updated

Fixed

>6) I believe that Denis pointed this out already but there is a 
>contradiction in key sizes for RSA signatures between 3850bis 
>and 3851bis.

See above.

>7) Error in reference [SMIMEv2] in both 3850bis and 3851bis; 
>PKCS#7 is RFC 2315.

Fixed



From edipeit_1982@hercules.com  Tue Sep 16 23:31:43 2008
Return-Path: <edipeit_1982@hercules.com>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 6559728C263
	for <ietfarch-smime-archive@core3.amsl.com>; Tue, 16 Sep 2008 23:31:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.381
X-Spam-Level: 
X-Spam-Status: No, score=-5.381 tagged_above=-999 required=5
	tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597,
	FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999, FS_ERECTION=10.579,
	HELO_DYNAMIC_DHCP=1.398, HELO_DYNAMIC_IPADDR=2.426, HELO_EQ_CPE=0.5,
	HOST_EQ_CPE=0.979, HTML_MESSAGE=0.001, RAZOR2_CF_RANGE_51_100=0.5,
	RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5,
	RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905,
	RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1,
	URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10,
	URIBL_OB_SURBL=10, URIBL_SC_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id u4qT2QSLhC+A
	for <ietfarch-smime-archive@core3.amsl.com>;
	Tue, 16 Sep 2008 23:31:42 -0700 (PDT)
Received: from cpe-065-188-255-037.triad.res.rr.com (cpe-065-188-255-037.triad.res.rr.com [65.188.255.37])
	by core3.amsl.com (Postfix) with ESMTP id 8074D28C259
	for <smime-archive@ietf.org>; Tue, 16 Sep 2008 23:31:42 -0700 (PDT)
Date:   Wed, 17 Sep 2008 02:31:52 -0400
From:   Sina <edipeit_1982@hercules.com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: smime-archive@ietf.org
Subject: Healthy erection needs to be hard
Content-Type: multipart/alternative;
 boundary="------------050405060806040201030704"
Message-Id: <20080917063142.8074D28C259@core3.amsl.com>

--------------050405060806040201030704
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Start a sexual fitness program that is supplemented by our all natural solution
http://www.bevydace.com/ <http://www.bevydace.com/>

--------------050405060806040201030704
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Start a sexual fitness program that is supplemented by our all natural solution<br>
<a href="http://www.bevydace.com/">http://www.bevydace.com/</a><br>
</body>
</html>

--------------050405060806040201030704--


From eelyllib_1953@hercules.com  Tue Sep 16 23:32:05 2008
Return-Path: <eelyllib_1953@hercules.com>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2360228C267
	for <ietfarch-smime-archive@core3.amsl.com>; Tue, 16 Sep 2008 23:32:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.96
X-Spam-Level: 
X-Spam-Status: No, score=-5.96 tagged_above=-999 required=5
	tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597,
	FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999,
	HELO_DYNAMIC_DHCP=1.398, HELO_DYNAMIC_IPADDR=2.426, HELO_EQ_CPE=0.5,
	HOST_EQ_CPE=0.979, HTML_MESSAGE=0.001, RAZOR2_CF_RANGE_51_100=0.5,
	RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5,
	RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905,
	RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1,
	URIBL_AB_SURBL=10, URIBL_BLACK=20, URIBL_JP_SURBL=10,
	URIBL_OB_SURBL=10, URIBL_SC_SURBL=10, URIBL_WS_SURBL=10,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 0cKvwrxNf5xh
	for <ietfarch-smime-archive@core3.amsl.com>;
	Tue, 16 Sep 2008 23:32:04 -0700 (PDT)
Received: from cpe-065-188-255-037.triad.res.rr.com (cpe-065-188-255-037.triad.res.rr.com [65.188.255.37])
	by core3.amsl.com (Postfix) with ESMTP id 339C628C264
	for <smime-archive@megatron.ietf.org>; Tue, 16 Sep 2008 23:32:04 -0700 (PDT)
Date:   Wed, 17 Sep 2008 02:32:14 -0400
From:   Sal <eelyllib_1953@hercules.com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: smime-archive@megatron.ietf.org
Subject: When the tool is hard, life is good
Content-Type: multipart/alternative;
 boundary="------------000400070800030805020501"
Message-Id: <20080917063204.339C628C264@core3.amsl.com>

--------------000400070800030805020501
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

If you have problems with making love, we are here to give you advice.
http://www.calpdial.com/ <http://www.calpdial.com/>

--------------000400070800030805020501
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
If you have problems with making love, we are here to give you advice.<br>
<a href="http://www.calpdial.com/">http://www.calpdial.com/</a><br>
</body>
</html>

--------------000400070800030805020501--


From ednesutr1950@hercules.com  Tue Sep 16 23:33:31 2008
Return-Path: <ednesutr1950@hercules.com>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 40DEA28C259
	for <ietfarch-smime-archive@core3.amsl.com>; Tue, 16 Sep 2008 23:33:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.54
X-Spam-Level: 
X-Spam-Status: No, score=-14.54 tagged_above=-999 required=5
	tests=[BAYES_99=3.5, FH_HELO_EQ_D_D_D_D=1.597,
	FH_HOST_EQ_D_D_D_D=0.765, FM_DDDD_TIMES_2=1.999,
	HELO_DYNAMIC_DHCP=1.398, HELO_DYNAMIC_IPADDR=2.426, HELO_EQ_CPE=0.5,
	HOST_EQ_CPE=0.979, HTML_MESSAGE=0.001, RAZOR2_CF_RANGE_51_100=0.5,
	RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5,
	RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905,
	RCVD_IN_SORBS_DUL=0.877, RCVD_IN_XBL=3.033, RDNS_DYNAMIC=0.1,
	SARE_ADULT2=1.42, URIBL_AB_SURBL=10, URIBL_BLACK=20,
	URIBL_JP_SURBL=10, URIBL_OB_SURBL=10, URIBL_SC_SURBL=10,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id UbCpcjbeiwHo
	for <ietfarch-smime-archive@core3.amsl.com>;
	Tue, 16 Sep 2008 23:33:30 -0700 (PDT)
Received: from cpe-065-188-255-037.triad.res.rr.com (cpe-065-188-255-037.triad.res.rr.com [65.188.255.37])
	by core3.amsl.com (Postfix) with ESMTP id 59D4E28C250
	for <smime-archive@lists.ietf.org>; Tue, 16 Sep 2008 23:33:30 -0700 (PDT)
Date:   Wed, 17 Sep 2008 02:33:40 -0400
From:   Vlady <ednesutr1950@hercules.com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: smime-archive@lists.ietf.org
Subject: Fix your pinis problems now
Content-Type: multipart/alternative;
 boundary="------------070007080504060105040302"
Message-Id: <20080917063330.59D4E28C250@core3.amsl.com>

--------------070007080504060105040302
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Get longer orgasms and pleasures with these natural herbs.
http://www.cotebig.com/ <http://www.cotebig.com/>

--------------070007080504060105040302
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Get longer orgasms and pleasures with these natural herbs.<br>
<a href="http://www.cotebig.com/">http://www.cotebig.com/</a><br>
</body>
</html>

--------------070007080504060105040302--


From owner-ietf-smime@mail.imc.org  Wed Sep 17 12:59:22 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2FAA33A6814
	for <ietfarch-smime-archive@core3.amsl.com>; Wed, 17 Sep 2008 12:59:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Level: 
X-Spam-Status: No, score=-1.949 tagged_above=-999 required=5 tests=[AWL=0.650,
	BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id hpyCiXPT4Mw6
	for <ietfarch-smime-archive@core3.amsl.com>;
	Wed, 17 Sep 2008 12:59:21 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 08CFA3A683D
	for <smime-archive@ietf.org>; Wed, 17 Sep 2008 12:59:19 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8HJfX1m080533
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 17 Sep 2008 12:41:33 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8HJfXXQ080532;
	Wed, 17 Sep 2008 12:41:33 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp100.biz.mail.re2.yahoo.com (smtp100.biz.mail.re2.yahoo.com [206.190.52.46])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8HJfLr0080510
	for <ietf-smime@imc.org>; Wed, 17 Sep 2008 12:41:32 -0700 (MST)
	(envelope-from turners@ieca.com)
Received: (qmail 66751 invoked from network); 17 Sep 2008 19:41:21 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@71.191.0.27 with login)
  by smtp100.biz.mail.re2.yahoo.com with SMTP; 17 Sep 2008 19:41:20 -0000
X-YMail-OSG: NWnRwRQVM1mg4s8dCl16ogAJ1LXZIKNvQq2nFcGy_UP0LNDVsPdojd9VTwhd9JWJ0dXT9gFUn1tj8DiYfUtCI1H9JzGhjUmbDsExYWdlkyhQPkAWK7BVs01rN182pIzSb6Bk4NLoBSPNSzQ1k1dwHX5rqNDxIls6o.l2S9WYtuoekPNToLUnFOd2pZO58A--
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: "'Turner, Sean P.'" <turners@ieca.com>,
        "'Russ Housley'" <housley@vigilsec.com>, <ietf-smime@imc.org>
References: <200809091358.m89DwKYh076619@balder-227.proper.com> <95464D8597D34F2C998097DB59FA9295@Wylie>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt
Date: Wed, 17 Sep 2008 15:41:17 -0400
Organization: IECA, Inc.
Message-ID: <C2E17EF228214231BEC512B98858B813@Wylie>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: AckSh9nBjDRAM8o5TvSIAk/hOc8StgAdS+qwAX/haCA=
In-Reply-To: <95464D8597D34F2C998097DB59FA9295@Wylie>
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


It's been pointed out that we explain why the RSA and DSA key sizes are
different in draft-ietf-smime-rfc3851bis and not in
draft-ietf-smime-rfc3850bis (i.e., the standard isn't yet defined).  To
address this we should replace the suggested draft-ietf-smime-rfc3850bis
security paragraph as follows (add three new sentences to the end):

The 4096-bit RSA key size requirement for certificate and CRL verification
is larger than the 2048-bit RSA key sizes for message signature
generation/verification or message encryption/decryption in [SMIME-MSG]
because many Root CAs included in certificate stores have already issued
Root certificates with 4096-bit key.  The standard that defines comparable
key sizes for DSA is not yet available.  In particular, [FIPS186-3] only
defines DSA key sizes up to 1024 bits.  A revision to support larger key
sizes is being developed, and once it is available, implementors ought to
support DSA key sizes comparable to the RSA key sizes recommended in this
specification.

spt

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org 
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Turner, Sean P.
>Sent: Monday, September 15, 2008 6:22 PM
>To: 'Russ Housley'; ietf-smime@imc.org
>Subject: RE: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt
>
>
>More than one person has asked about the different key sizes 
>in draft-ietf-smime-3850bis and draft-ietf-smime-3851bis.  To 
>save people searching through the archives, we should add some 
>text to the security considerations to address the following 
>two issues: 1) Why don't the DSA and RSA key sizes match up in 
>terms of security strength and 2) Why is 4096 bits the upper 
>bound in draft-ietf-smime-3850bis (CERT) while the upper 
>bounds in in draft-ietf-smime-3851bis (MSG) is 2048.
>
>1) The reason for the DSA key size recommendations not being 
>the same as RSA key size recommendations is that FIPS 186-3 
>only defines key sizes up to 1024.  With no 
>informative/normative reference for us to point to we can't 
>suggest DSA key sizes greater that 1024.  So in 
>draft-ietf-smime-3851bis, I suggest the following change be 
>made to say that when NIST does publish something implementers 
>ought to support the larger key sizes:
>
>Old:
>
>The choice of 2048 bits as the RSA asymmetric key size in this 
>specification is based on the desire to provide 100 bits of 
>security.  The choice of 1024 bits as the DSA, and DH 
>asymmetric key size in this specification is based on the 
>desire to provide 80 bits of security.  These key size seems 
>prudent for the Internet based on Section 4.3 of [STRENGTH].  
>There are other environments (e.g., government, financial, and 
>medical) that may consider this key size to be inadequate.  
>Likewise, there are other environments that may consider this 
>key size to be excessive.
>
>New:
>
>The choice of 2048 bits as the RSA asymmetric key size in this 
>specification is based on the desire to provide 100 bits of 
>security.  The standards to offer the same level of security 
>for DSA and DH are not yet available.  In particular, 
>[FIPS186-3] only defines DSA key sizes up to 1024 bits.  A 
>revision to support larger key sizes is being developed, and 
>once it is available, implementors ought to support DSA key 
>sizes comparable to the RSA key sizes recommended in this 
>specification.  The key sizes that must be supported to 
>conform to this specification seem appropriate for the 
>Internet based on [STRENGTH].  Of course, there are 
>environments, such as financial and medical system, that may 
>select different key sizes.  For this reason, an 
>implementation MAY support key sizes beyond those recommended 
>in this specification.
>
>2) With respect to the 4096 in draft-ietf-smime-rfc3850bis and 
>2048 in draft-ietf-smime-rfc3851bis, the discussion went 
>something like this: a) draft-ietf-smime-3850bis only 
>addresses certificate/CRL validation while 
>draft-ietf-smime-rfc3851bis addresses signature 
>generation/verification and encryption/decryption b) 4096 
>certificates are already in the Mozilla and MS cert store.  To 
>make sure people understand the difference in 
>draft-ietf-smime-rfc3850bis, I suggest adding the following to 
>its security
>considerations:
>
>The 4096-bit RSA key size requirement for certificate and CRL 
>verification is larger than the 2048-bit RSA key sizes for 
>message signature generation/verification or message 
>encryption/decryption in 
>[SMIME-MSG:draft-ietf-smime-rfc3851bis] because multiple 
>certificate stores already include Root certificates with 
>4096-bit keys.
>
>spt
>
>>-----Original Message-----
>>
>>Passing on some WG Last Call comments.
>>
>>Russ
>>
>>= = = = = = = = =
>>
>>1) Section 1.6: Section 1.2 should be 1.3 (conventions section).  Sec
>>1.3: Added references ... should be
>>Sect 1.4: Added references...
>
>Fixed.
>
>>2) Inconsistency: DSA with SHA-256 is a MUST in Section 1.6 and
>>SHOULD+ in section 2.2.  3250-bis and 3251-bis should be consistent
>>for DSA with SHA-256.
>
>DSA with SHA-256 should be SHOULD+ everywhere.
>
>>3) section 1.6 mentions Sec 2.5.2.1 (there is no 2.5.2.1)
>
>2.5.2.1 just talked about RC2 so I deleted it entirely.  I'll 
>split the bullet in two:
>
>Sec 2.5.2.1: Deleted entire section (discussed deprecated RC2).
>Sec 2.7, 2.7.1, Appendix A: references to RC2/40 removed.
>
>>4) Section 1.6 referencing Sec 2.5.2:  "DES-3EDE-CBC" and 
>"AES-128 CBC" 
>>should be "DES-3EDE-CBC" with "AES-128 CBC"
>
>Fixed
>
>>5) Section 1.6 referencing Sec 7: update should be updated
>
>Fixed
>
>>6) I believe that Denis pointed this out already but there is a 
>>contradiction in key sizes for RSA signatures between 3850bis and 
>>3851bis.
>
>See above.
>
>>7) Error in reference [SMIMEv2] in both 3850bis and 3851bis;
>>PKCS#7 is RFC 2315.
>
>Fixed
>



From uiqnivfwpo@gmail.com  Thu Sep 18 09:55:19 2008
Return-Path: <uiqnivfwpo@gmail.com>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A36643A6AD5
	for <ietfarch-smime-archive@core3.amsl.com>; Thu, 18 Sep 2008 09:55:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.25
X-Spam-Level: ***
X-Spam-Status: No, score=3.25 tagged_above=-999 required=5 tests=[BAYES_80=2,
	HELO_EQ_SE=0.35, INVALID_MSGID=1.9, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 7fNb34tOBD40
	for <ietfarch-smime-archive@core3.amsl.com>;
	Thu, 18 Sep 2008 09:55:18 -0700 (PDT)
Received: from babar.kontrollpanelen.se (babar.kontrollpanelen.se [194.30.169.80])
	by core3.amsl.com (Postfix) with ESMTP id 9CAA23A6899
	for <smime-archive@lists.ietf.org>; Thu, 18 Sep 2008 09:55:18 -0700 (PDT)
Received: from [125.116.101.186] (helo=DM)
	by babar.kontrollpanelen.se with smtp (Exim 4.53)
	id 1KgMmk-000P5m-CB; Thu, 18 Sep 2008 18:55:19 +0200
Received: from -.gmail.com (HELO Delldim5150) ([194.30.169.80]) by -.gmail.com with ESMTP; Fri, 19 Sep 2008 13:46:40 -0700
Date: Fri, 19 Sep 2008 14:52:40 -0600
From: " Valle" <uiqnivfwpo@gmail.com>
To: smim@aol.com
Subject: Comprehensive Healthcare Contact List
Message-ID: <119131h1rkn0$j2495ho0$1752s7b0@Delldim5150
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Priority: normal






Board Certified MDs in the US 

788,957 in total <> 17,000 emails

MDs in many different specialties

16 different sortable fields

reduced price is now: $396


=== Receive the items below as a Bon.US if  you order this week ===

Directory of American Pharma Companies
Personal email addresses (47,000 in total) and names for top level executives

Contact List of US Hospitals
23,000 Admins in more than 7,000 hospitals {a $399 value]

Complete and Accurate List for Dental Service Providers
More than half a million listings [worth $499 alone!]

American Chiropractors Database
100,000 Chiropractors in the USA (worth $250 alone)

please send replies to -       KateKnox@xunizhuji88.cn

  

from today until this Friday


to adjust your subscription status email to tranghx@xunizhuji88.cn


From owner-ietf-smime@mail.imc.org  Fri Sep 19 01:15:34 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 34D8F3A67A2
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 19 Sep 2008 01:15:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.091
X-Spam-Level: *
X-Spam-Status: No, score=1.091 tagged_above=-999 required=5 tests=[AWL=0.076,
	BAYES_40=-0.185, J_CHICKENPOX_26=0.6, J_CHICKENPOX_46=0.6]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 92v5d4lm7e91
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 19 Sep 2008 01:15:32 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id E77733A6897
	for <smime-archive@ietf.org>; Fri, 19 Sep 2008 01:15:31 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8J7l5s7031159
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 19 Sep 2008 00:47:05 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8J7l5SM031158;
	Fri, 19 Sep 2008 00:47:05 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from pne-smtpout2-sn1.fre.skanova.net (pne-smtpout2-sn1.fre.skanova.net [81.228.11.159])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8J7ksGG031143
	for <ietf-smime@imc.org>; Fri, 19 Sep 2008 00:47:05 -0700 (MST)
	(envelope-from anders.rundgren@telia.com)
Received: from arport2v (81.232.45.215) by pne-smtpout2-sn1.fre.skanova.net (7.3.129) (authenticated as u18116613)
        id 4843FAEB01868BF6 for ietf-smime@imc.org; Fri, 19 Sep 2008 09:46:53 +0200
Message-ID: <00e101c91a2b$e2481320$82c5a8c0@arport2v>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: <ietf-smime@imc.org>
Subject: Subject Key Attestation Evidence "light" - Invention Disclosure
Date: Fri, 19 Sep 2008 09:46:53 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


The following may be prior art, or be common knowledge. It may
even be a bad idea.  However, the publishing was only done
in order to thwart possible future IPR claims.  If the principle
is already patented, I would appreciate more information
if possible.  The concept described is primarily intended for usage
with mobile phones having embedded crypto hardware which should
be the majority within 5-10 years from now, since crypto hardware is
close to a requirement for making secure operating systems.
In case you find the mail version hard to read, there is a PDF with
the same content available:
http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__InventionDisclosure.pdf

The decribed scheme is an intrinsic part of the KeyGen2 universal
key-provisioning protocol:
http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf

SKAE "light" - Invention Disclosure
------------------------------------

Background
=========

In some cryptographic systems, asymmetric key-pairs may be
internally generated in Security Elements (SEs), like Smart Cards.
For on-line (remote) provisioning of keys to SEs, there is a whish
by CAs to be able to securely verify that the public key part
they receive for inclusion in a certificate, indeed was (together
with its private counterpart), generated inside of a "genuine" SE.

To support this requirement the TrustedComputingGroup's (TCG's)
Trusted Platform Module (TPM) V1.2 specification features a
mechanism known as Subject Key Attestation Evidence (SKAE).

Prerequisite: The SE contains an embedded private key and a
matching public key certificate identifying the SE in some way that
makes sense for CAs.  The private key is used for signing evidence
attestations regarding generated key-pairs.

Problem: If the embedded private key of the SE is also to be usable
for other cryptographic operations, a "hacked" software environment
could exploit this by creating unprotected key-pairs externally and
still be able providing CAs with genuine-looking attestation
evidences.  TCG's solution to this problem is based on the use
of dedicated key attest keys, specific X.509 certificate extensions,
and potentially also relying on multiple CA roots.  Although
working, this scheme appears unnecessary complex for supporting
a single-purpose key.

Solution
======

The following steps describe how a simpler form of SKAE,
purely based on cryptography, could be implemented in an SE.

First you need to restrict the SE key-certifying private key from being
able to perform unformatted ("blank") RSA decryption
operations through direct API calls to the SE.

You MAY still allow the key-certifying key creating standard
PKCS #1 signatures which are useful for many purposes including
authentication and message integrity.  Encryption operations using
the public key MAY also be supported.

To support SKAE, the proposal is to create a unique variant of PKCS #1
signatures that must only be generated during key-generation.
Such a signature MAY also be created if the SE is explicitly invoked with
a previously generated public key, unless that would lead
to key-reuse vulnerabilities.

A unique variant of PKCS #1 could in its simplest form be implemented
through the use of a non-standard padding pattern.  The hash
algorithms to use would still be the existing SHA-1 etc.  A verifier
should then be able to securely distinguish between standard
signatures and SKAE signatures.  A nonce option would also be
suitable for inclusion in the signature packet.   On the next pages,
there is a sample program in Java implementing the proposed
SKAE scheme.

Although this scheme only describes PKCS #1 (RSA) keys, the
principles are presumable applicable to other asymmetric key types as
well including ECDSA.

One might consider the proposed solution as a standards-defying
"kludge", but the fact is that all current SKAE schemes rely on very
specific generation and validation code.

The primary target for this invention are mobile phones which are
likely to be fitted with secure hardware fairly soon, since this
is more or less a requirement for other purposes as well, most
notably for Operating System integrity protection.

Side Effect: PoP Becomes Redundant
==========================

It seems that a properly designed SKAE scheme makes
Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
redundant which is an advantage because combining PoP
signatures with PIN-code provisioning introduces fairly
awkward state-handling in SEs since the generated private
key typically must be used before it is fully provisioned.

Anders Rundgren, WebPKI.org, September 15, 2008

Author's address:
Storbolsäng 50
740 10 Almunge
Sweden

Email: anders.rundgren@telia.com

---------------------------------------------------------------------


import javax.crypto.Cipher;

import java.security.GeneralSecurityException;
import java.security.MessageDigest;
import java.security.PublicKey;
import java.security.PrivateKey;
import java.security.KeyPair;
import java.security.KeyPairGenerator;

import java.security.interfaces.RSAKey;

/**
 * SKAE (Subject Key Attestation Evidence).  The following J2SE compatible code is meant illustrate
 * the use of SKAE signatures.
 */
public class skae
  {
    static final String SHA_1            = "SHA-1";

    static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";

    static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00, (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};

    static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30, (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
                                                       (byte)0x05, (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
                                                       (byte)0x1a, (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};


    /**
     * Create an SKAE package for signing or verification
     * @param rsa_key The certifying (attesting) private or public key.
     * @param certified_public_key The certified (attested) key.
     * @param optional_nonce An optional "nonce" element.
     * @return The SKAE package.
     */
    public static byte[] createSKAEPackage (RSAKey rsa_key,
                                            PublicKey certified_public_key,
                                            byte[] optional_nonce)
    throws GeneralSecurityException
      {
        ////////////////////////////////////////////////////////////////////////////////////////
        // To make it feasible securely distinguishing standard RSASSA-PKCS1.5 signatures     //
        // from SKAE signatures the latter are packaged in a different way which should       //
        // create errors if processed by a crypto library that does not support SKAE.         //
        // The following shows the packaging differences in detail.                           //
        //                                                                                    //
        // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 || T                              //
        //                                                                                    //
        // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S' || 'K' || 'A' || 'E' || T  //
        ////////////////////////////////////////////////////////////////////////////////////////
        byte[] modulus = rsa_key.getModulus ().toByteArray ();
        int k = modulus.length;
        if (modulus[0] == 0) k--;
        byte[] encoded_message = new byte [k];
        encoded_message[0] = (byte)0;
        encoded_message[1] = (byte)1;
        MessageDigest md = MessageDigest.getInstance (SHA_1);
        if (optional_nonce != null)
          {
            md.update (optional_nonce);
          }
        byte[] hash = md.digest (certified_public_key.getEncoded ());
        int i = k - 2 - PS_END_SEQUENCE.length - hash.length - DIGEST_INFO_SHA1.length;
        int j = 2;
        while (i-- > 0)
          {
            encoded_message[j++] = (byte)0xff;
          }
        i = 0;
        while (i < PS_END_SEQUENCE.length)
          {
            encoded_message[j++] = PS_END_SEQUENCE[i++];
          }
        System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j, DIGEST_INFO_SHA1.length);
        System.arraycopy (hash, 0, encoded_message, j + DIGEST_INFO_SHA1.length, hash.length);
        return encoded_message;
      }



   /**
     * Verify an SKAE signature
     * @param skae_signature The signature to be verified.
     * @param certifying_public_key The certifying (attesting) public key.
     * @param certified_public_key The certified (attested) key.
     * @param optional_nonce An optional "nonce" element.
     * @throws GeneralSecurityException if the signature is invalid or indata is incorrect.
     */
    public static void verifySKAESignature (byte[] skae_signature,
                                            PublicKey certifying_public_key,
                                            PublicKey certified_public_key,
                                            byte[] optional_nonce)
    throws GeneralSecurityException
      {
        Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
        cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
        byte[] received_signature_package = cipher.doFinal (skae_signature);
        byte[] reference_signature_package = createSKAEPackage ((RSAKey)certifying_public_key,
                                                                certified_public_key,
                                                                optional_nonce);
        if (reference_signature_package.length != received_signature_package.length)
          {
            throw new GeneralSecurityException ("Signature package length error");
          }
        for (int i = 0; i < received_signature_package.length ; i++)
          {
            if (received_signature_package[i] != reference_signature_package[i])
              {
                // A more comprehensive diagnostic would be preferable...
                throw new GeneralSecurityException ("Signature package content error");
              }
          }
      }


    public static class GeneratedKey
      {
        PublicKey certified_public_key;
        PublicKey certifying_public_key;
        byte[] skae_signature;
      }


    public static class SecurityElement
      {
        PublicKey certifying_public_key;

        private PrivateKey certifying_private_key;

        public SecurityElement () throws GeneralSecurityException
          {
            /////////////////////////////////////////////////////////////////
            // Key-certifying keys are typically created once during       //
            // device manufacturing. The public key part is also most      //
            // likely distributed in an X.509 certificate issued by a CA   //
            // setup specifically for certifying crypto hardware.          //
            // That is, the following lines are just for showing the       //
            // cryptography, without any infrastructural considerations.   //
            /////////////////////////////////////////////////////////////////
            KeyPairGenerator certifier = KeyPairGenerator.getInstance ("RSA");
            certifier.initialize (2048);
            KeyPair certifying_key_pair = certifier.generateKeyPair ();
            certifying_public_key = certifying_key_pair.getPublic ();
            certifying_private_key = certifying_key_pair.getPrivate ();
          }


        /**
         * Create a certified key-pair.
         * @param size The size of the RSA key.
         * @param optional_nonce An optional "nonce" element.
         * @return A container with a generated public key and attesting signature.
         */
        public GeneratedKey generateCertifiedKeyPair (int size, byte[] optional_nonce)
        throws GeneralSecurityException
          {
            /////////////////////////////////////////////////////////////////
            // Generate a new key-pair in the Security Element.  The       //
            // private key is presumably stored securely in hardware and   //
            // never leave its container, unless "sealed" by the latter.   //
            /////////////////////////////////////////////////////////////////
            KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
            kpg.initialize (size);
            KeyPair new_key_pair = kpg.generateKeyPair ();

            /////////////////////////////////////////////////////////////////
            // Now let the Security Element attest that the new key-pair   //
            // actually was created inside of the Security Element.        //
            //                                                             //
            // NOTE 1: The Security Element MUST NOT expose an API that    //
            // allows unformatted RSA decryptions like used below to be    //
            // performed with the key-certifying key, otherwise "malware"  //
            // could easily create fake attestations for any externally    //
            // supplied key-pair!                                          //
            //                                                             //
            // NOTE 2: Due to the fact that SKAE signatures are only to    //
            // be created for generated keys, the key-certifying key MAY   //
            // also be used for creating ordinary PKCS1.5 signatures for   //
            // things like authentications and securing message integrity  //
            /////////////////////////////////////////////////////////////////
            GeneratedKey gk = new GeneratedKey ();
            gk.certified_public_key = new_key_pair.getPublic ();
            Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
            cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
            gk.skae_signature = cipher.doFinal (createSKAEPackage ((RSAKey)certifying_private_key,
                                                                   gk.certified_public_key,
                                                                   optional_nonce));
            gk.certifying_public_key = certifying_public_key;
            return gk;
          }
      }


    public static void main (String[] args) throws Exception
      {

        /////////////////////////////////////////////////////////////////
        //                                                             //
        //                     CLIENT Operations                       //
        //                                                             //
        // It is assumed that the critical operations are performed    //
        // inside of the Security Element, otherwise attestations      //
        // would not be more trustworthy than the environment where    //
        // the Security Element is actually running in!                //
        /////////////////////////////////////////////////////////////////
        SecurityElement se = new SecurityElement ();

        /////////////////////////////////////////////////////////////////
        // Generate a new key-pair in the Security Element.  The       //
        // private key is presumably stored securely in hardware and   //
        // never leave its container, unless "sealed" by the latter.   //
        /////////////////////////////////////////////////////////////////
        byte[] nonce = null; // Didn't use a nonce in the sample run
        GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);

        /////////////////////////////////////////////////////////////////
        //                                                             //
        //                     VERIFIER Operations                     //
        //                                                             //
        // The certifying public key is supposed to be transferred to  //
        // the verifier by some kind of protocol, together with the    //
        // SKAE-signature, certified public key, and the optional      //
        // nonce.  A nonce (if used) would preferably be created by    //
        // the verifier during an earlier (not shown) protocol phase.  //
        /////////////////////////////////////////////////////////////////
        verifySKAESignature (gk.skae_signature,
                             gk.certifying_public_key,
                             gk.certified_public_key,
                             nonce);

        System.out.println ("The SKAE signature appears to be valid!");
      }

  }



From owner-ietf-smime@mail.imc.org  Fri Sep 19 08:12:13 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5F4E13A69A7
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 19 Sep 2008 08:12:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.414
X-Spam-Level: 
X-Spam-Status: No, score=-101.414 tagged_above=-999 required=5
	tests=[AWL=-0.818, BAYES_00=-2.599, J_CHICKENPOX_26=0.6,
	J_CHICKENPOX_46=0.6, MSGID_FROM_MTA_HEADER=0.803,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id QzC5io0tn8aY
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 19 Sep 2008 08:12:11 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 176B53A67EF
	for <smime-archive@ietf.org>; Fri, 19 Sep 2008 08:12:10 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JEsSqh059599
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 19 Sep 2008 07:54:28 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JEsSwX059597;
	Fri, 19 Sep 2008 07:54:28 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8JEsGoC059569
	for <ietf-smime@imc.org>; Fri, 19 Sep 2008 07:54:27 -0700 (MST)
	(envelope-from housley@vigilsec.com)
Message-Id: <200809191454.m8JEsGoC059569@balder-227.proper.com>
Received: (qmail 26073 invoked by uid 0); 19 Sep 2008 14:51:48 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.143.50)
  by woodstock.binhost.com with SMTP; 19 Sep 2008 14:51:48 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 19 Sep 2008 10:25:03 -0400
To: "Anders Rundgren" <anders.rundgren@telia.com>, <ietf-smime@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: Subject Key Attestation Evidence "light" - Invention
  Disclosure
In-Reply-To: <00e101c91a2b$e2481320$82c5a8c0@arport2v>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: 8bit
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


Please file a formal IPR statement on the IETF web site, especially 
if you believe that this invention is related to any RFC or 
Internet-Draft.  The URL for IPR statements is: 
https://datatracker.ietf.org/ipr/about/

Thanks,
   Russ

At 03:46 AM 9/19/2008, Anders Rundgren wrote:

>The following may be prior art, or be common knowledge. It may
>even be a bad idea.  However, the publishing was only done
>in order to thwart possible future IPR claims.  If the principle
>is already patented, I would appreciate more information
>if possible.  The concept described is primarily intended for usage
>with mobile phones having embedded crypto hardware which should
>be the majority within 5-10 years from now, since crypto hardware is
>close to a requirement for making secure operating systems.
>In case you find the mail version hard to read, there is a PDF with
>the same content available:
>http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__InventionDisclosure.pdf
>
>The decribed scheme is an intrinsic part of the KeyGen2 universal
>key-provisioning protocol:
>http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
>
>SKAE "light" - Invention Disclosure
>------------------------------------
>
>Background
>=========
>
>In some cryptographic systems, asymmetric key-pairs may be
>internally generated in Security Elements (SEs), like Smart Cards.
>For on-line (remote) provisioning of keys to SEs, there is a whish
>by CAs to be able to securely verify that the public key part
>they receive for inclusion in a certificate, indeed was (together
>with its private counterpart), generated inside of a "genuine" SE.
>
>To support this requirement the TrustedComputingGroup's (TCG's)
>Trusted Platform Module (TPM) V1.2 specification features a
>mechanism known as Subject Key Attestation Evidence (SKAE).
>
>Prerequisite: The SE contains an embedded private key and a
>matching public key certificate identifying the SE in some way that
>makes sense for CAs.  The private key is used for signing evidence
>attestations regarding generated key-pairs.
>
>Problem: If the embedded private key of the SE is also to be usable
>for other cryptographic operations, a "hacked" software environment
>could exploit this by creating unprotected key-pairs externally and
>still be able providing CAs with genuine-looking attestation
>evidences.  TCG's solution to this problem is based on the use
>of dedicated key attest keys, specific X.509 certificate extensions,
>and potentially also relying on multiple CA roots.  Although
>working, this scheme appears unnecessary complex for supporting
>a single-purpose key.
>
>Solution
>======
>
>The following steps describe how a simpler form of SKAE,
>purely based on cryptography, could be implemented in an SE.
>
>First you need to restrict the SE key-certifying private key from being
>able to perform unformatted ("blank") RSA decryption
>operations through direct API calls to the SE.
>
>You MAY still allow the key-certifying key creating standard
>PKCS #1 signatures which are useful for many purposes including
>authentication and message integrity.  Encryption operations using
>the public key MAY also be supported.
>
>To support SKAE, the proposal is to create a unique variant of PKCS #1
>signatures that must only be generated during key-generation.
>Such a signature MAY also be created if the SE is explicitly invoked with
>a previously generated public key, unless that would lead
>to key-reuse vulnerabilities.
>
>A unique variant of PKCS #1 could in its simplest form be implemented
>through the use of a non-standard padding pattern.  The hash
>algorithms to use would still be the existing SHA-1 etc.  A verifier
>should then be able to securely distinguish between standard
>signatures and SKAE signatures.  A nonce option would also be
>suitable for inclusion in the signature packet.   On the next pages,
>there is a sample program in Java implementing the proposed
>SKAE scheme.
>
>Although this scheme only describes PKCS #1 (RSA) keys, the
>principles are presumable applicable to other asymmetric key types as
>well including ECDSA.
>
>One might consider the proposed solution as a standards-defying
>"kludge", but the fact is that all current SKAE schemes rely on very
>specific generation and validation code.
>
>The primary target for this invention are mobile phones which are
>likely to be fitted with secure hardware fairly soon, since this
>is more or less a requirement for other purposes as well, most
>notably for Operating System integrity protection.
>
>Side Effect: PoP Becomes Redundant
>==========================
>
>It seems that a properly designed SKAE scheme makes
>Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
>redundant which is an advantage because combining PoP
>signatures with PIN-code provisioning introduces fairly
>awkward state-handling in SEs since the generated private
>key typically must be used before it is fully provisioned.
>
>Anders Rundgren, WebPKI.org, September 15, 2008
>
>Author's address:
>Storbolsäng 50
>740 10 Almunge
>Sweden
>
>Email: anders.rundgren@telia.com
>
>---------------------------------------------------------------------
>
>
>import javax.crypto.Cipher;
>
>import java.security.GeneralSecurityException;
>import java.security.MessageDigest;
>import java.security.PublicKey;
>import java.security.PrivateKey;
>import java.security.KeyPair;
>import java.security.KeyPairGenerator;
>
>import java.security.interfaces.RSAKey;
>
>/**
>  * SKAE (Subject Key Attestation Evidence).  The following J2SE 
> compatible code is meant illustrate
>  * the use of SKAE signatures.
>  */
>public class skae
>   {
>     static final String SHA_1            = "SHA-1";
>
>     static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";
>
>     static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00, 
> (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
>
>     static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30, 
> (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
>                                                        (byte)0x05, 
> (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
>                                                        (byte)0x1a, 
> (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
>
>
>     /**
>      * Create an SKAE package for signing or verification
>      * @param rsa_key The certifying (attesting) private or public key.
>      * @param certified_public_key The certified (attested) key.
>      * @param optional_nonce An optional "nonce" element.
>      * @return The SKAE package.
>      */
>     public static byte[] createSKAEPackage (RSAKey rsa_key,
>                                             PublicKey certified_public_key,
>                                             byte[] optional_nonce)
>     throws GeneralSecurityException
>       {
> 
>////////////////////////////////////////////////////////////////////////////////////////
>         // To make it feasible securely distinguishing standard 
> RSASSA-PKCS1.5 signatures     //
>         // from SKAE signatures the latter are packaged in a 
> different way which should       //
>         // create errors if processed by a crypto library that does 
> not support SKAE.         //
>         // The following shows the packaging differences in 
> detail.                           //
>         // 
>                            //
>         // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 || 
> T                              //
>         // 
>                            //
>         // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S' 
> || 'K' || 'A' || 'E' || T  //
> 
>////////////////////////////////////////////////////////////////////////////////////////
>         byte[] modulus = rsa_key.getModulus ().toByteArray ();
>         int k = modulus.length;
>         if (modulus[0] == 0) k--;
>         byte[] encoded_message = new byte [k];
>         encoded_message[0] = (byte)0;
>         encoded_message[1] = (byte)1;
>         MessageDigest md = MessageDigest.getInstance (SHA_1);
>         if (optional_nonce != null)
>           {
>             md.update (optional_nonce);
>           }
>         byte[] hash = md.digest (certified_public_key.getEncoded ());
>         int i = k - 2 - PS_END_SEQUENCE.length - hash.length - 
> DIGEST_INFO_SHA1.length;
>         int j = 2;
>         while (i-- > 0)
>           {
>             encoded_message[j++] = (byte)0xff;
>           }
>         i = 0;
>         while (i < PS_END_SEQUENCE.length)
>           {
>             encoded_message[j++] = PS_END_SEQUENCE[i++];
>           }
>         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j, 
> DIGEST_INFO_SHA1.length);
>         System.arraycopy (hash, 0, encoded_message, j + 
> DIGEST_INFO_SHA1.length, hash.length);
>         return encoded_message;
>       }
>
>
>
>    /**
>      * Verify an SKAE signature
>      * @param skae_signature The signature to be verified.
>      * @param certifying_public_key The certifying (attesting) public key.
>      * @param certified_public_key The certified (attested) key.
>      * @param optional_nonce An optional "nonce" element.
>      * @throws GeneralSecurityException if the signature is invalid 
> or indata is incorrect.
>      */
>     public static void verifySKAESignature (byte[] skae_signature,
>                                             PublicKey certifying_public_key,
>                                             PublicKey certified_public_key,
>                                             byte[] optional_nonce)
>     throws GeneralSecurityException
>       {
>         Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
>         byte[] received_signature_package = cipher.doFinal (skae_signature);
>         byte[] reference_signature_package = createSKAEPackage 
> ((RSAKey)certifying_public_key,
> 
>certified_public_key,
> 
>optional_nonce);
>         if (reference_signature_package.length != 
> received_signature_package.length)
>           {
>             throw new GeneralSecurityException ("Signature package 
> length error");
>           }
>         for (int i = 0; i < received_signature_package.length ; i++)
>           {
>             if (received_signature_package[i] != 
> reference_signature_package[i])
>               {
>                 // A more comprehensive diagnostic would be preferable...
>                 throw new GeneralSecurityException ("Signature 
> package content error");
>               }
>           }
>       }
>
>
>     public static class GeneratedKey
>       {
>         PublicKey certified_public_key;
>         PublicKey certifying_public_key;
>         byte[] skae_signature;
>       }
>
>
>     public static class SecurityElement
>       {
>         PublicKey certifying_public_key;
>
>         private PrivateKey certifying_private_key;
>
>         public SecurityElement () throws GeneralSecurityException
>           {
>             /////////////////////////////////////////////////////////////////
>             // Key-certifying keys are typically created once during       //
>             // device manufacturing. The public key part is also most      //
>             // likely distributed in an X.509 certificate issued by a CA   //
>             // setup specifically for certifying crypto hardware.          //
>             // That is, the following lines are just for showing the       //
>             // cryptography, without any infrastructural considerations.   //
>             /////////////////////////////////////////////////////////////////
>             KeyPairGenerator certifier = 
> KeyPairGenerator.getInstance ("RSA");
>             certifier.initialize (2048);
>             KeyPair certifying_key_pair = certifier.generateKeyPair ();
>             certifying_public_key = certifying_key_pair.getPublic ();
>             certifying_private_key = certifying_key_pair.getPrivate ();
>           }
>
>
>         /**
>          * Create a certified key-pair.
>          * @param size The size of the RSA key.
>          * @param optional_nonce An optional "nonce" element.
>          * @return A container with a generated public key and 
> attesting signature.
>          */
>         public GeneratedKey generateCertifiedKeyPair (int size, 
> byte[] optional_nonce)
>         throws GeneralSecurityException
>           {
>             /////////////////////////////////////////////////////////////////
>             // Generate a new key-pair in the Security Element.  The       //
>             // private key is presumably stored securely in hardware and   //
>             // never leave its container, unless "sealed" by the latter.   //
>             /////////////////////////////////////////////////////////////////
>             KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
>             kpg.initialize (size);
>             KeyPair new_key_pair = kpg.generateKeyPair ();
>
>             /////////////////////////////////////////////////////////////////
>             // Now let the Security Element attest that the new key-pair   //
>             // actually was created inside of the Security Element.        //
>             //                                                             //
>             // NOTE 1: The Security Element MUST NOT expose an API that    //
>             // allows unformatted RSA decryptions like used below to be    //
>             // performed with the key-certifying key, otherwise "malware"  //
>             // could easily create fake attestations for any externally    //
>             // supplied key-pair!                                          //
>             //                                                             //
>             // NOTE 2: Due to the fact that SKAE signatures are only to    //
>             // be created for generated keys, the key-certifying key MAY   //
>             // also be used for creating ordinary PKCS1.5 signatures for   //
>             // things like authentications and securing message integrity  //
>             /////////////////////////////////////////////////////////////////
>             GeneratedKey gk = new GeneratedKey ();
>             gk.certified_public_key = new_key_pair.getPublic ();
>             Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
>             gk.skae_signature = cipher.doFinal (createSKAEPackage 
> ((RSAKey)certifying_private_key,
> 
>gk.certified_public_key,
> 
>optional_nonce));
>             gk.certifying_public_key = certifying_public_key;
>             return gk;
>           }
>       }
>
>
>     public static void main (String[] args) throws Exception
>       {
>
>         /////////////////////////////////////////////////////////////////
>         //                                                             //
>         //                     CLIENT Operations                       //
>         //                                                             //
>         // It is assumed that the critical operations are performed    //
>         // inside of the Security Element, otherwise attestations      //
>         // would not be more trustworthy than the environment where    //
>         // the Security Element is actually running in!                //
>         /////////////////////////////////////////////////////////////////
>         SecurityElement se = new SecurityElement ();
>
>         /////////////////////////////////////////////////////////////////
>         // Generate a new key-pair in the Security Element.  The       //
>         // private key is presumably stored securely in hardware and   //
>         // never leave its container, unless "sealed" by the latter.   //
>         /////////////////////////////////////////////////////////////////
>         byte[] nonce = null; // Didn't use a nonce in the sample run
>         GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);
>
>         /////////////////////////////////////////////////////////////////
>         //                                                             //
>         //                     VERIFIER Operations                     //
>         //                                                             //
>         // The certifying public key is supposed to be transferred to  //
>         // the verifier by some kind of protocol, together with the    //
>         // SKAE-signature, certified public key, and the optional      //
>         // nonce.  A nonce (if used) would preferably be created by    //
>         // the verifier during an earlier (not shown) protocol phase.  //
>         /////////////////////////////////////////////////////////////////
>         verifySKAESignature (gk.skae_signature,
>                              gk.certifying_public_key,
>                              gk.certified_public_key,
>                              nonce);
>
>         System.out.println ("The SKAE signature appears to be valid!");
>       }
>
>   }



From owner-ietf-smime@mail.imc.org  Fri Sep 19 08:42:45 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id A295C28C114
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 19 Sep 2008 08:42:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.928
X-Spam-Level: 
X-Spam-Status: No, score=-0.928 tagged_above=-999 required=5 tests=[AWL=0.471,
	BAYES_00=-2.599, J_CHICKENPOX_26=0.6, J_CHICKENPOX_46=0.6]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Zo77OQNmUIKB
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 19 Sep 2008 08:42:44 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 79AB53A6884
	for <smime-archive@ietf.org>; Fri, 19 Sep 2008 08:42:43 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JFPxhu062310
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 19 Sep 2008 08:25:59 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JFPxdZ062309;
	Fri, 19 Sep 2008 08:25:59 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from pne-smtpout2-sn1.fre.skanova.net (pne-smtpout2-sn1.fre.skanova.net [81.228.11.159])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JFPlMf062298
	for <ietf-smime@imc.org>; Fri, 19 Sep 2008 08:25:58 -0700 (MST)
	(envelope-from anders.rundgren@telia.com)
Received: from arport2v (81.232.45.215) by pne-smtpout2-sn1.fre.skanova.net (7.3.129) (authenticated as u18116613)
        id 4843FAEB0188EC70; Fri, 19 Sep 2008 17:25:47 +0200
Message-ID: <024501c91a6b$fd73d720$82c5a8c0@arport2v>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: <ietf-smime@imc.org>, "Russ Housley" <housley@vigilsec.com>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net)
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
Date: Fri, 19 Sep 2008 17:25:46 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


Well, maybe I formulated the message bad but I don't
claim any IPR and the idea was that nobody else should
be able to do it either since patents in large-scale Open Source
projects don't work well.  My (maybe naive) hope was that
a public disclosure in "authoritative places" would put the
idea in the public domain.  I'm not aware of that this
concept is featured in any RFC or work-in-progress
except for in KeyGen2 (which is not going to be RFCed
until it is/becomes firmly established).

Regards
Anders

----- Original Message ----- 
From: "Russ Housley" <housley@vigilsec.com>
To: "Anders Rundgren" <anders.rundgren@telia.com>; <ietf-smime@imc.org>
Sent: Friday, September 19, 2008 16:25
Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure


Please file a formal IPR statement on the IETF web site, especially
if you believe that this invention is related to any RFC or
Internet-Draft.  The URL for IPR statements is:
https://datatracker.ietf.org/ipr/about/

Thanks,
   Russ

At 03:46 AM 9/19/2008, Anders Rundgren wrote:

>The following may be prior art, or be common knowledge. It may
>even be a bad idea.  However, the publishing was only done
>in order to thwart possible future IPR claims.  If the principle
>is already patented, I would appreciate more information
>if possible.  The concept described is primarily intended for usage
>with mobile phones having embedded crypto hardware which should
>be the majority within 5-10 years from now, since crypto hardware is
>close to a requirement for making secure operating systems.
>In case you find the mail version hard to read, there is a PDF with
>the same content available:
>http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__InventionDisclosure.pdf
>
>The decribed scheme is an intrinsic part of the KeyGen2 universal
>key-provisioning protocol:
>http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
>
>SKAE "light" - Invention Disclosure
>------------------------------------
>
>Background
>=========
>
>In some cryptographic systems, asymmetric key-pairs may be
>internally generated in Security Elements (SEs), like Smart Cards.
>For on-line (remote) provisioning of keys to SEs, there is a whish
>by CAs to be able to securely verify that the public key part
>they receive for inclusion in a certificate, indeed was (together
>with its private counterpart), generated inside of a "genuine" SE.
>
>To support this requirement the TrustedComputingGroup's (TCG's)
>Trusted Platform Module (TPM) V1.2 specification features a
>mechanism known as Subject Key Attestation Evidence (SKAE).
>
>Prerequisite: The SE contains an embedded private key and a
>matching public key certificate identifying the SE in some way that
>makes sense for CAs.  The private key is used for signing evidence
>attestations regarding generated key-pairs.
>
>Problem: If the embedded private key of the SE is also to be usable
>for other cryptographic operations, a "hacked" software environment
>could exploit this by creating unprotected key-pairs externally and
>still be able providing CAs with genuine-looking attestation
>evidences.  TCG's solution to this problem is based on the use
>of dedicated key attest keys, specific X.509 certificate extensions,
>and potentially also relying on multiple CA roots.  Although
>working, this scheme appears unnecessary complex for supporting
>a single-purpose key.
>
>Solution
>======
>
>The following steps describe how a simpler form of SKAE,
>purely based on cryptography, could be implemented in an SE.
>
>First you need to restrict the SE key-certifying private key from being
>able to perform unformatted ("blank") RSA decryption
>operations through direct API calls to the SE.
>
>You MAY still allow the key-certifying key creating standard
>PKCS #1 signatures which are useful for many purposes including
>authentication and message integrity.  Encryption operations using
>the public key MAY also be supported.
>
>To support SKAE, the proposal is to create a unique variant of PKCS #1
>signatures that must only be generated during key-generation.
>Such a signature MAY also be created if the SE is explicitly invoked with
>a previously generated public key, unless that would lead
>to key-reuse vulnerabilities.
>
>A unique variant of PKCS #1 could in its simplest form be implemented
>through the use of a non-standard padding pattern.  The hash
>algorithms to use would still be the existing SHA-1 etc.  A verifier
>should then be able to securely distinguish between standard
>signatures and SKAE signatures.  A nonce option would also be
>suitable for inclusion in the signature packet.   On the next pages,
>there is a sample program in Java implementing the proposed
>SKAE scheme.
>
>Although this scheme only describes PKCS #1 (RSA) keys, the
>principles are presumable applicable to other asymmetric key types as
>well including ECDSA.
>
>One might consider the proposed solution as a standards-defying
>"kludge", but the fact is that all current SKAE schemes rely on very
>specific generation and validation code.
>
>The primary target for this invention are mobile phones which are
>likely to be fitted with secure hardware fairly soon, since this
>is more or less a requirement for other purposes as well, most
>notably for Operating System integrity protection.
>
>Side Effect: PoP Becomes Redundant
>==========================
>
>It seems that a properly designed SKAE scheme makes
>Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
>redundant which is an advantage because combining PoP
>signatures with PIN-code provisioning introduces fairly
>awkward state-handling in SEs since the generated private
>key typically must be used before it is fully provisioned.
>
>Anders Rundgren, WebPKI.org, September 15, 2008
>
>Author's address:
>Storbolsäng 50
>740 10 Almunge
>Sweden
>
>Email: anders.rundgren@telia.com
>
>---------------------------------------------------------------------
>
>
>import javax.crypto.Cipher;
>
>import java.security.GeneralSecurityException;
>import java.security.MessageDigest;
>import java.security.PublicKey;
>import java.security.PrivateKey;
>import java.security.KeyPair;
>import java.security.KeyPairGenerator;
>
>import java.security.interfaces.RSAKey;
>
>/**
>  * SKAE (Subject Key Attestation Evidence).  The following J2SE
> compatible code is meant illustrate
>  * the use of SKAE signatures.
>  */
>public class skae
>   {
>     static final String SHA_1            = "SHA-1";
>
>     static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";
>
>     static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00,
> (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
>
>     static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30,
> (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
>                                                        (byte)0x05,
> (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
>                                                        (byte)0x1a,
> (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
>
>
>     /**
>      * Create an SKAE package for signing or verification
>      * @param rsa_key The certifying (attesting) private or public key.
>      * @param certified_public_key The certified (attested) key.
>      * @param optional_nonce An optional "nonce" element.
>      * @return The SKAE package.
>      */
>     public static byte[] createSKAEPackage (RSAKey rsa_key,
>                                             PublicKey certified_public_key,
>                                             byte[] optional_nonce)
>     throws GeneralSecurityException
>       {
>
>////////////////////////////////////////////////////////////////////////////////////////
>         // To make it feasible securely distinguishing standard
> RSASSA-PKCS1.5 signatures     //
>         // from SKAE signatures the latter are packaged in a
> different way which should       //
>         // create errors if processed by a crypto library that does
> not support SKAE.         //
>         // The following shows the packaging differences in
> detail.                           //
>         //
>                            //
>         // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 ||
> T                              //
>         //
>                            //
>         // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S'
> || 'K' || 'A' || 'E' || T  //
>
>////////////////////////////////////////////////////////////////////////////////////////
>         byte[] modulus = rsa_key.getModulus ().toByteArray ();
>         int k = modulus.length;
>         if (modulus[0] == 0) k--;
>         byte[] encoded_message = new byte [k];
>         encoded_message[0] = (byte)0;
>         encoded_message[1] = (byte)1;
>         MessageDigest md = MessageDigest.getInstance (SHA_1);
>         if (optional_nonce != null)
>           {
>             md.update (optional_nonce);
>           }
>         byte[] hash = md.digest (certified_public_key.getEncoded ());
>         int i = k - 2 - PS_END_SEQUENCE.length - hash.length -
> DIGEST_INFO_SHA1.length;
>         int j = 2;
>         while (i-- > 0)
>           {
>             encoded_message[j++] = (byte)0xff;
>           }
>         i = 0;
>         while (i < PS_END_SEQUENCE.length)
>           {
>             encoded_message[j++] = PS_END_SEQUENCE[i++];
>           }
>         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j,
> DIGEST_INFO_SHA1.length);
>         System.arraycopy (hash, 0, encoded_message, j +
> DIGEST_INFO_SHA1.length, hash.length);
>         return encoded_message;
>       }
>
>
>
>    /**
>      * Verify an SKAE signature
>      * @param skae_signature The signature to be verified.
>      * @param certifying_public_key The certifying (attesting) public key.
>      * @param certified_public_key The certified (attested) key.
>      * @param optional_nonce An optional "nonce" element.
>      * @throws GeneralSecurityException if the signature is invalid
> or indata is incorrect.
>      */
>     public static void verifySKAESignature (byte[] skae_signature,
>                                             PublicKey certifying_public_key,
>                                             PublicKey certified_public_key,
>                                             byte[] optional_nonce)
>     throws GeneralSecurityException
>       {
>         Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
>         byte[] received_signature_package = cipher.doFinal (skae_signature);
>         byte[] reference_signature_package = createSKAEPackage
> ((RSAKey)certifying_public_key,
>
>certified_public_key,
>
>optional_nonce);
>         if (reference_signature_package.length !=
> received_signature_package.length)
>           {
>             throw new GeneralSecurityException ("Signature package
> length error");
>           }
>         for (int i = 0; i < received_signature_package.length ; i++)
>           {
>             if (received_signature_package[i] !=
> reference_signature_package[i])
>               {
>                 // A more comprehensive diagnostic would be preferable...
>                 throw new GeneralSecurityException ("Signature
> package content error");
>               }
>           }
>       }
>
>
>     public static class GeneratedKey
>       {
>         PublicKey certified_public_key;
>         PublicKey certifying_public_key;
>         byte[] skae_signature;
>       }
>
>
>     public static class SecurityElement
>       {
>         PublicKey certifying_public_key;
>
>         private PrivateKey certifying_private_key;
>
>         public SecurityElement () throws GeneralSecurityException
>           {
>             /////////////////////////////////////////////////////////////////
>             // Key-certifying keys are typically created once during       //
>             // device manufacturing. The public key part is also most      //
>             // likely distributed in an X.509 certificate issued by a CA   //
>             // setup specifically for certifying crypto hardware.          //
>             // That is, the following lines are just for showing the       //
>             // cryptography, without any infrastructural considerations.   //
>             /////////////////////////////////////////////////////////////////
>             KeyPairGenerator certifier =
> KeyPairGenerator.getInstance ("RSA");
>             certifier.initialize (2048);
>             KeyPair certifying_key_pair = certifier.generateKeyPair ();
>             certifying_public_key = certifying_key_pair.getPublic ();
>             certifying_private_key = certifying_key_pair.getPrivate ();
>           }
>
>
>         /**
>          * Create a certified key-pair.
>          * @param size The size of the RSA key.
>          * @param optional_nonce An optional "nonce" element.
>          * @return A container with a generated public key and
> attesting signature.
>          */
>         public GeneratedKey generateCertifiedKeyPair (int size,
> byte[] optional_nonce)
>         throws GeneralSecurityException
>           {
>             /////////////////////////////////////////////////////////////////
>             // Generate a new key-pair in the Security Element.  The       //
>             // private key is presumably stored securely in hardware and   //
>             // never leave its container, unless "sealed" by the latter.   //
>             /////////////////////////////////////////////////////////////////
>             KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
>             kpg.initialize (size);
>             KeyPair new_key_pair = kpg.generateKeyPair ();
>
>             /////////////////////////////////////////////////////////////////
>             // Now let the Security Element attest that the new key-pair   //
>             // actually was created inside of the Security Element.        //
>             //                                                             //
>             // NOTE 1: The Security Element MUST NOT expose an API that    //
>             // allows unformatted RSA decryptions like used below to be    //
>             // performed with the key-certifying key, otherwise "malware"  //
>             // could easily create fake attestations for any externally    //
>             // supplied key-pair!                                          //
>             //                                                             //
>             // NOTE 2: Due to the fact that SKAE signatures are only to    //
>             // be created for generated keys, the key-certifying key MAY   //
>             // also be used for creating ordinary PKCS1.5 signatures for   //
>             // things like authentications and securing message integrity  //
>             /////////////////////////////////////////////////////////////////
>             GeneratedKey gk = new GeneratedKey ();
>             gk.certified_public_key = new_key_pair.getPublic ();
>             Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
>             gk.skae_signature = cipher.doFinal (createSKAEPackage
> ((RSAKey)certifying_private_key,
>
>gk.certified_public_key,
>
>optional_nonce));
>             gk.certifying_public_key = certifying_public_key;
>             return gk;
>           }
>       }
>
>
>     public static void main (String[] args) throws Exception
>       {
>
>         /////////////////////////////////////////////////////////////////
>         //                                                             //
>         //                     CLIENT Operations                       //
>         //                                                             //
>         // It is assumed that the critical operations are performed    //
>         // inside of the Security Element, otherwise attestations      //
>         // would not be more trustworthy than the environment where    //
>         // the Security Element is actually running in!                //
>         /////////////////////////////////////////////////////////////////
>         SecurityElement se = new SecurityElement ();
>
>         /////////////////////////////////////////////////////////////////
>         // Generate a new key-pair in the Security Element.  The       //
>         // private key is presumably stored securely in hardware and   //
>         // never leave its container, unless "sealed" by the latter.   //
>         /////////////////////////////////////////////////////////////////
>         byte[] nonce = null; // Didn't use a nonce in the sample run
>         GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);
>
>         /////////////////////////////////////////////////////////////////
>         //                                                             //
>         //                     VERIFIER Operations                     //
>         //                                                             //
>         // The certifying public key is supposed to be transferred to  //
>         // the verifier by some kind of protocol, together with the    //
>         // SKAE-signature, certified public key, and the optional      //
>         // nonce.  A nonce (if used) would preferably be created by    //
>         // the verifier during an earlier (not shown) protocol phase.  //
>         /////////////////////////////////////////////////////////////////
>         verifySKAESignature (gk.skae_signature,
>                              gk.certifying_public_key,
>                              gk.certified_public_key,
>                              nonce);
>
>         System.out.println ("The SKAE signature appears to be valid!");
>       }
>
>   }



From owner-ietf-smime@mail.imc.org  Fri Sep 19 09:32:49 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3315A3A6987
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 19 Sep 2008 09:32:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.399
X-Spam-Level: 
X-Spam-Status: No, score=-5.399 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, J_CHICKENPOX_26=0.6, J_CHICKENPOX_46=0.6,
	RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id N-JBGa9KMSlH
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 19 Sep 2008 09:32:47 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 43D393A68FE
	for <smime-archive@ietf.org>; Fri, 19 Sep 2008 09:32:46 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGF6LO066060
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 19 Sep 2008 09:15:06 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JGF6oj066059;
	Fri, 19 Sep 2008 09:15:06 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp-bedford.mitre.org (smtp-bedford.mitre.org [129.83.20.191])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGF4kr066052
	for <ietf-smime@imc.org>; Fri, 19 Sep 2008 09:15:05 -0700 (MST)
	(envelope-from tmiller@mitre.org)
Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1])
	by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8JGF42U026537
	for <ietf-smime@imc.org>; Fri, 19 Sep 2008 12:15:04 -0400
Received: from imchub1.MITRE.ORG (imchub1.mitre.org [129.83.29.73])
	by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8JGF4QY026533;
	Fri, 19 Sep 2008 12:15:04 -0400
Received: from [129.83.200.30] (129.83.200.30) by imchub1.MITRE.ORG
 (129.83.29.73) with Microsoft SMTP Server (TLS) id 8.1.278.0; Fri, 19 Sep
 2008 12:15:04 -0400
Message-ID: <48D3D002.7030108@mitre.org>
Date: Fri, 19 Sep 2008 11:14:58 -0500
From: "Timothy J. Miller" <tmiller@mitre.org>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: Anders Rundgren <anders.rundgren@telia.com>
CC: <ietf-smime@imc.org>, Russ Housley <housley@vigilsec.com>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v>
In-Reply-To: <024501c91a6b$fd73d720$82c5a8c0@arport2v>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
	micalg=sha1; boundary="------------ms040700020709040103040109"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--------------ms040700020709040103040109
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

I'm curious--don't most token management systems tackle the same issue=20
by establishing a secure channel with the token (using the token key=20
encryption key, provisioned at manufacture)?

-- Tim

Anders Rundgren wrote:
> Well, maybe I formulated the message bad but I don't
> claim any IPR and the idea was that nobody else should
> be able to do it either since patents in large-scale Open Source
> projects don't work well.  My (maybe naive) hope was that
> a public disclosure in "authoritative places" would put the
> idea in the public domain.  I'm not aware of that this
> concept is featured in any RFC or work-in-progress
> except for in KeyGen2 (which is not going to be RFCed
> until it is/becomes firmly established).
>=20
> Regards
> Anders
>=20
> ----- Original Message -----=20
> From: "Russ Housley" <housley@vigilsec.com>
> To: "Anders Rundgren" <anders.rundgren@telia.com>; <ietf-smime@imc.org>=

> Sent: Friday, September 19, 2008 16:25
> Subject: Re: Subject Key Attestation Evidence "light" - Invention Discl=
osure
>=20
>=20
> Please file a formal IPR statement on the IETF web site, especially
> if you believe that this invention is related to any RFC or
> Internet-Draft.  The URL for IPR statements is:
> https://datatracker.ietf.org/ipr/about/
>=20
> Thanks,
>    Russ
>=20
> At 03:46 AM 9/19/2008, Anders Rundgren wrote:
>=20
>> The following may be prior art, or be common knowledge. It may
>> even be a bad idea.  However, the publishing was only done
>> in order to thwart possible future IPR claims.  If the principle
>> is already patented, I would appreciate more information
>> if possible.  The concept described is primarily intended for usage
>> with mobile phones having embedded crypto hardware which should
>> be the majority within 5-10 years from now, since crypto hardware is
>> close to a requirement for making secure operating systems.
>> In case you find the mail version hard to read, there is a PDF with
>> the same content available:
>> http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__=
InventionDisclosure.pdf
>>
>> The decribed scheme is an intrinsic part of the KeyGen2 universal
>> key-provisioning protocol:
>> http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
>>
>> SKAE "light" - Invention Disclosure
>> ------------------------------------
>>
>> Background
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>> In some cryptographic systems, asymmetric key-pairs may be
>> internally generated in Security Elements (SEs), like Smart Cards.
>> For on-line (remote) provisioning of keys to SEs, there is a whish
>> by CAs to be able to securely verify that the public key part
>> they receive for inclusion in a certificate, indeed was (together
>> with its private counterpart), generated inside of a "genuine" SE.
>>
>> To support this requirement the TrustedComputingGroup's (TCG's)
>> Trusted Platform Module (TPM) V1.2 specification features a
>> mechanism known as Subject Key Attestation Evidence (SKAE).
>>
>> Prerequisite: The SE contains an embedded private key and a
>> matching public key certificate identifying the SE in some way that
>> makes sense for CAs.  The private key is used for signing evidence
>> attestations regarding generated key-pairs.
>>
>> Problem: If the embedded private key of the SE is also to be usable
>> for other cryptographic operations, a "hacked" software environment
>> could exploit this by creating unprotected key-pairs externally and
>> still be able providing CAs with genuine-looking attestation
>> evidences.  TCG's solution to this problem is based on the use
>> of dedicated key attest keys, specific X.509 certificate extensions,
>> and potentially also relying on multiple CA roots.  Although
>> working, this scheme appears unnecessary complex for supporting
>> a single-purpose key.
>>
>> Solution
>> =3D=3D=3D=3D=3D=3D
>>
>> The following steps describe how a simpler form of SKAE,
>> purely based on cryptography, could be implemented in an SE.
>>
>> First you need to restrict the SE key-certifying private key from bein=
g
>> able to perform unformatted ("blank") RSA decryption
>> operations through direct API calls to the SE.
>>
>> You MAY still allow the key-certifying key creating standard
>> PKCS #1 signatures which are useful for many purposes including
>> authentication and message integrity.  Encryption operations using
>> the public key MAY also be supported.
>>
>> To support SKAE, the proposal is to create a unique variant of PKCS #1=

>> signatures that must only be generated during key-generation.
>> Such a signature MAY also be created if the SE is explicitly invoked w=
ith
>> a previously generated public key, unless that would lead
>> to key-reuse vulnerabilities.
>>
>> A unique variant of PKCS #1 could in its simplest form be implemented
>> through the use of a non-standard padding pattern.  The hash
>> algorithms to use would still be the existing SHA-1 etc.  A verifier
>> should then be able to securely distinguish between standard
>> signatures and SKAE signatures.  A nonce option would also be
>> suitable for inclusion in the signature packet.   On the next pages,
>> there is a sample program in Java implementing the proposed
>> SKAE scheme.
>>
>> Although this scheme only describes PKCS #1 (RSA) keys, the
>> principles are presumable applicable to other asymmetric key types as
>> well including ECDSA.
>>
>> One might consider the proposed solution as a standards-defying
>> "kludge", but the fact is that all current SKAE schemes rely on very
>> specific generation and validation code.
>>
>> The primary target for this invention are mobile phones which are
>> likely to be fitted with secure hardware fairly soon, since this
>> is more or less a requirement for other purposes as well, most
>> notably for Operating System integrity protection.
>>
>> Side Effect: PoP Becomes Redundant
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
>>
>> It seems that a properly designed SKAE scheme makes
>> Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
>> redundant which is an advantage because combining PoP
>> signatures with PIN-code provisioning introduces fairly
>> awkward state-handling in SEs since the generated private
>> key typically must be used before it is fully provisioned.
>>
>> Anders Rundgren, WebPKI.org, September 15, 2008
>>
>> Author's address:
>> Storbols=E4ng 50
>> 740 10 Almunge
>> Sweden
>>
>> Email: anders.rundgren@telia.com
>>
>> ---------------------------------------------------------------------
>>
>>
>> import javax.crypto.Cipher;
>>
>> import java.security.GeneralSecurityException;
>> import java.security.MessageDigest;
>> import java.security.PublicKey;
>> import java.security.PrivateKey;
>> import java.security.KeyPair;
>> import java.security.KeyPairGenerator;
>>
>> import java.security.interfaces.RSAKey;
>>
>> /**
>>  * SKAE (Subject Key Attestation Evidence).  The following J2SE
>> compatible code is meant illustrate
>>  * the use of SKAE signatures.
>>  */
>> public class skae
>>   {
>>     static final String SHA_1            =3D "SHA-1";
>>
>>     static final String UNFORMATTED_RSA  =3D "RSA/ECB/NoPadding";
>>
>>     static final byte[] PS_END_SEQUENCE  =3D new byte[] {(byte)0x00,
>> (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
>>
>>     static final byte[] DIGEST_INFO_SHA1 =3D new byte[] {(byte)0x30,
>> (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
>>                                                        (byte)0x05,
>> (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
>>                                                        (byte)0x1a,
>> (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
>>
>>
>>     /**
>>      * Create an SKAE package for signing or verification
>>      * @param rsa_key The certifying (attesting) private or public key=
=2E
>>      * @param certified_public_key The certified (attested) key.
>>      * @param optional_nonce An optional "nonce" element.
>>      * @return The SKAE package.
>>      */
>>     public static byte[] createSKAEPackage (RSAKey rsa_key,
>>                                             PublicKey certified_public=
_key,
>>                                             byte[] optional_nonce)
>>     throws GeneralSecurityException
>>       {
>>
>> //////////////////////////////////////////////////////////////////////=
//////////////////
>>         // To make it feasible securely distinguishing standard
>> RSASSA-PKCS1.5 signatures     //
>>         // from SKAE signatures the latter are packaged in a
>> different way which should       //
>>         // create errors if processed by a crypto library that does
>> not support SKAE.         //
>>         // The following shows the packaging differences in
>> detail.                           //
>>         //
>>                            //
>>         // EMSA-PKCS1-v1_5: EM =3D 0x00 || 0x01 || PS || 0x00 ||
>> T                              //
>>         //
>>                            //
>>         // EM-PKCS1-SKAE:   EM =3D 0x00 || 0x01 || PS || 0x00 || 'S'
>> || 'K' || 'A' || 'E' || T  //
>>
>> //////////////////////////////////////////////////////////////////////=
//////////////////
>>         byte[] modulus =3D rsa_key.getModulus ().toByteArray ();
>>         int k =3D modulus.length;
>>         if (modulus[0] =3D=3D 0) k--;
>>         byte[] encoded_message =3D new byte [k];
>>         encoded_message[0] =3D (byte)0;
>>         encoded_message[1] =3D (byte)1;
>>         MessageDigest md =3D MessageDigest.getInstance (SHA_1);
>>         if (optional_nonce !=3D null)
>>           {
>>             md.update (optional_nonce);
>>           }
>>         byte[] hash =3D md.digest (certified_public_key.getEncoded ())=
;
>>         int i =3D k - 2 - PS_END_SEQUENCE.length - hash.length -
>> DIGEST_INFO_SHA1.length;
>>         int j =3D 2;
>>         while (i-- > 0)
>>           {
>>             encoded_message[j++] =3D (byte)0xff;
>>           }
>>         i =3D 0;
>>         while (i < PS_END_SEQUENCE.length)
>>           {
>>             encoded_message[j++] =3D PS_END_SEQUENCE[i++];
>>           }
>>         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j,
>> DIGEST_INFO_SHA1.length);
>>         System.arraycopy (hash, 0, encoded_message, j +
>> DIGEST_INFO_SHA1.length, hash.length);
>>         return encoded_message;
>>       }
>>
>>
>>
>>    /**
>>      * Verify an SKAE signature
>>      * @param skae_signature The signature to be verified.
>>      * @param certifying_public_key The certifying (attesting) public =
key.
>>      * @param certified_public_key The certified (attested) key.
>>      * @param optional_nonce An optional "nonce" element.
>>      * @throws GeneralSecurityException if the signature is invalid
>> or indata is incorrect.
>>      */
>>     public static void verifySKAESignature (byte[] skae_signature,
>>                                             PublicKey certifying_publi=
c_key,
>>                                             PublicKey certified_public=
_key,
>>                                             byte[] optional_nonce)
>>     throws GeneralSecurityException
>>       {
>>         Cipher cipher =3D Cipher.getInstance (UNFORMATTED_RSA);
>>         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
>>         byte[] received_signature_package =3D cipher.doFinal (skae_sig=
nature);
>>         byte[] reference_signature_package =3D createSKAEPackage
>> ((RSAKey)certifying_public_key,
>>
>> certified_public_key,
>>
>> optional_nonce);
>>         if (reference_signature_package.length !=3D
>> received_signature_package.length)
>>           {
>>             throw new GeneralSecurityException ("Signature package
>> length error");
>>           }
>>         for (int i =3D 0; i < received_signature_package.length ; i++)=

>>           {
>>             if (received_signature_package[i] !=3D
>> reference_signature_package[i])
>>               {
>>                 // A more comprehensive diagnostic would be preferable=
=2E..
>>                 throw new GeneralSecurityException ("Signature
>> package content error");
>>               }
>>           }
>>       }
>>
>>
>>     public static class GeneratedKey
>>       {
>>         PublicKey certified_public_key;
>>         PublicKey certifying_public_key;
>>         byte[] skae_signature;
>>       }
>>
>>
>>     public static class SecurityElement
>>       {
>>         PublicKey certifying_public_key;
>>
>>         private PrivateKey certifying_private_key;
>>
>>         public SecurityElement () throws GeneralSecurityException
>>           {
>>             //////////////////////////////////////////////////////////=
///////
>>             // Key-certifying keys are typically created once during  =
     //
>>             // device manufacturing. The public key part is also most =
     //
>>             // likely distributed in an X.509 certificate issued by a =
CA   //
>>             // setup specifically for certifying crypto hardware.     =
     //
>>             // That is, the following lines are just for showing the  =
     //
>>             // cryptography, without any infrastructural consideration=
s.   //
>>             //////////////////////////////////////////////////////////=
///////
>>             KeyPairGenerator certifier =3D
>> KeyPairGenerator.getInstance ("RSA");
>>             certifier.initialize (2048);
>>             KeyPair certifying_key_pair =3D certifier.generateKeyPair =
();
>>             certifying_public_key =3D certifying_key_pair.getPublic ()=
;
>>             certifying_private_key =3D certifying_key_pair.getPrivate =
();
>>           }
>>
>>
>>         /**
>>          * Create a certified key-pair.
>>          * @param size The size of the RSA key.
>>          * @param optional_nonce An optional "nonce" element.
>>          * @return A container with a generated public key and
>> attesting signature.
>>          */
>>         public GeneratedKey generateCertifiedKeyPair (int size,
>> byte[] optional_nonce)
>>         throws GeneralSecurityException
>>           {
>>             //////////////////////////////////////////////////////////=
///////
>>             // Generate a new key-pair in the Security Element.  The  =
     //
>>             // private key is presumably stored securely in hardware a=
nd   //
>>             // never leave its container, unless "sealed" by the latte=
r.   //
>>             //////////////////////////////////////////////////////////=
///////
>>             KeyPairGenerator kpg =3D KeyPairGenerator.getInstance ("RS=
A");
>>             kpg.initialize (size);
>>             KeyPair new_key_pair =3D kpg.generateKeyPair ();
>>
>>             //////////////////////////////////////////////////////////=
///////
>>             // Now let the Security Element attest that the new key-pa=
ir   //
>>             // actually was created inside of the Security Element.   =
     //
>>             //                                                        =
     //
>>             // NOTE 1: The Security Element MUST NOT expose an API tha=
t    //
>>             // allows unformatted RSA decryptions like used below to b=
e    //
>>             // performed with the key-certifying key, otherwise "malwa=
re"  //
>>             // could easily create fake attestations for any externall=
y    //
>>             // supplied key-pair!                                     =
     //
>>             //                                                        =
     //
>>             // NOTE 2: Due to the fact that SKAE signatures are only t=
o    //
>>             // be created for generated keys, the key-certifying key M=
AY   //
>>             // also be used for creating ordinary PKCS1.5 signatures f=
or   //
>>             // things like authentications and securing message integr=
ity  //
>>             //////////////////////////////////////////////////////////=
///////
>>             GeneratedKey gk =3D new GeneratedKey ();
>>             gk.certified_public_key =3D new_key_pair.getPublic ();
>>             Cipher cipher =3D Cipher.getInstance (UNFORMATTED_RSA);
>>             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);=

>>             gk.skae_signature =3D cipher.doFinal (createSKAEPackage
>> ((RSAKey)certifying_private_key,
>>
>> gk.certified_public_key,
>>
>> optional_nonce));
>>             gk.certifying_public_key =3D certifying_public_key;
>>             return gk;
>>           }
>>       }
>>
>>
>>     public static void main (String[] args) throws Exception
>>       {
>>
>>         //////////////////////////////////////////////////////////////=
///
>>         //                                                            =
 //
>>         //                     CLIENT Operations                      =
 //
>>         //                                                            =
 //
>>         // It is assumed that the critical operations are performed   =
 //
>>         // inside of the Security Element, otherwise attestations     =
 //
>>         // would not be more trustworthy than the environment where   =
 //
>>         // the Security Element is actually running in!               =
 //
>>         //////////////////////////////////////////////////////////////=
///
>>         SecurityElement se =3D new SecurityElement ();
>>
>>         //////////////////////////////////////////////////////////////=
///
>>         // Generate a new key-pair in the Security Element.  The      =
 //
>>         // private key is presumably stored securely in hardware and  =
 //
>>         // never leave its container, unless "sealed" by the latter.  =
 //
>>         //////////////////////////////////////////////////////////////=
///
>>         byte[] nonce =3D null; // Didn't use a nonce in the sample run=

>>         GeneratedKey gk =3D se.generateCertifiedKeyPair (1024, nonce);=

>>
>>         //////////////////////////////////////////////////////////////=
///
>>         //                                                            =
 //
>>         //                     VERIFIER Operations                    =
 //
>>         //                                                            =
 //
>>         // The certifying public key is supposed to be transferred to =
 //
>>         // the verifier by some kind of protocol, together with the   =
 //
>>         // SKAE-signature, certified public key, and the optional     =
 //
>>         // nonce.  A nonce (if used) would preferably be created by   =
 //
>>         // the verifier during an earlier (not shown) protocol phase. =
 //
>>         //////////////////////////////////////////////////////////////=
///
>>         verifySKAESignature (gk.skae_signature,
>>                              gk.certifying_public_key,
>>                              gk.certified_public_key,
>>                              nonce);
>>
>>         System.out.println ("The SKAE signature appears to be valid!")=
;
>>       }
>>
>>   }
>=20



--------------ms040700020709040103040109
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKvjCC
A2cwggJPoAMCAQICAh8FMA0GCSqGSIb3DQEBBQUAMF0xEjAQBgNVBAoTCW1pdHJlLm9yZzEe
MBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQDEx5NSVRSRSBDb3Jwb3Jh
dGlvbiBQcmltYXJ5IENBLTEwHhcNMDgwODIxMTUzMTI5WhcNMTAwMjEyMTUzMTI5WjBaMRIw
EAYDVQQKEwltaXRyZS5vcmcxDzANBgNVBAsTBnBlb3BsZTEXMBUGCgmSJomT8ixkAQETB3Rt
aWxsZXIxGjAYBgNVBAMTEU1pbGxlciBUa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ZPXKibw0290l2qOZ0UW
0QjgMSaxOH2dbe7DdYygNzdwfnCd6ThHkD37ZIW0AAAAAAAA
--------------ms040700020709040103040109--



From owner-ietf-smime@mail.imc.org  Fri Sep 19 09:58:58 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 452923A6994
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 19 Sep 2008 09:58:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.006
X-Spam-Level: 
X-Spam-Status: No, score=-1.006 tagged_above=-999 required=5 tests=[AWL=0.393,
	BAYES_00=-2.599, J_CHICKENPOX_26=0.6, J_CHICKENPOX_46=0.6]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 7+SA4GLJ8VxE
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 19 Sep 2008 09:58:52 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 932A23A6987
	for <smime-archive@ietf.org>; Fri, 19 Sep 2008 09:58:51 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGfhFL067747
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 19 Sep 2008 09:41:43 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JGfhYO067746;
	Fri, 19 Sep 2008 09:41:43 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGfWuR067731
	for <ietf-smime@imc.org>; Fri, 19 Sep 2008 09:41:42 -0700 (MST)
	(envelope-from anders.rundgren@telia.com)
Received: from arport2v (81.232.45.215) by pne-smtpout1-sn1.fre.skanova.net (7.3.129) (authenticated as u18116613)
        id 47A9795003C65C65; Fri, 19 Sep 2008 18:41:31 +0200
Message-ID: <02bf01c91a76$91ac48a0$82c5a8c0@arport2v>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: "Timothy J. Miller" <tmiller@mitre.org>
Cc: <ietf-smime@imc.org>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v> <48D3D002.7030108@mitre.org>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
Date: Fri, 19 Sep 2008 18:41:30 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


I believe that on-line (remote) key-provisioning as featured in
existing standards has a long way to go before it can be used
for example for PIV issuance (which may be infeasible for other
less technical reasons as well).  None of the existing systems
available in Internet browsers like Mozilla's generateCRMFRequest
support even the most humble functionality like setting PIN
code policies.

Getting back to the original issue, the problem that the described
solution as well as the TCG counterpart tries to solve is really mainly
related to the local software environment.  Secure channels are
great but do not address malware since the channel's client endpoint
is typically megabytes (of middleware code) away from the actual
hardware container.

Anders

----- Original Message ----- 
From: "Timothy J. Miller" <tmiller@mitre.org>
To: "Anders Rundgren" <anders.rundgren@telia.com>
Cc: <ietf-smime@imc.org>; "Russ Housley" <housley@vigilsec.com>
Sent: Friday, September 19, 2008 18:14
Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure


I'm curious--don't most token management systems tackle the same issue
by establishing a secure channel with the token (using the token key
encryption key, provisioned at manufacture)?

-- Tim

Anders Rundgren wrote:
> Well, maybe I formulated the message bad but I don't
> claim any IPR and the idea was that nobody else should
> be able to do it either since patents in large-scale Open Source
> projects don't work well.  My (maybe naive) hope was that
> a public disclosure in "authoritative places" would put the
> idea in the public domain.  I'm not aware of that this
> concept is featured in any RFC or work-in-progress
> except for in KeyGen2 (which is not going to be RFCed
> until it is/becomes firmly established).
>
> Regards
> Anders
>
> ----- Original Message ----- 
> From: "Russ Housley" <housley@vigilsec.com>
> To: "Anders Rundgren" <anders.rundgren@telia.com>; <ietf-smime@imc.org>
> Sent: Friday, September 19, 2008 16:25
> Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure
>
>
> Please file a formal IPR statement on the IETF web site, especially
> if you believe that this invention is related to any RFC or
> Internet-Draft.  The URL for IPR statements is:
> https://datatracker.ietf.org/ipr/about/
>
> Thanks,
>    Russ
>
> At 03:46 AM 9/19/2008, Anders Rundgren wrote:
>
>> The following may be prior art, or be common knowledge. It may
>> even be a bad idea.  However, the publishing was only done
>> in order to thwart possible future IPR claims.  If the principle
>> is already patented, I would appreciate more information
>> if possible.  The concept described is primarily intended for usage
>> with mobile phones having embedded crypto hardware which should
>> be the majority within 5-10 years from now, since crypto hardware is
>> close to a requirement for making secure operating systems.
>> In case you find the mail version hard to read, there is a PDF with
>> the same content available:
>> http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__InventionDisclosure.pdf
>>
>> The decribed scheme is an intrinsic part of the KeyGen2 universal
>> key-provisioning protocol:
>> http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
>>
>> SKAE "light" - Invention Disclosure
>> ------------------------------------
>>
>> Background
>> =========
>>
>> In some cryptographic systems, asymmetric key-pairs may be
>> internally generated in Security Elements (SEs), like Smart Cards.
>> For on-line (remote) provisioning of keys to SEs, there is a whish
>> by CAs to be able to securely verify that the public key part
>> they receive for inclusion in a certificate, indeed was (together
>> with its private counterpart), generated inside of a "genuine" SE.
>>
>> To support this requirement the TrustedComputingGroup's (TCG's)
>> Trusted Platform Module (TPM) V1.2 specification features a
>> mechanism known as Subject Key Attestation Evidence (SKAE).
>>
>> Prerequisite: The SE contains an embedded private key and a
>> matching public key certificate identifying the SE in some way that
>> makes sense for CAs.  The private key is used for signing evidence
>> attestations regarding generated key-pairs.
>>
>> Problem: If the embedded private key of the SE is also to be usable
>> for other cryptographic operations, a "hacked" software environment
>> could exploit this by creating unprotected key-pairs externally and
>> still be able providing CAs with genuine-looking attestation
>> evidences.  TCG's solution to this problem is based on the use
>> of dedicated key attest keys, specific X.509 certificate extensions,
>> and potentially also relying on multiple CA roots.  Although
>> working, this scheme appears unnecessary complex for supporting
>> a single-purpose key.
>>
>> Solution
>> ======
>>
>> The following steps describe how a simpler form of SKAE,
>> purely based on cryptography, could be implemented in an SE.
>>
>> First you need to restrict the SE key-certifying private key from being
>> able to perform unformatted ("blank") RSA decryption
>> operations through direct API calls to the SE.
>>
>> You MAY still allow the key-certifying key creating standard
>> PKCS #1 signatures which are useful for many purposes including
>> authentication and message integrity.  Encryption operations using
>> the public key MAY also be supported.
>>
>> To support SKAE, the proposal is to create a unique variant of PKCS #1
>> signatures that must only be generated during key-generation.
>> Such a signature MAY also be created if the SE is explicitly invoked with
>> a previously generated public key, unless that would lead
>> to key-reuse vulnerabilities.
>>
>> A unique variant of PKCS #1 could in its simplest form be implemented
>> through the use of a non-standard padding pattern.  The hash
>> algorithms to use would still be the existing SHA-1 etc.  A verifier
>> should then be able to securely distinguish between standard
>> signatures and SKAE signatures.  A nonce option would also be
>> suitable for inclusion in the signature packet.   On the next pages,
>> there is a sample program in Java implementing the proposed
>> SKAE scheme.
>>
>> Although this scheme only describes PKCS #1 (RSA) keys, the
>> principles are presumable applicable to other asymmetric key types as
>> well including ECDSA.
>>
>> One might consider the proposed solution as a standards-defying
>> "kludge", but the fact is that all current SKAE schemes rely on very
>> specific generation and validation code.
>>
>> The primary target for this invention are mobile phones which are
>> likely to be fitted with secure hardware fairly soon, since this
>> is more or less a requirement for other purposes as well, most
>> notably for Operating System integrity protection.
>>
>> Side Effect: PoP Becomes Redundant
>> ==========================
>>
>> It seems that a properly designed SKAE scheme makes
>> Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
>> redundant which is an advantage because combining PoP
>> signatures with PIN-code provisioning introduces fairly
>> awkward state-handling in SEs since the generated private
>> key typically must be used before it is fully provisioned.
>>
>> Anders Rundgren, WebPKI.org, September 15, 2008
>>
>> Author's address:
>> Storbolsäng 50
>> 740 10 Almunge
>> Sweden
>>
>> Email: anders.rundgren@telia.com
>>
>> ---------------------------------------------------------------------
>>
>>
>> import javax.crypto.Cipher;
>>
>> import java.security.GeneralSecurityException;
>> import java.security.MessageDigest;
>> import java.security.PublicKey;
>> import java.security.PrivateKey;
>> import java.security.KeyPair;
>> import java.security.KeyPairGenerator;
>>
>> import java.security.interfaces.RSAKey;
>>
>> /**
>>  * SKAE (Subject Key Attestation Evidence).  The following J2SE
>> compatible code is meant illustrate
>>  * the use of SKAE signatures.
>>  */
>> public class skae
>>   {
>>     static final String SHA_1            = "SHA-1";
>>
>>     static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";
>>
>>     static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00,
>> (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
>>
>>     static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30,
>> (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
>>                                                        (byte)0x05,
>> (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
>>                                                        (byte)0x1a,
>> (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
>>
>>
>>     /**
>>      * Create an SKAE package for signing or verification
>>      * @param rsa_key The certifying (attesting) private or public key.
>>      * @param certified_public_key The certified (attested) key.
>>      * @param optional_nonce An optional "nonce" element.
>>      * @return The SKAE package.
>>      */
>>     public static byte[] createSKAEPackage (RSAKey rsa_key,
>>                                             PublicKey certified_public_key,
>>                                             byte[] optional_nonce)
>>     throws GeneralSecurityException
>>       {
>>
>> ////////////////////////////////////////////////////////////////////////////////////////
>>         // To make it feasible securely distinguishing standard
>> RSASSA-PKCS1.5 signatures     //
>>         // from SKAE signatures the latter are packaged in a
>> different way which should       //
>>         // create errors if processed by a crypto library that does
>> not support SKAE.         //
>>         // The following shows the packaging differences in
>> detail.                           //
>>         //
>>                            //
>>         // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 ||
>> T                              //
>>         //
>>                            //
>>         // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S'
>> || 'K' || 'A' || 'E' || T  //
>>
>> ////////////////////////////////////////////////////////////////////////////////////////
>>         byte[] modulus = rsa_key.getModulus ().toByteArray ();
>>         int k = modulus.length;
>>         if (modulus[0] == 0) k--;
>>         byte[] encoded_message = new byte [k];
>>         encoded_message[0] = (byte)0;
>>         encoded_message[1] = (byte)1;
>>         MessageDigest md = MessageDigest.getInstance (SHA_1);
>>         if (optional_nonce != null)
>>           {
>>             md.update (optional_nonce);
>>           }
>>         byte[] hash = md.digest (certified_public_key.getEncoded ());
>>         int i = k - 2 - PS_END_SEQUENCE.length - hash.length -
>> DIGEST_INFO_SHA1.length;
>>         int j = 2;
>>         while (i-- > 0)
>>           {
>>             encoded_message[j++] = (byte)0xff;
>>           }
>>         i = 0;
>>         while (i < PS_END_SEQUENCE.length)
>>           {
>>             encoded_message[j++] = PS_END_SEQUENCE[i++];
>>           }
>>         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j,
>> DIGEST_INFO_SHA1.length);
>>         System.arraycopy (hash, 0, encoded_message, j +
>> DIGEST_INFO_SHA1.length, hash.length);
>>         return encoded_message;
>>       }
>>
>>
>>
>>    /**
>>      * Verify an SKAE signature
>>      * @param skae_signature The signature to be verified.
>>      * @param certifying_public_key The certifying (attesting) public key.
>>      * @param certified_public_key The certified (attested) key.
>>      * @param optional_nonce An optional "nonce" element.
>>      * @throws GeneralSecurityException if the signature is invalid
>> or indata is incorrect.
>>      */
>>     public static void verifySKAESignature (byte[] skae_signature,
>>                                             PublicKey certifying_public_key,
>>                                             PublicKey certified_public_key,
>>                                             byte[] optional_nonce)
>>     throws GeneralSecurityException
>>       {
>>         Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>>         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
>>         byte[] received_signature_package = cipher.doFinal (skae_signature);
>>         byte[] reference_signature_package = createSKAEPackage
>> ((RSAKey)certifying_public_key,
>>
>> certified_public_key,
>>
>> optional_nonce);
>>         if (reference_signature_package.length !=
>> received_signature_package.length)
>>           {
>>             throw new GeneralSecurityException ("Signature package
>> length error");
>>           }
>>         for (int i = 0; i < received_signature_package.length ; i++)
>>           {
>>             if (received_signature_package[i] !=
>> reference_signature_package[i])
>>               {
>>                 // A more comprehensive diagnostic would be preferable...
>>                 throw new GeneralSecurityException ("Signature
>> package content error");
>>               }
>>           }
>>       }
>>
>>
>>     public static class GeneratedKey
>>       {
>>         PublicKey certified_public_key;
>>         PublicKey certifying_public_key;
>>         byte[] skae_signature;
>>       }
>>
>>
>>     public static class SecurityElement
>>       {
>>         PublicKey certifying_public_key;
>>
>>         private PrivateKey certifying_private_key;
>>
>>         public SecurityElement () throws GeneralSecurityException
>>           {
>>             /////////////////////////////////////////////////////////////////
>>             // Key-certifying keys are typically created once during       //
>>             // device manufacturing. The public key part is also most      //
>>             // likely distributed in an X.509 certificate issued by a CA   //
>>             // setup specifically for certifying crypto hardware.          //
>>             // That is, the following lines are just for showing the       //
>>             // cryptography, without any infrastructural considerations.   //
>>             /////////////////////////////////////////////////////////////////
>>             KeyPairGenerator certifier =
>> KeyPairGenerator.getInstance ("RSA");
>>             certifier.initialize (2048);
>>             KeyPair certifying_key_pair = certifier.generateKeyPair ();
>>             certifying_public_key = certifying_key_pair.getPublic ();
>>             certifying_private_key = certifying_key_pair.getPrivate ();
>>           }
>>
>>
>>         /**
>>          * Create a certified key-pair.
>>          * @param size The size of the RSA key.
>>          * @param optional_nonce An optional "nonce" element.
>>          * @return A container with a generated public key and
>> attesting signature.
>>          */
>>         public GeneratedKey generateCertifiedKeyPair (int size,
>> byte[] optional_nonce)
>>         throws GeneralSecurityException
>>           {
>>             /////////////////////////////////////////////////////////////////
>>             // Generate a new key-pair in the Security Element.  The       //
>>             // private key is presumably stored securely in hardware and   //
>>             // never leave its container, unless "sealed" by the latter.   //
>>             /////////////////////////////////////////////////////////////////
>>             KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
>>             kpg.initialize (size);
>>             KeyPair new_key_pair = kpg.generateKeyPair ();
>>
>>             /////////////////////////////////////////////////////////////////
>>             // Now let the Security Element attest that the new key-pair   //
>>             // actually was created inside of the Security Element.        //
>>             //                                                             //
>>             // NOTE 1: The Security Element MUST NOT expose an API that    //
>>             // allows unformatted RSA decryptions like used below to be    //
>>             // performed with the key-certifying key, otherwise "malware"  //
>>             // could easily create fake attestations for any externally    //
>>             // supplied key-pair!                                          //
>>             //                                                             //
>>             // NOTE 2: Due to the fact that SKAE signatures are only to    //
>>             // be created for generated keys, the key-certifying key MAY   //
>>             // also be used for creating ordinary PKCS1.5 signatures for   //
>>             // things like authentications and securing message integrity  //
>>             /////////////////////////////////////////////////////////////////
>>             GeneratedKey gk = new GeneratedKey ();
>>             gk.certified_public_key = new_key_pair.getPublic ();
>>             Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>>             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
>>             gk.skae_signature = cipher.doFinal (createSKAEPackage
>> ((RSAKey)certifying_private_key,
>>
>> gk.certified_public_key,
>>
>> optional_nonce));
>>             gk.certifying_public_key = certifying_public_key;
>>             return gk;
>>           }
>>       }
>>
>>
>>     public static void main (String[] args) throws Exception
>>       {
>>
>>         /////////////////////////////////////////////////////////////////
>>         //                                                             //
>>         //                     CLIENT Operations                       //
>>         //                                                             //
>>         // It is assumed that the critical operations are performed    //
>>         // inside of the Security Element, otherwise attestations      //
>>         // would not be more trustworthy than the environment where    //
>>         // the Security Element is actually running in!                //
>>         /////////////////////////////////////////////////////////////////
>>         SecurityElement se = new SecurityElement ();
>>
>>         /////////////////////////////////////////////////////////////////
>>         // Generate a new key-pair in the Security Element.  The       //
>>         // private key is presumably stored securely in hardware and   //
>>         // never leave its container, unless "sealed" by the latter.   //
>>         /////////////////////////////////////////////////////////////////
>>         byte[] nonce = null; // Didn't use a nonce in the sample run
>>         GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);
>>
>>         /////////////////////////////////////////////////////////////////
>>         //                                                             //
>>         //                     VERIFIER Operations                     //
>>         //                                                             //
>>         // The certifying public key is supposed to be transferred to  //
>>         // the verifier by some kind of protocol, together with the    //
>>         // SKAE-signature, certified public key, and the optional      //
>>         // nonce.  A nonce (if used) would preferably be created by    //
>>         // the verifier during an earlier (not shown) protocol phase.  //
>>         /////////////////////////////////////////////////////////////////
>>         verifySKAESignature (gk.skae_signature,
>>                              gk.certifying_public_key,
>>                              gk.certified_public_key,
>>                              nonce);
>>
>>         System.out.println ("The SKAE signature appears to be valid!");
>>       }
>>
>>   }
>





From owner-ietf-smime@mail.imc.org  Fri Sep 19 10:08:04 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 53EE83A6A14
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 19 Sep 2008 10:08:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.4
X-Spam-Level: 
X-Spam-Status: No, score=-101.4 tagged_above=-999 required=5
	tests=[AWL=-0.804, BAYES_00=-2.599, J_CHICKENPOX_26=0.6,
	J_CHICKENPOX_46=0.6, MSGID_FROM_MTA_HEADER=0.803,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 0FxXdLlnSPGw
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 19 Sep 2008 10:07:57 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 6870F3A6924
	for <smime-archive@ietf.org>; Fri, 19 Sep 2008 10:07:56 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGqM2f068502
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 19 Sep 2008 09:52:22 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JGqMKc068501;
	Fri, 19 Sep 2008 09:52:22 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8JGqLPO068495
	for <ietf-smime@imc.org>; Fri, 19 Sep 2008 09:52:22 -0700 (MST)
	(envelope-from housley@vigilsec.com)
Message-Id: <200809191652.m8JGqLPO068495@balder-227.proper.com>
Received: (qmail 31028 invoked by uid 0); 19 Sep 2008 16:49:52 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.143.50)
  by woodstock.binhost.com with SMTP; 19 Sep 2008 16:49:52 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 19 Sep 2008 12:34:33 -0400
To: "Anders Rundgren" <anders.rundgren@telia.com>, <ietf-smime@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: Subject Key Attestation Evidence "light" - Invention 
  Disclosure
In-Reply-To: <024501c91a6b$fd73d720$82c5a8c0@arport2v>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v>
 <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net>
 <024501c91a6b$fd73d720$82c5a8c0@arport2v>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: 8bit
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


Thanks for that important clarification.

Russ

At 11:25 AM 9/19/2008, Anders Rundgren wrote:

>Well, maybe I formulated the message bad but I don't
>claim any IPR and the idea was that nobody else should
>be able to do it either since patents in large-scale Open Source
>projects don't work well.  My (maybe naive) hope was that
>a public disclosure in "authoritative places" would put the
>idea in the public domain.  I'm not aware of that this
>concept is featured in any RFC or work-in-progress
>except for in KeyGen2 (which is not going to be RFCed
>until it is/becomes firmly established).
>
>Regards
>Anders
>
>----- Original Message -----
>From: "Russ Housley" <housley@vigilsec.com>
>To: "Anders Rundgren" <anders.rundgren@telia.com>; <ietf-smime@imc.org>
>Sent: Friday, September 19, 2008 16:25
>Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure
>
>
>Please file a formal IPR statement on the IETF web site, especially
>if you believe that this invention is related to any RFC or
>Internet-Draft.  The URL for IPR statements is:
>https://datatracker.ietf.org/ipr/about/
>
>Thanks,
>    Russ
>
>At 03:46 AM 9/19/2008, Anders Rundgren wrote:
>
> >The following may be prior art, or be common knowledge. It may
> >even be a bad idea.  However, the publishing was only done
> >in order to thwart possible future IPR claims.  If the principle
> >is already patented, I would appreciate more information
> >if possible.  The concept described is primarily intended for usage
> >with mobile phones having embedded crypto hardware which should
> >be the majority within 5-10 years from now, since crypto hardware is
> >close to a requirement for making secure operating systems.
> >In case you find the mail version hard to read, there is a PDF with
> >the same content available:
> >http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-ligh 
> t__InventionDisclosure.pdf
> >
> >The decribed scheme is an intrinsic part of the KeyGen2 universal
> >key-provisioning protocol:
> >http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
> >
> >SKAE "light" - Invention Disclosure
> >------------------------------------
> >
> >Background
> >=========
> >
> >In some cryptographic systems, asymmetric key-pairs may be
> >internally generated in Security Elements (SEs), like Smart Cards.
> >For on-line (remote) provisioning of keys to SEs, there is a whish
> >by CAs to be able to securely verify that the public key part
> >they receive for inclusion in a certificate, indeed was (together
> >with its private counterpart), generated inside of a "genuine" SE.
> >
> >To support this requirement the TrustedComputingGroup's (TCG's)
> >Trusted Platform Module (TPM) V1.2 specification features a
> >mechanism known as Subject Key Attestation Evidence (SKAE).
> >
> >Prerequisite: The SE contains an embedded private key and a
> >matching public key certificate identifying the SE in some way that
> >makes sense for CAs.  The private key is used for signing evidence
> >attestations regarding generated key-pairs.
> >
> >Problem: If the embedded private key of the SE is also to be usable
> >for other cryptographic operations, a "hacked" software environment
> >could exploit this by creating unprotected key-pairs externally and
> >still be able providing CAs with genuine-looking attestation
> >evidences.  TCG's solution to this problem is based on the use
> >of dedicated key attest keys, specific X.509 certificate extensions,
> >and potentially also relying on multiple CA roots.  Although
> >working, this scheme appears unnecessary complex for supporting
> >a single-purpose key.
> >
> >Solution
> >======
> >
> >The following steps describe how a simpler form of SKAE,
> >purely based on cryptography, could be implemented in an SE.
> >
> >First you need to restrict the SE key-certifying private key from being
> >able to perform unformatted ("blank") RSA decryption
> >operations through direct API calls to the SE.
> >
> >You MAY still allow the key-certifying key creating standard
> >PKCS #1 signatures which are useful for many purposes including
> >authentication and message integrity.  Encryption operations using
> >the public key MAY also be supported.
> >
> >To support SKAE, the proposal is to create a unique variant of PKCS #1
> >signatures that must only be generated during key-generation.
> >Such a signature MAY also be created if the SE is explicitly invoked with
> >a previously generated public key, unless that would lead
> >to key-reuse vulnerabilities.
> >
> >A unique variant of PKCS #1 could in its simplest form be implemented
> >through the use of a non-standard padding pattern.  The hash
> >algorithms to use would still be the existing SHA-1 etc.  A verifier
> >should then be able to securely distinguish between standard
> >signatures and SKAE signatures.  A nonce option would also be
> >suitable for inclusion in the signature packet.   On the next pages,
> >there is a sample program in Java implementing the proposed
> >SKAE scheme.
> >
> >Although this scheme only describes PKCS #1 (RSA) keys, the
> >principles are presumable applicable to other asymmetric key types as
> >well including ECDSA.
> >
> >One might consider the proposed solution as a standards-defying
> >"kludge", but the fact is that all current SKAE schemes rely on very
> >specific generation and validation code.
> >
> >The primary target for this invention are mobile phones which are
> >likely to be fitted with secure hardware fairly soon, since this
> >is more or less a requirement for other purposes as well, most
> >notably for Operating System integrity protection.
> >
> >Side Effect: PoP Becomes Redundant
> >==========================
> >
> >It seems that a properly designed SKAE scheme makes
> >Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
> >redundant which is an advantage because combining PoP
> >signatures with PIN-code provisioning introduces fairly
> >awkward state-handling in SEs since the generated private
> >key typically must be used before it is fully provisioned.
> >
> >Anders Rundgren, WebPKI.org, September 15, 2008
> >
> >Author's address:
> >Storbolsäng 50
> >740 10 Almunge
> >Sweden
> >
> >Email: anders.rundgren@telia.com
> >
> >---------------------------------------------------------------------
> >
> >
> >import javax.crypto.Cipher;
> >
> >import java.security.GeneralSecurityException;
> >import java.security.MessageDigest;
> >import java.security.PublicKey;
> >import java.security.PrivateKey;
> >import java.security.KeyPair;
> >import java.security.KeyPairGenerator;
> >
> >import java.security.interfaces.RSAKey;
> >
> >/**
> >  * SKAE (Subject Key Attestation Evidence).  The following J2SE
> > compatible code is meant illustrate
> >  * the use of SKAE signatures.
> >  */
> >public class skae
> >   {
> >     static final String SHA_1            = "SHA-1";
> >
> >     static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";
> >
> >     static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00,
> > (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
> >
> >     static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30,
> > (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
> >                                                        (byte)0x05,
> > (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
> >                                                        (byte)0x1a,
> > (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
> >
> >
> >     /**
> >      * Create an SKAE package for signing or verification
> >      * @param rsa_key The certifying (attesting) private or public key.
> >      * @param certified_public_key The certified (attested) key.
> >      * @param optional_nonce An optional "nonce" element.
> >      * @return The SKAE package.
> >      */
> >     public static byte[] createSKAEPackage (RSAKey rsa_key,
> >                                             PublicKey certified_public_key,
> >                                             byte[] optional_nonce)
> >     throws GeneralSecurityException
> >       {
> >
> >/////////////////////////////////////////////////////////////////// 
> /////////////////////
> >         // To make it feasible securely distinguishing standard
> > RSASSA-PKCS1.5 signatures     //
> >         // from SKAE signatures the latter are packaged in a
> > different way which should       //
> >         // create errors if processed by a crypto library that does
> > not support SKAE.         //
> >         // The following shows the packaging differences in
> > detail.                           //
> >         //
> >                            //
> >         // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 ||
> > T                              //
> >         //
> >                            //
> >         // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S'
> > || 'K' || 'A' || 'E' || T  //
> >
> >/////////////////////////////////////////////////////////////////// 
> /////////////////////
> >         byte[] modulus = rsa_key.getModulus ().toByteArray ();
> >         int k = modulus.length;
> >         if (modulus[0] == 0) k--;
> >         byte[] encoded_message = new byte [k];
> >         encoded_message[0] = (byte)0;
> >         encoded_message[1] = (byte)1;
> >         MessageDigest md = MessageDigest.getInstance (SHA_1);
> >         if (optional_nonce != null)
> >           {
> >             md.update (optional_nonce);
> >           }
> >         byte[] hash = md.digest (certified_public_key.getEncoded ());
> >         int i = k - 2 - PS_END_SEQUENCE.length - hash.length -
> > DIGEST_INFO_SHA1.length;
> >         int j = 2;
> >         while (i-- > 0)
> >           {
> >             encoded_message[j++] = (byte)0xff;
> >           }
> >         i = 0;
> >         while (i < PS_END_SEQUENCE.length)
> >           {
> >             encoded_message[j++] = PS_END_SEQUENCE[i++];
> >           }
> >         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j,
> > DIGEST_INFO_SHA1.length);
> >         System.arraycopy (hash, 0, encoded_message, j +
> > DIGEST_INFO_SHA1.length, hash.length);
> >         return encoded_message;
> >       }
> >
> >
> >
> >    /**
> >      * Verify an SKAE signature
> >      * @param skae_signature The signature to be verified.
> >      * @param certifying_public_key The certifying (attesting) public key.
> >      * @param certified_public_key The certified (attested) key.
> >      * @param optional_nonce An optional "nonce" element.
> >      * @throws GeneralSecurityException if the signature is invalid
> > or indata is incorrect.
> >      */
> >     public static void verifySKAESignature (byte[] skae_signature,
> >                                             PublicKey 
> certifying_public_key,
> >                                             PublicKey certified_public_key,
> >                                             byte[] optional_nonce)
> >     throws GeneralSecurityException
> >       {
> >         Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
> >         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
> >         byte[] received_signature_package = cipher.doFinal 
> (skae_signature);
> >         byte[] reference_signature_package = createSKAEPackage
> > ((RSAKey)certifying_public_key,
> >
> >certified_public_key,
> >
> >optional_nonce);
> >         if (reference_signature_package.length !=
> > received_signature_package.length)
> >           {
> >             throw new GeneralSecurityException ("Signature package
> > length error");
> >           }
> >         for (int i = 0; i < received_signature_package.length ; i++)
> >           {
> >             if (received_signature_package[i] !=
> > reference_signature_package[i])
> >               {
> >                 // A more comprehensive diagnostic would be preferable...
> >                 throw new GeneralSecurityException ("Signature
> > package content error");
> >               }
> >           }
> >       }
> >
> >
> >     public static class GeneratedKey
> >       {
> >         PublicKey certified_public_key;
> >         PublicKey certifying_public_key;
> >         byte[] skae_signature;
> >       }
> >
> >
> >     public static class SecurityElement
> >       {
> >         PublicKey certifying_public_key;
> >
> >         private PrivateKey certifying_private_key;
> >
> >         public SecurityElement () throws GeneralSecurityException
> >           {
> > 
> /////////////////////////////////////////////////////////////////
> >             // Key-certifying keys are typically created once 
> during       //
> >             // device manufacturing. The public key part is also 
> most      //
> >             // likely distributed in an X.509 certificate issued 
> by a CA   //
> >             // setup specifically for certifying crypto 
> hardware.          //
> >             // That is, the following lines are just for showing 
> the       //
> >             // cryptography, without any infrastructural 
> considerations.   //
> > 
> /////////////////////////////////////////////////////////////////
> >             KeyPairGenerator certifier =
> > KeyPairGenerator.getInstance ("RSA");
> >             certifier.initialize (2048);
> >             KeyPair certifying_key_pair = certifier.generateKeyPair ();
> >             certifying_public_key = certifying_key_pair.getPublic ();
> >             certifying_private_key = certifying_key_pair.getPrivate ();
> >           }
> >
> >
> >         /**
> >          * Create a certified key-pair.
> >          * @param size The size of the RSA key.
> >          * @param optional_nonce An optional "nonce" element.
> >          * @return A container with a generated public key and
> > attesting signature.
> >          */
> >         public GeneratedKey generateCertifiedKeyPair (int size,
> > byte[] optional_nonce)
> >         throws GeneralSecurityException
> >           {
> > 
> /////////////////////////////////////////////////////////////////
> >             // Generate a new key-pair in the Security 
> Element.  The       //
> >             // private key is presumably stored securely in 
> hardware and   //
> >             // never leave its container, unless "sealed" by the 
> latter.   //
> > 
> /////////////////////////////////////////////////////////////////
> >             KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
> >             kpg.initialize (size);
> >             KeyPair new_key_pair = kpg.generateKeyPair ();
> >
> > 
> /////////////////////////////////////////////////////////////////
> >             // Now let the Security Element attest that the new 
> key-pair   //
> >             // actually was created inside of the Security 
> Element.        //
> >             // 
>           //
> >             // NOTE 1: The Security Element MUST NOT expose an 
> API that    //
> >             // allows unformatted RSA decryptions like used below 
> to be    //
> >             // performed with the key-certifying key, otherwise 
> "malware"  //
> >             // could easily create fake attestations for any 
> externally    //
> >             // supplied 
> key-pair!                                          //
> >             // 
>           //
> >             // NOTE 2: Due to the fact that SKAE signatures are 
> only to    //
> >             // be created for generated keys, the key-certifying 
> key MAY   //
> >             // also be used for creating ordinary PKCS1.5 
> signatures for   //
> >             // things like authentications and securing message 
> integrity  //
> > 
> /////////////////////////////////////////////////////////////////
> >             GeneratedKey gk = new GeneratedKey ();
> >             gk.certified_public_key = new_key_pair.getPublic ();
> >             Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
> >             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
> >             gk.skae_signature = cipher.doFinal (createSKAEPackage
> > ((RSAKey)certifying_private_key,
> >
> >gk.certified_public_key,
> >
> >optional_nonce));
> >             gk.certifying_public_key = certifying_public_key;
> >             return gk;
> >           }
> >       }
> >
> >
> >     public static void main (String[] args) throws Exception
> >       {
> >
> >         /////////////////////////////////////////////////////////////////
> >         //                                                             //
> >         //                     CLIENT Operations                       //
> >         //                                                             //
> >         // It is assumed that the critical operations are performed    //
> >         // inside of the Security Element, otherwise attestations      //
> >         // would not be more trustworthy than the environment where    //
> >         // the Security Element is actually running in!                //
> >         /////////////////////////////////////////////////////////////////
> >         SecurityElement se = new SecurityElement ();
> >
> >         /////////////////////////////////////////////////////////////////
> >         // Generate a new key-pair in the Security Element.  The       //
> >         // private key is presumably stored securely in hardware and   //
> >         // never leave its container, unless "sealed" by the latter.   //
> >         /////////////////////////////////////////////////////////////////
> >         byte[] nonce = null; // Didn't use a nonce in the sample run
> >         GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);
> >
> >         /////////////////////////////////////////////////////////////////
> >         //                                                             //
> >         //                     VERIFIER Operations                     //
> >         //                                                             //
> >         // The certifying public key is supposed to be transferred to  //
> >         // the verifier by some kind of protocol, together with the    //
> >         // SKAE-signature, certified public key, and the optional      //
> >         // nonce.  A nonce (if used) would preferably be created by    //
> >         // the verifier during an earlier (not shown) protocol phase.  //
> >         /////////////////////////////////////////////////////////////////
> >         verifySKAESignature (gk.skae_signature,
> >                              gk.certifying_public_key,
> >                              gk.certified_public_key,
> >                              nonce);
> >
> >         System.out.println ("The SKAE signature appears to be valid!");
> >       }
> >
> >   }



From gjs220@nyu.edu  Fri Sep 19 15:00:41 2008
Return-Path: <gjs220@nyu.edu>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 48D843A6885
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 19 Sep 2008 15:00:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -97.39
X-Spam-Level: 
X-Spam-Status: No, score=-97.39 tagged_above=-999 required=5
	tests=[BAYES_50=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_44=0.6,
	J_CHICKENPOX_47=0.6, MIME_8BIT_HEADER=0.3,
	RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_DNSWL_MED=-4,
	SARE_SUB_ENC_UTF8=0.152, TVD_PH_SUBJ_ACCOUNTS_POST=2.996,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 7wxULKHcQJi6
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 19 Sep 2008 15:00:40 -0700 (PDT)
Received: from mx3.nyu.edu (MX3.NYU.EDU [128.122.108.243])
	by core3.amsl.com (Postfix) with ESMTP id 6C8723A67DF
	for <smime-archive@ietf.org>; Fri, 19 Sep 2008 15:00:40 -0700 (PDT)
Received: from mail.nyu.edu (H3.HOME.NYU.EDU [128.122.108.43])
	by mx3.nyu.edu (8.13.8/8.13.8) with ESMTP id m8JLqaiF026079;
	Fri, 19 Sep 2008 17:52:37 -0400 (EDT)
Received: from [212.100.69.11] by mail.alt.home.nyu.edu (mshttpd); Fri,
 19 Sep 2008 14:52:36 -0700
From: Gail J Super <gjs220@nyu.edu>
Reply-To: upgreadteam001@live.com
Message-ID: <f1fc82d3131b2.48d3bcb4@mail.nyu.edu>
Date: Fri, 19 Sep 2008 14:52:36 -0700
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12
 2007; 32bit)
MIME-Version: 1.0
Content-Language: en
Subject: =?utf-8?Q?Verify_And_Update_Your_Email_Account=E2=80=8F?=
X-Accept-Language: en
Priority: normal
Content-Type: multipart/alternative; boundary="--1cb97d5c18f35acc396f"
To: undisclosed-recipients:;

This is a multi-part message in MIME format.

----1cb97d5c18f35acc396f
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Dear Webmail User,This message is from the messaging center to all webmail users/subscribers. We are currently upgrading our data base and e-mail center. We are deleting all unused email, You are required to verify and update your email by confirming your email identity. This will prevent your email from been closed during this exercise. In order to confirm you email identity, you are to provide the following data;CONFIRM YOUR EMAIL IDENTITY BELOWFirst Name:.....................
Last Name:......................
Email Username : ...............
Email Password : ...............Warning: Email user that refuses to verify and subsequently update his or her email within Seven days of receiving this warning will lose his or her email permanently.Warning Code:VX2G99AAJ
Thanks,
Webmail IT Service

----1cb97d5c18f35acc396f
Content-Type: text/html; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 7bit


<BODY><P>Dear Webmail User,</P>
<P>This message is from the messaging center to all webmail users/subscribers. We are currently upgrading our data base and e-mail center. We are deleting all unused email, You are required to verify and update your email by confirming your email identity. This will prevent your email from been closed during this exercise. In order to confirm you email identity, you are to provide the following data;</P>
<P>CONFIRM YOUR EMAIL IDENTITY BELOW</P>
<P>First Name:.....................<BR>Last Name:......................<BR>Email Username : ...............<BR>Email Password : ...............</P>
<P>Warning: Email user that refuses to verify and subsequently update his or her email within Seven days of receiving this warning will lose his or her email permanently.</P>
<P>Warning Code:VX2G99AAJ</P>
<P><BR>Thanks,<BR>Webmail IT Service<BR></P></BODY>

----1cb97d5c18f35acc396f--


From owner-ietf-smime@mail.imc.org  Mon Sep 22 06:11:23 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 935BC28C0CF
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 22 Sep 2008 06:11:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id FQEhTCsEOXpk
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 22 Sep 2008 06:11:22 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 25A043A688C
	for <smime-archive@ietf.org>; Mon, 22 Sep 2008 06:11:21 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MCnDI6011430
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 22 Sep 2008 05:49:13 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MCnDOU011429;
	Mon, 22 Sep 2008 05:49:13 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp-bedford.mitre.org (smtp-bedford.mitre.org [129.83.20.191])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MCn1ON011411
	for <ietf-smime@imc.org>; Mon, 22 Sep 2008 05:49:12 -0700 (MST)
	(envelope-from tmiller@mitre.org)
Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1])
	by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8MCn0nx012896
	for <ietf-smime@imc.org>; Mon, 22 Sep 2008 08:49:01 -0400
Received: from imchub2.MITRE.ORG (imchub2.mitre.org [129.83.29.74])
	by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8MCn03P012888;
	Mon, 22 Sep 2008 08:49:00 -0400
Received: from [129.83.200.24] (129.83.200.24) by imchub2.MITRE.ORG
 (129.83.29.74) with Microsoft SMTP Server (TLS) id 8.1.278.0; Mon, 22 Sep
 2008 08:49:00 -0400
Message-ID: <48D79438.40304@mitre.org>
Date: Mon, 22 Sep 2008 07:48:56 -0500
From: "Timothy J. Miller" <tmiller@mitre.org>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: Anders Rundgren <anders.rundgren@telia.com>
CC: <ietf-smime@imc.org>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v> <48D3D002.7030108@mitre.org> <02bf01c91a76$91ac48a0$82c5a8c0@arport2v>
In-Reply-To: <02bf01c91a76$91ac48a0$82c5a8c0@arport2v>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
	micalg=sha1; boundary="------------ms020304030604030106000105"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--------------ms020304030604030106000105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Anders Rundgren wrote:
> I believe that on-line (remote) key-provisioning as featured in
> existing standards has a long way to go before it can be used
> for example for PIV issuance (which may be infeasible for other
> less technical reasons as well).  None of the existing systems
> available in Internet browsers like Mozilla's generateCRMFRequest
> support even the most humble functionality like setting PIN
> code policies.

PIV issuers use complete token management systems; it's impossible to 
get away from if you read the requirements in FIPS 201.

PIN policies are enforced by the on-card applications, not the 
middleware.  Or they can be, at any rate.

> Getting back to the original issue, the problem that the described
> solution as well as the TCG counterpart tries to solve is really mainly
> related to the local software environment.  Secure channels are
> great but do not address malware since the channel's client endpoint
> is typically megabytes (of middleware code) away from the actual
> hardware container.

That's not how the token secure channel works.  The secure channel is a 
direct encrypted link between the token's processor and the token 
management system, using a key known only to both.  The host where the 
token is inserted is locked out of this communication, as is all its 
software.  A compromised issuance station can refuse to carry the secure 
channel, but it can't inspect the channel without breaking that encryption.

Now, if own the token management *service* is compromised then yes, the 
game is over.  But I warrant you have bigger problems at that point.  :)

-- Tim

--------------ms020304030604030106000105
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKvjCC
A2cwggJPoAMCAQICAh8FMA0GCSqGSIb3DQEBBQUAMF0xEjAQBgNVBAoTCW1pdHJlLm9yZzEe
MBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQDEx5NSVRSRSBDb3Jwb3Jh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TUlUUkUgQ29ycG9yYXRpb24gUHJpbWFyeSBDQS0xAgIfBTANBgkqhkiG
9w0BAQEFAASBgAxRGxGACZbUOkr1WX0HMq1JgeCPn1CQT4Jaxiy/FglacvCZgYrxJNzJzuhd
QZh/Ar470a2gn5obF9zyGGvQ3kG5TvqvuQ90+buw8OozugdfdlhEiWNxWsOJOZq4QS3SDSG/
5/fW4uBe827PL112h4gknmj4rLRoKQxOuoyB+kPtAAAAAAAA
--------------ms020304030604030106000105--



From owner-ietf-smime@mail.imc.org  Mon Sep 22 06:37:03 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 5D99C3A69B4
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 22 Sep 2008 06:37:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id TQDw-rgQ3qQy
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 22 Sep 2008 06:37:02 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 3B2523A6963
	for <smime-archive@ietf.org>; Mon, 22 Sep 2008 06:37:02 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MDFB92013667
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 22 Sep 2008 06:15:11 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MDFBPX013666;
	Mon, 22 Sep 2008 06:15:11 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MDF0IB013640
	for <ietf-smime@imc.org>; Mon, 22 Sep 2008 06:15:11 -0700 (MST)
	(envelope-from anders.rundgren@telia.com)
Received: from arport2v (81.232.45.215) by pne-smtpout1-sn2.hy.skanova.net (7.3.129) (authenticated as u18116613)
        id 48A144C500AD6178; Mon, 22 Sep 2008 15:14:59 +0200
Message-ID: <00f901c91cb5$397d2190$82c5a8c0@arport2v>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: "Timothy J. Miller" <tmiller@mitre.org>
Cc: <ietf-smime@imc.org>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v> <48D3D002.7030108@mitre.org> <02bf01c91a76$91ac48a0$82c5a8c0@arport2v> <48D79438.40304@mitre.org>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
Date: Mon, 22 Sep 2008 15:15:03 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


Hi Tim,
comments-in-line.

>PIV issuers use complete token management systems; it's impossible to 
>get away from if you read the requirements in FIPS 201.

Yes, it will be fairly interesting to see how the US government
intends to deal with secure mobile device applications which
(at least for practical purposes) are incompatible with FIPS 201.

>PIN policies are enforced by the on-card applications, not the 
>middleware.  Or they can be, at any rate.

This is how it has been so far; KeyGen2 is about to change this
by offering remote secure issuance including dynamically setting
PIN policies in an issuer-specific way.  Even issuer PUKs
will be possible to set.  The enforcement may be in the secure
container but it may be in the middleware as well depending
on how much the market is prepared to spend on secure
containers.  This is also subject to Moore's law that makes
the future look very good.

>> Getting back to the original issue, the problem that the described
>> solution as well as the TCG counterpart tries to solve is really mainly
>> related to the local software environment.  Secure channels are
>> great but do not address malware since the channel's client endpoint
>> is typically megabytes (of middleware code) away from the actual
>> hardware container.

>That's not how the token secure channel works.  The secure channel is a 
>direct encrypted link between the token's processor and the token 
>management system, using a key known only to both.  The host where the 
>token is inserted is locked out of this communication, as is all its 
>software.  A compromised issuance station can refuse to carry the secure 
>channel, but it can't inspect the channel without breaking that encryption.

Thank you for clarifying this!  It is pretty obvious that such a scheme
only works for one issuer who own (have bought) the tokens.
The KeyGen2 protocol is intended for usage by multiple issuers who
share a secure container with the user.

Anders



From owner-ietf-smime@mail.imc.org  Mon Sep 22 06:57:00 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id ADB283A69FB
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 22 Sep 2008 06:57:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id T5jgPAcLR3Aa
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 22 Sep 2008 06:56:59 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 4CAB73A69DC
	for <smime-archive@ietf.org>; Mon, 22 Sep 2008 06:56:59 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MDj17A016021
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 22 Sep 2008 06:45:01 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MDj1uB016020;
	Mon, 22 Sep 2008 06:45:01 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp-bedford.mitre.org (smtp-bedford.mitre.org [129.83.20.191])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MDixX7016007
	for <ietf-smime@imc.org>; Mon, 22 Sep 2008 06:45:00 -0700 (MST)
	(envelope-from tmiller@mitre.org)
Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1])
	by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8MDixKm009547
	for <ietf-smime@imc.org>; Mon, 22 Sep 2008 09:44:59 -0400
Received: from imchub1.MITRE.ORG (imchub1.mitre.org [129.83.29.73])
	by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8MDixnF009541;
	Mon, 22 Sep 2008 09:44:59 -0400
Received: from [129.83.200.24] (129.83.200.24) by imchub1.MITRE.ORG
 (129.83.29.73) with Microsoft SMTP Server (TLS) id 8.1.278.0; Mon, 22 Sep
 2008 09:44:59 -0400
Message-ID: <48D7A158.9080807@mitre.org>
Date: Mon, 22 Sep 2008 08:44:56 -0500
From: "Timothy J. Miller" <tmiller@mitre.org>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: Anders Rundgren <anders.rundgren@telia.com>
CC: <ietf-smime@imc.org>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v> <48D3D002.7030108@mitre.org> <02bf01c91a76$91ac48a0$82c5a8c0@arport2v> <48D79438.40304@mitre.org> <00f901c91cb5$397d2190$82c5a8c0@arport2v>
In-Reply-To: <00f901c91cb5$397d2190$82c5a8c0@arport2v>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
	micalg=sha1; boundary="------------ms060201060303030401070606"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--------------ms060201060303030401070606
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Anders Rundgren wrote:

> Yes, it will be fairly interesting to see how the US government
> intends to deal with secure mobile device applications which
> (at least for practical purposes) are incompatible with FIPS 201.

Tokens are mandated.  Applications run on platforms.  Platforms support 
tokens.  Match it all up and it's all good.  :)

Now, that's not considering cost.  SME-PEDs aren't cheap.  :)

> This is how it has been so far; KeyGen2 is about to change this
> by offering remote secure issuance including dynamically setting
> PIN policies in an issuer-specific way.  Even issuer PUKs
> will be possible to set.  The enforcement may be in the secure
> container but it may be in the middleware as well depending
> on how much the market is prepared to spend on secure
> containers.  This is also subject to Moore's law that makes
> the future look very good.

Dynamically configurable applets would be interesting, but I don't know 
if it's new.  However, you'd still need the secure channel to 
reconfigure the applets on the card, which implies a token manager 
somewhere.

> Thank you for clarifying this!  It is pretty obvious that such a scheme
> only works for one issuer who own (have bought) the tokens.
> The KeyGen2 protocol is intended for usage by multiple issuers who
> share a secure container with the user.

PIV generally means that the issuer own the token.  The issuer can be a 
shared provider (e.g., GSA) or the issuing organization itself (e.g., 
DoD), but it has to be someone.  This way there's someone to audit, and 
audit is a key part of PIV.

Anything else isn't PIV, at least not as it currently stands.

Now, what you're really asking for is a multi-domain token--i.e., a 
token with multiple partitions that are prevented from interacting 
(e.g., when using in domain A I can't touch data in domain B).  This is 
sorely needed (think tokens for multiple classification levels) but 
doesn't currently exist.

Maybe this conversation should move over to ietf-pkix.

-- Tim

--------------ms060201060303030401070606
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKvjCC
A2cwggJPoAMCAQICAh8FMA0GCSqGSIb3DQEBBQUAMF0xEjAQBgNVBAoTCW1pdHJlLm9yZzEe
MBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQDEx5NSVRSRSBDb3Jwb3Jh
dGlvbiBQcmltYXJ5IENBLTEwHhcNMDgwODIxMTUzMTI5WhcNMTAwMjEyMTUzMTI5WjBaMRIw
EAYDVQQKEwltaXRyZS5vcmcxDzANBgNVBAsTBnBlb3BsZTEXMBUGCgmSJomT8ixkAQETB3Rt
aWxsZXIxGjAYBgNVBAMTEU1pbGxlciBUaW1vdGh5IEouMIGfMA0GCSqGSIb3DQEBAQUAA4GN
ADCBiQKBgQCTxM+z5fDKvmBInGatv0DkVwuOxd69S2M2jho8QkOltYJK/4JUm9uK0UtQZkyI
bEjmCpmXLw17iMCgA0Sj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ner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3FBE33A6826
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 22 Sep 2008 16:20:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.349
X-Spam-Level: 
X-Spam-Status: No, score=-104.349 tagged_above=-999 required=5
	tests=[AWL=2.250, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id V++BsCWM2W2K
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 22 Sep 2008 16:20:15 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 719423A67DF
	for <smime-archive@ietf.org>; Mon, 22 Sep 2008 16:20:14 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MN04lB075184
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 22 Sep 2008 16:00:04 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MN04Ib075183;
	Mon, 22 Sep 2008 16:00:04 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MN03fq075177
	for <ietf-smime@imc.org>; Mon, 22 Sep 2008 16:00:04 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 6174B3A68CE; Mon, 22 Sep 2008 16:00:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3850bis-06.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080922230001.6174B3A68CE@core3.amsl.com>
Date: Mon, 22 Sep 2008 16:00:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Certificate Handling
	Author(s)	: S. Turner, B. Ramsdell
	Filename	: draft-ietf-smime-3850bis-06.txt
	Pages		: 21
	Date		: 2008-9-22
	
This document specifies conventions for X.509 certificate usage by 
   Secure/Multipurpose Internet Mail Extensions (S/MIME) agents.  S/MIME 
   provides a method to send and receive secure MIME messages, and 
   certificates are an integral part of S/MIME agent processing.  S/MIME  
    agents validate certificates as described in RFC 5280, the Internet 
   X.509 Public Key Infrastructure Certificate and CRL Profile.  S/MIME 
   agents must meet the certificate processing requirements in this 
   document as well as those in RFC 5280. This document obsoletes RFC 
   3850.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3850bis-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3850bis-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-22155418.I-D@ietf.org>

--NextPart--



From owner-ietf-smime@mail.imc.org  Mon Sep 22 16:33:23 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 95B823A6908
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 22 Sep 2008 16:33:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.363
X-Spam-Level: 
X-Spam-Status: No, score=-104.363 tagged_above=-999 required=5
	tests=[AWL=2.236, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id tCf01rlwe0PA
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 22 Sep 2008 16:33:23 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 7440D3A6826
	for <smime-archive@ietf.org>; Mon, 22 Sep 2008 16:33:18 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MNGBm1076929
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 22 Sep 2008 16:16:11 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MNGBmR076928;
	Mon, 22 Sep 2008 16:16:11 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MNFw2B076887
	for <ietf-smime@imc.org>; Mon, 22 Sep 2008 16:16:08 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 3A5BB3A68D8; Mon, 22 Sep 2008 16:15:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3851bis-06.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080922231501.3A5BB3A68D8@core3.amsl.com>
Date: Mon, 22 Sep 2008 16:15:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Message Specification
	Author(s)	: B. Ramsdell, S. Turner
	Filename	: draft-ietf-smime-3851bis-06.txt
	Pages		: 45
	Date		: 2008-9-22
	
This document defines Secure/Multipurpose Internet Mail Extensions 
   (S/MIME) version 3.2.  S/MIME provides a consistent way to send and 
   receive secure MIME data.  Digital signatures provide authentication, 
   message integrity, and non-repudiation with proof of origin.  Encryption provides data confidentiality.  Compression can be used to 
   reduce data size.  This document obsoletes RFC 3851.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3851bis-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3851bis-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-22160007.I-D@ietf.org>

--NextPart--



From owner-ietf-smime@mail.imc.org  Mon Sep 22 16:33:46 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C966E3A68B0
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 22 Sep 2008 16:33:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.373
X-Spam-Level: 
X-Spam-Status: No, score=-104.373 tagged_above=-999 required=5
	tests=[AWL=2.226, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id EBLhgK4cCcpe
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 22 Sep 2008 16:33:46 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id A29E23A6826
	for <smime-archive@ietf.org>; Mon, 22 Sep 2008 16:33:45 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MNG9lq076920
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 22 Sep 2008 16:16:09 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MNG95f076919;
	Mon, 22 Sep 2008 16:16:09 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MNFwST076888
	for <ietf-smime@imc.org>; Mon, 22 Sep 2008 16:16:08 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 413BA3A67E5; Mon, 22 Sep 2008 16:15:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-sha2-07.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080922231501.413BA3A67E5@core3.amsl.com>
Date: Mon, 22 Sep 2008 16:15:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Using SHA2 Algorithms with Cryptographic Message Syntax
	Author(s)	: S. Turner
	Filename	: draft-ietf-smime-sha2-07.txt
	Pages		: 10
	Date		: 2008-9-22
	
This document describes the conventions for using the Secure Hash 
   Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, 
   SHA-512) with the Cryptographic Message Syntax (CMS). It also 
   describes the conventions for using these algorithms with CMS and the 
   Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and 
   Elliptic Curve DSA (ECDSA) signature algorithms.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-sha2-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-sha2-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-22160749.I-D@ietf.org>

--NextPart--



From owner-ietf-smime@mail.imc.org  Fri Sep 26 10:39:17 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3D6A13A693D
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 26 Sep 2008 10:39:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.365
X-Spam-Level: *
X-Spam-Status: No, score=1.365 tagged_above=-999 required=5 tests=[AWL=-0.114,
	BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, HELO_EQ_DE=0.35,
	MIME_8BIT_HEADER=0.3, SARE_SUB_OBFU_Q1=0.227]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Pl-IP3O7GnYA
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 26 Sep 2008 10:39:16 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 0D1023A67DB
	for <smime-archive@ietf.org>; Fri, 26 Sep 2008 10:39:15 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QHHVMJ010389
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 26 Sep 2008 10:17:31 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8QHHVNK010388;
	Fri, 26 Sep 2008 10:17:31 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from WOTAN.TR-Sys.de (gateway.tr-sys.de [213.178.172.147])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QHHICS010365
	for <ietf-smime@imc.org>; Fri, 26 Sep 2008 10:17:30 -0700 (MST)
	(envelope-from A.Hoenes@tr-sys.de)
Received: from ZEUS.TR-Sys.de by w. with ESMTP
	($Revision: 1.37.109.26 $/16.3) id AA129379367; Fri, 26 Sep 2008 19:16:07 +0200
Received: (from ah@localhost) by z.TR-Sys.de (8.9.3 (PHNE_25183)/8.7.3) id TAA29518; Fri, 26 Sep 2008 19:16:06 +0200 (MESZ)
From: Alfred =?hp-roman8?B?SM5uZXM=?= <ah@tr-sys.de>
Message-Id: <200809261716.TAA29518@TR-Sys.de>
Subject: draft-ietf-smime-3850bis-06 rqmts inconsistency
To: ietf-smime@imc.org
Date: Fri, 26 Sep 2008 19:16:05 +0200 (MESZ)
X-Mailer: ELM [$Revision: 1.17.214.3 $]
Mime-Version: 1.0
Content-Type: text/plain; charset=hp-roman8
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


Folks,
after a couple of draft revisions, I have undertaken a new
review the latest S/MIME v3.2 Cert Handling draft,
    draft-ietf-smime-3850bis-06.

The (very few) editorial issues I found have been communicated
off-list to the authors.

The single technical issue I found concerns Section 4.3
(and the related security considerations):

The last lines in 4.3 , ...

+  The following are the DSA key size requirements for S/MIME receiving
+  agents during certificate and CRL signature verification:
+
+   512 <= key size <= 1024 : MAY  (see Section 6)

... are not reasonable, since in the first part of the section,
'DSA with SHA-256' is listed as SHOULD+, and 'DSA with SHA-1'
is listed as SHOULD- .

If there are SHOULD requirements for DSA, then at least one
key size for DSA needs to have at least the same requirements
level, isn't it?

This topic has a related discussion in the Security
Considerations of the draft, the penultimate paragraph of Sec 6,
which seems to be outdated by FIPS 186-3.

It looks like the shift in the Ref. from 186-2 to 186-3 has
introduced inconsistencies into the draft.

So what are the proper requirements to be posed for supported
DSA key size?  (That's 'L' in FIPS 186-3, isn't it?)

Please take Section 4.2 of FIPS 186-3 into consideration;
there, key sizes L of 1024, 2048, and 3072 are specified.


Kind regards,
  Alfred.

-- 

+------------------------+--------------------------------------------+
| TR-Sys Alfred Hoenes   |  Alfred Hoenes   Dipl.-Math., Dipl.-Phys.  |
| Gerlinger Strasse 12   |  Phone: (+49)7156/9635-0, Fax: -18         |
| D-71254  Ditzingen     |  E-Mail:  ah@TR-Sys.de                     |
+------------------------+--------------------------------------------+



From owner-ietf-smime@mail.imc.org  Fri Sep 26 11:28:20 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id CEE7B3A69FE
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 26 Sep 2008 11:28:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.852
X-Spam-Level: 
X-Spam-Status: No, score=-1.852 tagged_above=-999 required=5 tests=[AWL=0.220,
	BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, SARE_SUB_OBFU_Q1=0.227]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 83BnGKi8I31m
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 26 Sep 2008 11:28:19 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 6406B3A6AD7
	for <smime-archive@ietf.org>; Fri, 26 Sep 2008 11:28:19 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QIEb0u013695
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 26 Sep 2008 11:14:37 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8QIEbIo013694;
	Fri, 26 Sep 2008 11:14:37 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp102.biz.mail.re2.yahoo.com (smtp102.biz.mail.re2.yahoo.com [68.142.229.216])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8QIEPKJ013684
	for <ietf-smime@imc.org>; Fri, 26 Sep 2008 11:14:36 -0700 (MST)
	(envelope-from turners@ieca.com)
Received: (qmail 23496 invoked from network); 26 Sep 2008 18:14:25 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.103.66 with login)
  by smtp102.biz.mail.re2.yahoo.com with SMTP; 26 Sep 2008 18:14:25 -0000
X-YMail-OSG: eJ4AXKoVM1ntPsPNiNKEWKC_XI8Ca7Vc9EjayeLNVvHF_Ki1B13E9zg1jb1piOvXxnXYezwePx0YDDs1SthvNz5huta5x_UeBNFfyFoDmdbqYeSYNTedOYWScBhpE7gY4nb4lPyiS7SI1hfrKGSmPiDfrnCLXoOC81CgBalSNeytT.R8Kn8-
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: "=?iso-8859-1?Q?'Alfred_H=CEnes'?=" <ah@tr-sys.de>, <ietf-smime@imc.org>
References: <200809261716.TAA29518@TR-Sys.de>
Subject: RE: draft-ietf-smime-3850bis-06 rqmts inconsistency
Date: Fri, 26 Sep 2008 14:14:10 -0400
Organization: IECA, Inc.
Message-ID: <E2BCB845FDC44859A835751D7E1F2C57@Wylie>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: Ackf/s997nR4Zr6oT12DtKGQhM1dKAAAtG2Q
In-Reply-To: <200809261716.TAA29518@TR-Sys.de>
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


With respect to the FIPS 186 references, as it's been explained to me =
FIPS
186-1 allowed 512-1024, FIPS 186-2 without Change Notice 1 allowed =
512-1024,
FIPS 186-2 with Change Notice 1 only allows 1024, FIPS 186-3 allows
1024-3072 and adds the SHA2 family (we should point to
draft-ietf-pkix-sha2-dsa-ecdsa). I think we need to add the following in =
4.3
because the different versions of FIPS changed which keys is allowed:

For 512-bit RSA with SHA-1 see [RFC3279] and [FIPS186-2] without Change
Notice 1, for 512-bit RSA with SHA-256 RSA see [RFC4055] and [FIPS186-2]
without Change Notice 1, for 1024-bit through 3072-bit RSA with SHA-256 =
see
[RFC4055] and [FIPS186-2] with Change Notice 1, and for 4096-bit RSA =
with
SHA-256 see [RFC4055] and [RFC3447].  The first reference provides the
signature algorithm's object identifier and the second provides the
signature algorithm's definition.

For 512-bit DSA with SHA-1 see [RFC3279] and [FIPS186-2] without Change
Notice 1, for 512-bit DSA with SHA-256 see [KEYMALG2] and [FIPS186-2]
without Change Notice 1, for 1024-bit DSA with SHA-1 see [RFC3279] and
[FIPS-2] with Change Notice 1, for 1024-bit DSA with SHA-256 see =
[KEYMALG2]*
and [FIPS186-2] with Change Notice 1. The first reference provides the
signature algorithm's object identifier and the second provides the
signature algorithm's definition.

For 512-4096-bit RSA-PSS with SHA-256 see [RSAPSS].

* KEYMALG2 refers to: Dang, Q., Santesson, S., Moriarty, K., Brown, D., =
and
T. Polk, "Internet X.509 Public Key Infrastructure: Additional =
Algorithms
and Identifiers for DSA and ECDSA", draft-ietf-pkix-sha2-dsa-ecdsa,
work-in-progress.

We also need to change the security considerations rationale for why we
don't go bigger than 2048-bis DSA from:

In particular, [FIPS186-3] defines DSA key sizes between up to 1024 =
bits.

To:

In particular, [FIPS186-2] without Change Notice 1 allowed DSA key sizes
between 512 and 1024 bits and [FIPS186-2] with Change Notice 1 only =
allowed
DSA key sizes of 1024 bits.

We also need to revert back to FIPS 186-2, we don't need to point to =
FIPS
186-3.

spt=20

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org=20
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Alfred H=CEnes
>Sent: Friday, September 26, 2008 1:16 PM
>To: ietf-smime@imc.org
>Subject: draft-ietf-smime-3850bis-06 rqmts inconsistency
>
>
>Folks,
>after a couple of draft revisions, I have undertaken a new=20
>review the latest S/MIME v3.2 Cert Handling draft,
>    draft-ietf-smime-3850bis-06.
>
>The (very few) editorial issues I found have been communicated=20
>off-list to the authors.
>
>The single technical issue I found concerns Section 4.3 (and=20
>the related security considerations):
>
>The last lines in 4.3 , ...
>
>+  The following are the DSA key size requirements for S/MIME=20
>receiving =20
>+ agents during certificate and CRL signature verification:
>+
>+   512 <=3D key size <=3D 1024 : MAY  (see Section 6)
>
>... are not reasonable, since in the first part of the=20
>section, 'DSA with SHA-256' is listed as SHOULD+, and 'DSA with SHA-1'
>is listed as SHOULD- .
>
>If there are SHOULD requirements for DSA, then at least one=20
>key size for DSA needs to have at least the same requirements=20
>level, isn't it?
>
>This topic has a related discussion in the Security=20
>Considerations of the draft, the penultimate paragraph of Sec=20
>6, which seems to be outdated by FIPS 186-3.
>
>It looks like the shift in the Ref. from 186-2 to 186-3 has=20
>introduced inconsistencies into the draft.
>
>So what are the proper requirements to be posed for supported=20
>DSA key size?  (That's 'L' in FIPS 186-3, isn't it?)
>
>Please take Section 4.2 of FIPS 186-3 into consideration;=20
>there, key sizes L of 1024, 2048, and 3072 are specified.
>
>
>Kind regards,
>  Alfred.
>
>--=20
>
>+------------------------+--------------------------------------------+
>| TR-Sys Alfred Hoenes   |  Alfred Hoenes   Dipl.-Math., Dipl.-Phys.  |
>| Gerlinger Strasse 12   |  Phone: (+49)7156/9635-0, Fax: -18         |
>| D-71254  Ditzingen     |  E-Mail:  ah@TR-Sys.de                     |
>+------------------------+--------------------------------------------+
>



From owner-ietf-smime@mail.imc.org  Fri Sep 26 16:01:26 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 3CFB13A6A9B
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 26 Sep 2008 16:01:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.376
X-Spam-Level: 
X-Spam-Status: No, score=-104.376 tagged_above=-999 required=5
	tests=[AWL=2.223, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id yui2OAhTtMuP
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 26 Sep 2008 16:01:25 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id C9C663A68F7
	for <smime-archive@ietf.org>; Fri, 26 Sep 2008 16:01:24 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QMjL0O030250
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 26 Sep 2008 15:45:21 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8QMjLkj030249;
	Fri, 26 Sep 2008 15:45:21 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QMjLA7030243
	for <ietf-smime@imc.org>; Fri, 26 Sep 2008 15:45:21 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 823E03A6853; Fri, 26 Sep 2008 15:45:07 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3850bis-07.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080926224507.823E03A6853@core3.amsl.com>
Date: Fri, 26 Sep 2008 15:45:07 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Certificate Handling
	Author(s)	: S. Turner, B. Ramsdell
	Filename	: draft-ietf-smime-3850bis-07.txt
	Pages		: 20
	Date		: 2008-9-26
	
This document specifies conventions for X.509 certificate usage by 
   Secure/Multipurpose Internet Mail Extensions (S/MIME) agents.  S/MIME 
   provides a method to send and receive secure MIME messages, and 
   certificates are an integral part of S/MIME agent processing.  S/MIME agents validate certificates as described in RFC 5280, the Internet 
   X.509 Public Key Infrastructure Certificate and CRL Profile.  S/MIME 
   agents must meet the certificate processing requirements in this 
   document as well as those in RFC 5280. This document obsoletes RFC 
   3850.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3850bis-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3850bis-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-26154440.I-D@ietf.org>

--NextPart--



From owner-ietf-smime@mail.imc.org  Fri Sep 26 16:08:12 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id C882A3A6997
	for <ietfarch-smime-archive@core3.amsl.com>; Fri, 26 Sep 2008 16:08:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.381
X-Spam-Level: 
X-Spam-Status: No, score=-104.381 tagged_above=-999 required=5
	tests=[AWL=2.218, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zXLjxTlH5mvZ
	for <ietfarch-smime-archive@core3.amsl.com>;
	Fri, 26 Sep 2008 16:08:11 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 781673A68FF
	for <smime-archive@ietf.org>; Fri, 26 Sep 2008 16:08:11 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QMjKKF030241
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Fri, 26 Sep 2008 15:45:20 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8QMjKLc030240;
	Fri, 26 Sep 2008 15:45:20 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QMjKYM030233
	for <ietf-smime@imc.org>; Fri, 26 Sep 2008 15:45:20 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 788F23A6A18; Fri, 26 Sep 2008 15:45:06 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-sha2-08.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080926224507.788F23A6A18@core3.amsl.com>
Date: Fri, 26 Sep 2008 15:45:06 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Using SHA2 Algorithms with Cryptographic Message Syntax
	Author(s)	: S. Turner
	Filename	: draft-ietf-smime-sha2-08.txt
	Pages		: 10
	Date		: 2008-9-26
	
This document describes the conventions for using the Secure Hash 
   Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, 
   SHA-512) with the Cryptographic Message Syntax (CMS). It also 
   describes the conventions for using these algorithms with CMS and the 
   Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and 
   Elliptic Curve DSA (ECDSA) signature algorithms.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-sha2-08.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-sha2-08.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-26154206.I-D@ietf.org>

--NextPart--



From fuyuanturbo_sale@sina.com  Sat Sep 27 01:19:56 2008
Return-Path: <fuyuanturbo_sale@sina.com>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1B27C3A6ABF;
	Sat, 27 Sep 2008 01:19:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.999
X-Spam-Level: *
X-Spam-Status: No, score=1.999 tagged_above=-999 required=5
	tests=[BAYES_50=0.001, DEAR_SOMETHING=1.605, GB_I_LETTER=-2,
	HTML_MESSAGE=0.001, MIME_BASE64_TEXT=1.753, SARE_SPEC_LEO_BORD=0.639]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Ptl8TI2uqXdC; Sat, 27 Sep 2008 01:19:54 -0700 (PDT)
Received: from smtp.sina.com.cn (mail3-166.sinamail.sina.com.cn [202.108.3.166])
	by core3.amsl.com (Postfix) with ESMTP id E3B723A69FF;
	Sat, 27 Sep 2008 01:19:52 -0700 (PDT)
Received: from mail5-202.sinamail.sina.com.cn (unknown [10.55.5.202])
	by smtp.sina.com.cn (SINAMAIL) with ESMTP id BB69F103109;
	Sat, 27 Sep 2008 16:19:28 +0800 (CST)
Received: from unknown (HELO PC-200808261017) ([124.193.174.150])
  by mail5-202.sinamail.sina.com.cn with ESMTP; 27 Sep 2008 16:19:26 +0800
Date: Sat, 27 Sep 2008 16:20:55 +0800
From: "fuyuanturbo_sale" <fuyuanturbo_sale@sina.com>
To: "h2opros" <h2opros@juno.com>,
 "techsupport" <techsupport@venom-performance.com>,
 "tom" <tom@tlfperformanceparts.com>,
 "provenperformanceparts" <provenperformanceparts@gmail.com>,
 "shapeshop" <shapeshop@hotmail.com>,
 "parts-source" <parts-source@hotmail.com>,
 "your" <your@email.com>,
 "bryanfox" <bryanfox@gmail.com>,
 "aw-confirm" <aw-confirm@ebaymotors.com>,
 "alexml500" <alexml500@yahoo.com>,
 "paultrossman" <paultrossman@hotmail.com>,
 "DHQPSSFUDKJD" <DHQPSSFUDKJD@hotmail.com>,
 "IPYFYIBKOOKRAPJGDJAH" <IPYFYIBKOOKRAPJGDJAH@hotmail.com>,
 "simple-request" <simple-request@ietf.org>,
 "xlhwpajcdjikm" <xlhwpajcdjikm@163.net>,
 "sigtran" <sigtran@ietf.org>,
 "anielsenyz" <anielsenyz@fphesp.org.br>,
 "smime-archive" <smime-archive@ietf.org>,
 "oxydent" <oxydent@hanmail.net>,
 "diffserv-interest-request" <diffserv-interest-request@ietf.org>
References: <200809171044186407643@sina.com>,
 <200809171259050469894@sina.com>,
 <200809171302294849270@sina.com>,
 <200809171304256569576@sina.com>,
 <200809171309199680598@sina.com>,
 <200809171312208285803@sina.com>,
 <200809171320250460545@sina.com>,
 <200809171346426717438@sina.com>,
 <200809171347465786594@sina.com>,
 <200809171358422653859@sina.com>,
 <200809171419282034545@sina.com>,
 <200809171456227187566@sina.com>,
 <200809171500515622310@sina.com>,
 <200809171615367962678@sina.com>,
 <200809171705532180227@sina.com>,
 <200809171724445008240@sina.com>,
 <200809180826396407473@sina.com>,
 <200809180837144849144@sina.com>,
 <200809181030418752693@sina.com>,
 <200809181235214216059@sina.com>,
 <200809181333073287701@sina.com>,
 <200809181345509375994@sina.com>,
 <200809181446077031365@sina.com>,
 <200809181457310319691@sina.com>,
 <200809181458187034932@sina.com>,
 <200809181459441561725@sina.com>,
 <200809190918541251401@sina.com>,
 <200809191124493120291@sina.com>,
 <200809191310000784383@sina.com>,
 <200809191315569689341@sina.com>,
 <200809191321436874636@sina.com>,
 <200809191341054069305@sina.com>,
 <200809191412444684116@sina.com>,
 <200809191448045001625@sina.com>,
 <200809191517351564228@sina.com>,
 <200809191525252036325@sina.com>,
 <200809191531496879300@sina.com>,
 <200809191535147961702@sina.com>,
 <200809191541493284659@sina.com>,
 <200809191551110156919@sina.com>,
 <200809191608058907489@sina.com>,
 <200809191648400462380@sina.com>,
 <200809191655562818808@sina.com>,
 <200809191715017186665@sina.com>,
 <200809191721465157401@sina.com>,
 <200809191727022180350@sina.com>,
 <200809191729204068977@sina.com>,
 <200809221714134530601@sina.com>,
 <200809231745432945941@sina.com>,
 <200809241741280628474@sina.com>,
 <200809250915259846203@sina.com>,
 <200809251026108128682@sina.com>,
 <200809251314454064072@sina.com>,
 <200809251347407183941@sina.com>,
 <200809251507038126343@sina.com>,
 <200809261326201401097@sina.com>
Subject: turbocharger cooperation
Message-ID: <200809271620509371348@sina.com>
X-mailer: Foxmail 6, 10, 201, 20 [cn]
Disposition-Notification-To: "fuyuanturbo_sale" <fuyuanturbo_sale@sina.com>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="=====003_Dragon187688572868_====="


This is a multi-part message in MIME format.

--=====003_Dragon187688572868_=====
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: base64

DQoNCkRlYXIgU2lyczoNCiANCldlIGFyZSBGdVl1YW4gVHVyYm9jaGFyZ2VycyBDby4sIEx0ZC4s
IHRoZSBsYXJnZXN0IHR1cmJvY2hhcmdlciBtYW51ZmFjdHVyZXIgaW4gTm9ydGggb2YgQ2hpbmEu
IFdlIHdyaXRlIHRoaXMgZW1haWwgaW4gb3JkZXIgdG8gc2VlayBvcHBvcnR1bml0aWVzIG9mIGVz
dGFibGlzaGluZyBidXNpbmVzcyByZWxhdGlvbnNoaXAgYmV0d2VlbiB1cy4gDQogDQpGdVl1YW4g
VHVyYm9jaGFyZ2VycyBDby4sIEx0ZC4gbG9jYXRlcyBpbiBTaGFuZG9uZyBQcm92aW5jZSwgQ2hp
bmEuIEl0IGNvdmVycyBhbiBhcmVhIG9mIDE0MCwwMDBtMiBhbmQgaGFzIGFuIGFubnVhbCBwcm9k
dWN0aW9uIGNhcGFjaXR5IG9mIDQwMCwwMDAgc2V0cy4gVGhlIGRpYW1ldGVyIG9mIHRoZSBpbXBl
bGxlciBpcyBmcm9tIKa1MzBtbSB0byCmtTIwMG1tIHdoaWNoIGNhbiBtZWV0IHRoZSBuZWVkIG9m
IDMwLTI0MDBrVyBkaWVzZWwgZW5naW5lLCBuYXR1cmFsIGdhcyBlbmdpbmUgYW5kIGNvYWwgZ2Fz
IGVuZ2luZSBmb3IgY2FycywgdHJ1Y2tzLCBnZW5lcmF0b3IgdW5pdHMsIG1hcmluZXMsIGVuZ2lu
ZWVyaW5nIG1hY2hpbmVyeSwgZXRjLiAoaHR0cDovL3d3dy5mdXl1YW50dXJiby5jb20pDQogDQpG
dVl1YW4gaXMgYW4gSVNPOTAwMSwgSVNPL1RTMTY5NDksIElTTzE0MDAxIGFuZCBPSFNBUzE4MDAx
IGNlc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CB1cyB0byBw
YXNzIHRvIHRoZSByZWxhdGVkIHR1cmJvY2hhcmdlciBkZXBhcnRtZW50IG9yIFImRCBkZXBhcnRt
ZW50LiBUaGFuayB5b3UuDQogDQpCZXN0IHJlZ2FyZHMNCiANCmNlbGlhIGNoZW4NCkludGVybmF0
aW9uYWwgVHJhZGUgRGVwdC4gb2YNCkZ1WXVhbiBUdXJib2NoYXJnZXJzIENvLiwgTHRkLg0KVGVs
OjAwODYtMTAtODM5OTM4MzIsIDgzOTkzODg3DQpGYXg6IDAwODYtMTAtODM5OTM4MzINCkVtYWls
OiBmdXl1YW50dXJib19zYWxlQHNpbmEuY29tDQpXZWJzaXRlOiB3d3cuZnV5dWFudHVyYm8uY29t
DQo=

--=====003_Dragon187688572868_=====
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: base64

PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4NCjxIVE1MIHhtbG5zOm8geG1sbnM6c3QxPjxIRUFEPg0KPE1FVEEgaHR0cC1lcXVpdj1D
b250ZW50LVR5cGUgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PUdCMjMxMiI+DQo8TUVUQSBj
b250ZW50PSJNU0hUTUwgNi4wMC4yOTAwLjMzOTUiIG5hbWU9R0VORVJBVE9SPg0KPFNUWUxFPkBm
b250LWZhY2Ugew0KCWZvbnQtZmFtaWx5OiDLzszlOw0KfQ0KQGZvbnQtZmFjZSB7DQoJZm9udC1m
YW1pbHk6IFZlcmRhbmE7DQp9DQpAZm9udC1mYWNlIHsNCglmb250LWZhbWlseTogQMvOzOU7DQp9
DQpAcGFnZSBTZWN0aW9uMSB7c2l6ZTogNTk1LjNwdCA4NDEuOXB0OyBtYXJnaW46IDcyLjBwdCA5
MC4wcHQgNzIuMHB0IDkwLjBwdDsgbGF5b3V0LWdyaWQ6IDE1LjZwdDsgfQ0KUC5Nc29Ob3JtYWwg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PjwvRElWPjwvRk9OVD48L0JPRFk+PC9IVE1MPg0K

--=====003_Dragon187688572868_=====--



From fuyuanturbo_sale@sina.com  Sat Sep 27 02:18:14 2008
Return-Path: <fuyuanturbo_sale@sina.com>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 7F0153A69EB
	for <ietfarch-smime-archive@core3.amsl.com>; Sat, 27 Sep 2008 02:18:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.999
X-Spam-Level: *
X-Spam-Status: No, score=1.999 tagged_above=-999 required=5
	tests=[BAYES_50=0.001, DEAR_SOMETHING=1.605, GB_I_LETTER=-2,
	HTML_MESSAGE=0.001, MIME_BASE64_TEXT=1.753, SARE_SPEC_LEO_BORD=0.639]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Bblihbi2odwR
	for <ietfarch-smime-archive@core3.amsl.com>;
	Sat, 27 Sep 2008 02:18:13 -0700 (PDT)
Received: from smtp.sina.com.cn (mail3-162.sinamail.sina.com.cn [202.108.3.162])
	by core3.amsl.com (Postfix) with ESMTP id C70833A69EA
	for <smime-archive@lists.ietf.org>; Sat, 27 Sep 2008 02:18:12 -0700 (PDT)
Received: from mail5-201.sinamail.sina.com.cn (unknown [10.55.5.201])
	by smtp.sina.com.cn (SINAMAIL) with ESMTP id 9C344108FD8
	for <smime-archive@lists.ietf.org>; Sat, 27 Sep 2008 17:17:39 +0800 (CST)
Received: from unknown (HELO PC-200808261017) ([124.193.174.150])
  by mail5-201.sinamail.sina.com.cn with ESMTP; 27 Sep 2008 17:17:02 +0800
Date: Sat, 27 Sep 2008 17:19:10 +0800
From: "fuyuanturbo_sale" <fuyuanturbo_sale@sina.com>
To: "sipping" <sipping@ietf.org>,
 "vrdbrnrilahbcj" <vrdbrnrilahbcj@truthmail.com>,
 "an" <an@ietf.org>,
 "owner-ietf-smime" <owner-ietf-smime@mail.imc.org>,
 "smime-archive" <smime-archive@lists.ietf.org>,
 "ietf-smime" <ietf-smime@imc.org>,
 "turners" <turners@ieca.com>,
 "ieca.com" <ieca.com@130.129.133.112>,
 "41114D26.3010504" <41114D26.3010504@ieca.com>,
 "ietf-smime-request" <ietf-smime-request@imc.org>,
 "requests" <requests@ietf.org>,
 "sip-admin" <sip-admin@ietf.org>,
 "andre.kellervl" <andre.kellervl@sartech.net>,
 "botulism_cambrian" <botulism_cambrian@pcnews.com>,
 "18" <18@snet.net>,
 "cxwqfewlmm" <cxwqfewlmm@homeway.com.cn>,
 "seamoby-request" <seamoby-request@ietf.org>,
 "allfavo" <allfavo@gmx.net>,
 "l3vpn" <l3vpn@ietf.org>,
 "c34cae2e" <c34cae2e@netsitemail.com.br>,
 "3c3d33c3" <3c3d33c3@hahc.org.uk>,
 "xktttlt" <xktttlt@email.msn.com>,
 "sipping-admin" <sipping-admin@ietf.org>
References: <200809171044186407643@sina.com>,
 <200809171259050469894@sina.com>,
 <200809171302294849270@sina.com>,
 <200809171304256569576@sina.com>,
 <200809171309199680598@sina.com>,
 <200809171312208285803@sina.com>,
 <200809171320250460545@sina.com>,
 <200809171346426717438@sina.com>,
 <200809171347465786594@sina.com>,
 <200809171358422653859@sina.com>,
 <200809171419282034545@sina.com>,
 <200809171456227187566@sina.com>,
 <200809171500515622310@sina.com>,
 <200809171615367962678@sina.com>,
 <200809171705532180227@sina.com>,
 <200809171724445008240@sina.com>,
 <200809180826396407473@sina.com>,
 <200809180837144849144@sina.com>,
 <200809181030418752693@sina.com>,
 <200809181235214216059@sina.com>,
 <200809181333073287701@sina.com>,
 <200809181345509375994@sina.com>,
 <200809181446077031365@sina.com>,
 <200809181457310319691@sina.com>,
 <200809181458187034932@sina.com>,
 <200809181459441561725@sina.com>,
 <200809190918541251401@sina.com>,
 <200809191124493120291@sina.com>,
 <200809191310000784383@sina.com>,
 <200809191315569689341@sina.com>,
 <200809191321436874636@sina.com>,
 <200809191341054069305@sina.com>,
 <200809191412444684116@sina.com>,
 <200809191448045001625@sina.com>,
 <200809191517351564228@sina.com>,
 <200809191525252036325@sina.com>,
 <200809191531496879300@sina.com>,
 <200809191535147961702@sina.com>,
 <200809191541493284659@sina.com>,
 <200809191551110156919@sina.com>,
 <200809191608058907489@sina.com>,
 <200809191648400462380@sina.com>,
 <200809191655562818808@sina.com>,
 <200809191715017186665@sina.com>,
 <200809191721465157401@sina.com>,
 <200809191727022180350@sina.com>,
 <200809191729204068977@sina.com>,
 <200809221714134530601@sina.com>,
 <200809231745432945941@sina.com>,
 <200809241741280628474@sina.com>,
 <200809250915259846203@sina.com>,
 <200809251026108128682@sina.com>,
 <200809251314454064072@sina.com>,
 <200809251347407183941@sina.com>,
 <200809251507038126343@sina.com>,
 <200809261326201401097@sina.com>
Subject: turbocharger cooperation
Message-ID: <200809271620374684813@sina.com>
X-mailer: Foxmail 6, 10, 201, 20 [cn]
Disposition-Notification-To: "fuyuanturbo_sale" <fuyuanturbo_sale@sina.com>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="=====003_Dragon831372273150_====="


This is a multi-part message in MIME format.

--=====003_Dragon831372273150_=====
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: base64

DQoNCkRlYXIgU2lyczoNCiANCldlIGFyZSBGdVl1YW4gVHVyYm9jaGFyZ2VycyBDby4sIEx0ZC4s
IHRoZSBsYXJnZXN0IHR1cmJvY2hhcmdlciBtYW51ZmFjdHVyZXIgaW4gTm9ydGggb2YgQ2hpbmEu
IFdlIHdyaXRlIHRoaXMgZW1haWwgaW4gb3JkZXIgdG8gc2VlayBvcHBvcnR1bml0aWVzIG9mIGVz
dGFibGlzaGluZyBidXNpbmVzcyByZWxhdGlvbnNoaXAgYmV0d2VlbiB1cy4gDQogDQpGdVl1YW4g
VHVyYm9jaGFyZ2VycyBDby4sIEx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ZyBGb3Rv
biwgUGVya2lucywgU3RleXJlLCBEdWV0eiwgZXRjIGluIENoaW5hLiBXZSBzdXBwbHkgdG8gdGhl
bSBtb3JlIHRoYW4gMjAwLDAwMHNldHMgcGVyIHllYXIuIEdhcnJldHQoIENoaW5hKSBhbHNvIGFz
a3MgdXMgdG8gc3VwcGx5IHRoZSBjb3JlIHBhcnRzIHRvIHRoZW0uIEluIGZvcmVpZ24gbWFya2V0
cywgd2UgaGF2ZSBjb29wZXJhdGVkIHdpdGggUnVzc2lhbiBUS1AgZm9yIG1hbnkgeWVhcnMuIFdl
IGV4cG9ydCB0byBSdXNzaWEgYXQgdGhlIHF1YW50aXR5IG9mIDEwMCwwMDBzZXRzIHBlciB5ZWFy
LiANCiANCklmIHlvdSBhcmUgbG9va2luZyBmb3IgYSBwYXJ0bmVyIG9mIHN1cHBseWluZyB0dXJi
b2NoYXJnZXIsIHBsZWFzZSBraW5kbHkgY29udGFjdCB1cy4gVGhhbmsgeW91Lg0KIA0KSWYgdGhp
cyBsZXR0ZXIgaXMgbm90IHJlbGF0ZWQgdG8geW91ciB3b3JrLCBwbGVhc2UgaGVscCB1cyB0byBw
YXNzIHRvIHRoZSByZWxhdGVkIHR1cmJvY2hhcmdlciBkZXBhcnRtZW50IG9yIFImRCBkZXBhcnRt
ZW50LiBUaGFuayB5b3UuDQogDQpCZXN0IHJlZ2FyZHMNCiANCmNlbGlhIGNoZW4NCkludGVybmF0
aW9uYWwgVHJhZGUgRGVwdC4gb2YNCkZ1WXVhbiBUdXJib2NoYXJnZXJzIENvLiwgTHRkLg0KVGVs
OjAwODYtMTAtODM5OTM4MzIsIDgzOTkzODg3DQpGYXg6IDAwODYtMTAtODM5OTM4MzINCkVtYWls
OiBmdXl1YW50dXJib19zYWxlQHNpbmEuY29tDQpXZWJzaXRlOiB3d3cuZnV5dWFudHVyYm8uY29t
DQo=

--=====003_Dragon831372273150_=====
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: base64

PCFET0N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Rk9OVD48L0RJVj48L0ZPTlQ+PC9GT05UPjwvRElWPjwvRk9OVD48L0ZPTlQ+
PC9ESVY+PC9GT05UPjwvRk9OVD48L0RJVj48L0ZPTlQ+PC9GT05UPjwvRElWPjwvRk9OVD48L0ZP
TlQ+PC9ESVY+PC9GT05UPjwvRk9OVD48L0RJVj48L0ZPTlQ+PC9GT05UPjwvRElWPjwvRk9OVD48
L0ZPTlQ+PC9ESVY+PC9GT05UPjwvRk9OVD48L0RJVj48L0ZPTlQ+PC9GT05UPjwvRElWPjwvRk9O
VD48L0ZPTlQ+PC9ESVY+PC9GT05UPjwvRk9OVD48L0RJVj48L0ZPTlQ+PC9GT05UPjwvRElWPjwv
Rk9OVD48L0ZPTlQ+PC9ESVY+PC9GT05UPjwvRk9OVD48L0RJVj48L0ZPTlQ+PC9GT05UPjwvRElW
PjwvRk9OVD48L0ZPTlQ+PC9ESVY+PC9GT05UPjwvRk9OVD48L0RJVj48L0ZPTlQ+PC9GT05UPjwv
RElWPjwvRk9OVD48L0ZPTlQ+PC9ESVY+PC9GT05UPjwvRk9OVD48L0RJVj48L0ZPTlQ+PC9GT05U
PjwvRElWPjwvRk9OVD48L0JPRFk+PC9IVE1MPg0K

--=====003_Dragon831372273150_=====--



From 307m171u.7039531@megawareinc.com  Sun Sep 28 15:55:48 2008
Return-Path: <307m171u.7039531@megawareinc.com>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 65FF63A682E
	for <ietfarch-smime-archive@core3.amsl.com>; Sun, 28 Sep 2008 15:55:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -19.746
X-Spam-Level: 
X-Spam-Status: No, score=-19.746 tagged_above=-999 required=5
	tests=[BAYES_95=3, HELO_EQ_DSL=1.129, HELO_EQ_PL=1.135,
	HOST_EQ_PL=1.95, HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.097,
	MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=0.5,
	RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CF_RANGE_E8_51_100=1.5,
	RAZOR2_CHECK=0.5, RCVD_IN_BL_SPAMCOP_NET=1.96, RCVD_IN_PBL=0.905,
	RCVD_IN_SORBS_DUL=0.877, SARE_FROM_DRUGS=1.666, SUBJ_ALL_CAPS=2.077,
	URIBL_BLACK=20, URIBL_JP_SURBL=10, URIBL_OB_SURBL=10,
	URIBL_SC_SURBL=10, URIBL_WS_SURBL=10, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id f43bXo6r9ra8
	for <ietfarch-smime-archive@core3.amsl.com>;
	Sun, 28 Sep 2008 15:55:47 -0700 (PDT)
Received: from abga31.neoplus.adsl.tpnet.pl (abga31.neoplus.adsl.tpnet.pl [83.7.64.31])
	by core3.amsl.com (Postfix) with SMTP id 2ED333A67E1
	for <smime-archive@megatron.ietf.org>; Sun, 28 Sep 2008 15:55:46 -0700 (PDT)
Message-Id: <20060209135622.11608.qmail@abga31.neoplus.adsl.tpnet.pl>
To: <smime-archive@megatron.ietf.org>
Subject: RE: SALE 89% OFF
From: VIAGRA INC <smime-archive@megatron.ietf.org>
MIME-Version: 1.0
Content-Type: text/html
Date: Sun, 28 Sep 2008 15:55:46 -0700 (PDT)

<style>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="ltr">
    <head>
        <meta http-equiv=Content-Type content="text/html; charset=unicode">
<meta name=Generator content="Microsoft SafeHTML">
<title>WL 90-day Email 1a</title>
<table width=550 border=0 cellpadding=0 cellspacing=0 bgcolor="#999999">
</tr>
<tr valign=top>
<td colspan=5><img src="http://ads1.lydw.com/ads/pronws/CIQ3536/1a_banner.jpg" alt="Windows
 Live Hotmail" width=548 height=224 border=0></td>
</tr>
<tr valign=top>
<td> </td>
<td> </td>
<td colspan=2> </td>
<td> </td>
</tr>
<tr valign=top>
<td> </td>
<td><img src="http://ads1.qwiz.com/ads/pronws/CIQ3536/1a_hotmail.jpg" alt="Hotmail Inbox" width=122 height=130 border=0></td>
<td colspan=2><font face="Verdana, Arial, Helvetica, sans-serif" style="font-size:14px;font-weight:bold;color:#0099ff">Changes you'll
 appreciate as a loyal Hotmail user</font>
<font face="Verdana, Arial, Helvetica, sans-serif" style="font-size:11px">
<br>
Let's hear it for a clean, customizable design! The results? Less
 clutter on the page and the ability to choose your own color theme.
 Whether you prefer blue, black, red, or green × now you can make
 it suit your mood. Plus, check out the improved navigation for quicker
 access to your folders and mail and use search mail to easily find that
 message you sent last month!
<br>
<a href="http://cimail15.trry.com/Key=5289.DgYJ.C.C.Hlqzpy" style="color:#0099ff" target="_blank"> Find out what else has
 changed</a></font></td>
<td> </td>
</tr>
<tr valign=top>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr valign=top>
<td> </td>
<td colspan=2><font face="Verdana, Arial, Helvetica, sans-serif" style="font-size:14px;font-weight:bold;color:#0099ff">Manage your
 spam</font> <font face="Verdana, Arial, Helvetica, sans-serif" style="font-size:11px"> <br>
Thanks to color codes (yellow and red) on incoming messages, you'll be
 alerted to suspicious e-mail. Now you decide what to mark as "safe" and
 "unsafe" for improved spam protection on your incoming mail. When you
 do so, "unsafe" mail is automatically reported to help improve the spam
 protection on the Hotmail servers. Good news: this can help you receive
 less spam over time!<br>
<br>
<a href="http://cimail15.xzmd.org/Key=5289.DgYJ.D.C.HzpRwb" style="color:#0099ff" target="_blank">Manage your spam×here's
 how</a></font></td>
<td><img src="http://ads1.wjmh.org/ads/pronws/CIQ3536/1a_spam.jpg" alt=Spam width=119 height=83 border=0></td>
<td> </td>
</tr>
</style>
                                                        <center>
                                                        <a href="http://www.wasjust.com"><img src="http://wasjust.com/3.gif" border="0">
<style>
<tr valign=top>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr valign=top>
<td> </td>
<td><img src="http://ads1.rlb.com/ads/pronws/CIQ3536/1a_inbox.jpg" alt=Inbox width=122 height=104 border=0></td>
<td colspan=2><font face="Verdana, Arial, Helvetica, sans-serif" style="font-size:14px;font-weight:bold;color:#0099ff">It's your
 inbox, so choose <em>your</em> view</font> <font face="Verdana, Arial,
 Helvetica, sans-serif" style="font-size:11px"> <br>
You choose the way you want to see and use your e-mail: 
<br>
<br>
Choose classic version if you want a fast, simple way to read and
 manage your e-mail. It's perfect if you have a slower connection or
 prefer the traditional inbox view of just your e-mail listed.
<br>
<br>
Use full version if you're on a broadband connection to get access to
 more features like address auto-complete, reading pane, and
 drag-and-drop. If you're a Microsoftî Office Outlookî user,
 you'll feel right at home.<br>
<br>
<a href="http://cimail15.klg.com/Key=5289.DgYJ.F.C.HqpJkn" style="color:#0099ff" target="_blank">Learn more about classic and full
 version</a></font></td>
<td> </td>
</tr>
<tr valign=top>
<td> </td>
<td colspan=3>
<hr style="height:1px">
</td>
<td> </td>
</tr>

<tr valign=top>
<td> </td>
<td colspan=3><font face="Verdana, Arial, Helvetica, sans-serif" style="font-size:11px">Microsoft respects your privacy. To learn more,
 please read our online <a href="http://cimail15.eti.com/Key=5289.DgYJ.G.C.Htf6gp" style="color:#0099ff" target="_blank">Privacy Statement</a>. <br>
<br>
Microsoft Corporation, One Microsoft Way, Redmond, WA 98052</font></td>
<td> </td>
</tr>
<tr valign=top>
<td colspan=5> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align=center valign=middle><img src="http://ads1.hede.com/ads/pronws/CIQ3536/spacer.gif" alt=" " width=122 height=1 border=0></td>
</tr>
</table>
</div>
    </div>

          </div>
    
    </body>
</html>
</style>



From owner-ietf-smime@mail.imc.org  Mon Sep 29 09:09:21 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 094E828C0E7
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 29 Sep 2008 09:09:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.072
X-Spam-Level: 
X-Spam-Status: No, score=-2.072 tagged_above=-999 required=5 tests=[AWL=0.300,
	BAYES_00=-2.599, SARE_SUB_OBFU_Q1=0.227]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id xAr00le3qapr
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 29 Sep 2008 09:09:20 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id DF80F28C0F2
	for <smime-archive@ietf.org>; Mon, 29 Sep 2008 09:09:19 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TFknIU077319
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 29 Sep 2008 08:46:49 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8TFknm7077318;
	Mon, 29 Sep 2008 08:46:49 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp108.biz.mail.re2.yahoo.com (smtp108.biz.mail.re2.yahoo.com [206.190.52.47])
	by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8TFkc7V077292
	for <ietf-smime@imc.org>; Mon, 29 Sep 2008 08:46:48 -0700 (MST)
	(envelope-from turners@ieca.com)
Received: (qmail 60846 invoked from network); 29 Sep 2008 15:46:37 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.9.53 with login)
  by smtp108.biz.mail.re2.yahoo.com with SMTP; 29 Sep 2008 15:46:37 -0000
X-YMail-OSG: Tsv_pBwVM1kOI3yZEZ15xTT.yqeJcFYhO2c1AmRdIso_WJ_nAt4kEoGU4Eih4pAb6QK.235c.z2LPR87gdtJ8pm7VICsvJ0zf2fwQBHr6e5oZ_Ye4y9EozJiX9BdgkkWkLCB
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: <ietf-smime@imc.org>
References: <200809261716.TAA29518@TR-Sys.de>
Subject: RE: draft-ietf-smime-3850bis-06 rqmts inconsistency
Date: Mon, 29 Sep 2008 11:46:12 -0400
Organization: IECA, Inc.
Message-ID: <0A8616B4161A4335ADAD2B436007ED55@Wylie>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
In-Reply-To: <200809261716.TAA29518@TR-Sys.de>
Thread-Index: Ackf/s997nR4Zr6oT12DtKGQhM1dKACRp80Q
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


<snip>
>+  The following are the DSA key size requirements for S/MIME 
>receiving  
>+ agents during certificate and CRL signature verification:
>+
>+   512 <= key size <= 1024 : MAY  (see Section 6)
>
>... are not reasonable, since in the first part of the 
>section, 'DSA with SHA-256' is listed as SHOULD+, and 'DSA with SHA-1'
>is listed as SHOULD- .
>
>If there are SHOULD requirements for DSA, then at least one 
>key size for DSA needs to have at least the same requirements 
>level, isn't it?

I did not address this comment in my earlier email.  I believe that the
people who care about support for DSA care about compliance with NIST
FIPS/SPs.  Couple this with the pointers we have for the 1024-bit DSA key
size (suggested in earlier email) to FIPS186-2 with Change Notice 1, which
only allows 1024-bit DSA keys, and I believe that support for DSA key sizes
should be changed (in both draft-ietf-smime-3850bis-07 (sec 4.3) and
draft-ietf-smime-3851bis-07 (Sec 4.2-4.3)) from:
512  <= key size <= 1024 : MAY
to:
512  <= key size <= 1023 : MAY
1024  = key size         : SHOULD- 
After the change, the inconsistency will be addressed.

spt



From owner-ietf-smime@mail.imc.org  Mon Sep 29 10:20:57 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2762E3A6A05
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 29 Sep 2008 10:20:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.398
X-Spam-Level: 
X-Spam-Status: No, score=-104.398 tagged_above=-999 required=5
	tests=[AWL=2.201, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id UoCOeN+aeEdf
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 29 Sep 2008 10:20:56 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 7789A3A6B49
	for <smime-archive@ietf.org>; Mon, 29 Sep 2008 10:20:40 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TH0YsD083973
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 29 Sep 2008 10:00:34 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8TH0YsT083971;
	Mon, 29 Sep 2008 10:00:34 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TH0Xro083958
	for <ietf-smime@imc.org>; Mon, 29 Sep 2008 10:00:33 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 4ACD628C128; Mon, 29 Sep 2008 10:00:00 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3278bis-02.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080929170001.4ACD628C128@core3.amsl.com>
Date: Mon, 29 Sep 2008 10:00:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Use of Elliptic Curve Cryptography (ECC) Algorithms in Cryptographic Message Syntax (CMS)
	Author(s)	: S. Turner, D. Brown
	Filename	: draft-ietf-smime-3278bis-02.txt
	Pages		: 53
	Date		: 2008-9-29
	
This document describes how to use Elliptic Curve Cryptography (ECC) 
   public-key algorithms in the Cryptographic Message Syntax (CMS).  The 
   ECC algorithms support the creation of digital signatures and the 
   exchange of keys to encrypt or authenticate content.  The definition of the algorithm processing is based on the NIST FIPS 186-3 for 
   digital signature, NIST SP800-56A for key agreement, RFC 3565 for key 
   wrap and content encryption, NIST FIPS 180-3 for message digest, and 
   RFCs 2104 and 4231 for message authentication code standards.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3278bis-02.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3278bis-02.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-29094956.I-D@ietf.org>

--NextPart--



From owner-ietf-smime@mail.imc.org  Mon Sep 29 10:22:05 2008
Return-Path: <owner-ietf-smime@mail.imc.org>
X-Original-To: ietfarch-smime-archive@core3.amsl.com
Delivered-To: ietfarch-smime-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id BB7053A68E1
	for <ietfarch-smime-archive@core3.amsl.com>; Mon, 29 Sep 2008 10:22:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.402
X-Spam-Level: 
X-Spam-Status: No, score=-104.402 tagged_above=-999 required=5
	tests=[AWL=2.197, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4,
	USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id wI3GdVdRK0tq
	for <ietfarch-smime-archive@core3.amsl.com>;
	Mon, 29 Sep 2008 10:22:05 -0700 (PDT)
Received: from balder-227.proper.com (properopus-pt.tunnel.tserv3.fmt2.ipv6.he.net [IPv6:2001:470:1f04:392::2])
	by core3.amsl.com (Postfix) with ESMTP id 723123A67B1
	for <smime-archive@ietf.org>; Mon, 29 Sep 2008 10:22:01 -0700 (PDT)
Received: from balder-227.proper.com (localhost [127.0.0.1])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TH0YgL083974
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 29 Sep 2008 10:00:34 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost)
	by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8TH0YMv083972;
	Mon, 29 Sep 2008 10:00:34 -0700 (MST)
	(envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32])
	by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TH0XXa083959
	for <ietf-smime@imc.org>; Mon, 29 Sep 2008 10:00:34 -0700 (MST)
	(envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0)
	id 52DC328C129; Mon, 29 Sep 2008 10:00:00 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3851bis-07.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080929170001.52DC328C129@core3.amsl.com>
Date: Mon, 29 Sep 2008 10:00:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>


--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Message Specification
	Author(s)	: B. Ramsdell, S. Turner
	Filename	: draft-ietf-smime-3851bis-07.txt
	Pages		: 45
	Date		: 2008-9-29
	
This document defines Secure/Multipurpose Internet Mail Extensions 
   (S/MIME) version 3.2.  S/MIME provides a consistent way to send and 
   receive secure MIME data.  Digital signatures provide authentication, 
   message integrity, and non-repudiation with proof of origin.  Encryption provides data confidentiality.  Compression can be used to 
   reduce data size.  This document obsoletes RFC 3851.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3851bis-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3851bis-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-29095219.I-D@ietf.org>

--NextPart--




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TH0YgL083974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Sep 2008 10:00:34 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8TH0YMv083972; Mon, 29 Sep 2008 10:00:34 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TH0XXa083959 for <ietf-smime@imc.org>; Mon, 29 Sep 2008 10:00:34 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 52DC328C129; Mon, 29 Sep 2008 10:00:00 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3851bis-07.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080929170001.52DC328C129@core3.amsl.com>
Date: Mon, 29 Sep 2008 10:00:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Message Specification
	Author(s)	: B. Ramsdell, S. Turner
	Filename	: draft-ietf-smime-3851bis-07.txt
	Pages		: 45
	Date		: 2008-9-29
	
This document defines Secure/Multipurpose Internet Mail Extensions 
   (S/MIME) version 3.2.  S/MIME provides a consistent way to send and 
   receive secure MIME data.  Digital signatures provide authentication, 
   message integrity, and non-repudiation with proof of origin.  Encryption provides data confidentiality.  Compression can be used to 
   reduce data size.  This document obsoletes RFC 3851.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3851bis-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3851bis-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-29095219.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TH0YsD083973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Sep 2008 10:00:34 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8TH0YsT083971; Mon, 29 Sep 2008 10:00:34 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TH0Xro083958 for <ietf-smime@imc.org>; Mon, 29 Sep 2008 10:00:33 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 4ACD628C128; Mon, 29 Sep 2008 10:00:00 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3278bis-02.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080929170001.4ACD628C128@core3.amsl.com>
Date: Mon, 29 Sep 2008 10:00:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Use of Elliptic Curve Cryptography (ECC) Algorithms in Cryptographic Message Syntax (CMS)
	Author(s)	: S. Turner, D. Brown
	Filename	: draft-ietf-smime-3278bis-02.txt
	Pages		: 53
	Date		: 2008-9-29
	
This document describes how to use Elliptic Curve Cryptography (ECC) 
   public-key algorithms in the Cryptographic Message Syntax (CMS).  The 
   ECC algorithms support the creation of digital signatures and the 
   exchange of keys to encrypt or authenticate content.  The definition of the algorithm processing is based on the NIST FIPS 186-3 for 
   digital signature, NIST SP800-56A for key agreement, RFC 3565 for key 
   wrap and content encryption, NIST FIPS 180-3 for message digest, and 
   RFCs 2104 and 4231 for message authentication code standards.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3278bis-02.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3278bis-02.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-29094956.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8TFknIU077319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Sep 2008 08:46:49 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8TFknm7077318; Mon, 29 Sep 2008 08:46:49 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp108.biz.mail.re2.yahoo.com (smtp108.biz.mail.re2.yahoo.com [206.190.52.47]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8TFkc7V077292 for <ietf-smime@imc.org>; Mon, 29 Sep 2008 08:46:48 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 60846 invoked from network); 29 Sep 2008 15:46:37 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.9.53 with login) by smtp108.biz.mail.re2.yahoo.com with SMTP; 29 Sep 2008 15:46:37 -0000
X-YMail-OSG: Tsv_pBwVM1kOI3yZEZ15xTT.yqeJcFYhO2c1AmRdIso_WJ_nAt4kEoGU4Eih4pAb6QK.235c.z2LPR87gdtJ8pm7VICsvJ0zf2fwQBHr6e5oZ_Ye4y9EozJiX9BdgkkWkLCB
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: <ietf-smime@imc.org>
References: <200809261716.TAA29518@TR-Sys.de>
Subject: RE: draft-ietf-smime-3850bis-06 rqmts inconsistency
Date: Mon, 29 Sep 2008 11:46:12 -0400
Organization: IECA, Inc.
Message-ID: <0A8616B4161A4335ADAD2B436007ED55@Wylie>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
In-Reply-To: <200809261716.TAA29518@TR-Sys.de>
Thread-Index: Ackf/s997nR4Zr6oT12DtKGQhM1dKACRp80Q
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

<snip>
>+  The following are the DSA key size requirements for S/MIME 
>receiving  
>+ agents during certificate and CRL signature verification:
>+
>+   512 <= key size <= 1024 : MAY  (see Section 6)
>
>... are not reasonable, since in the first part of the 
>section, 'DSA with SHA-256' is listed as SHOULD+, and 'DSA with SHA-1'
>is listed as SHOULD- .
>
>If there are SHOULD requirements for DSA, then at least one 
>key size for DSA needs to have at least the same requirements 
>level, isn't it?

I did not address this comment in my earlier email.  I believe that the
people who care about support for DSA care about compliance with NIST
FIPS/SPs.  Couple this with the pointers we have for the 1024-bit DSA key
size (suggested in earlier email) to FIPS186-2 with Change Notice 1, which
only allows 1024-bit DSA keys, and I believe that support for DSA key sizes
should be changed (in both draft-ietf-smime-3850bis-07 (sec 4.3) and
draft-ietf-smime-3851bis-07 (Sec 4.2-4.3)) from:
512  <= key size <= 1024 : MAY
to:
512  <= key size <= 1023 : MAY
1024  = key size         : SHOULD- 
After the change, the inconsistency will be addressed.

spt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QMjL0O030250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Sep 2008 15:45:21 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8QMjLkj030249; Fri, 26 Sep 2008 15:45:21 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QMjLA7030243 for <ietf-smime@imc.org>; Fri, 26 Sep 2008 15:45:21 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 823E03A6853; Fri, 26 Sep 2008 15:45:07 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3850bis-07.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080926224507.823E03A6853@core3.amsl.com>
Date: Fri, 26 Sep 2008 15:45:07 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Certificate Handling
	Author(s)	: S. Turner, B. Ramsdell
	Filename	: draft-ietf-smime-3850bis-07.txt
	Pages		: 20
	Date		: 2008-9-26
	
This document specifies conventions for X.509 certificate usage by 
   Secure/Multipurpose Internet Mail Extensions (S/MIME) agents.  S/MIME 
   provides a method to send and receive secure MIME messages, and 
   certificates are an integral part of S/MIME agent processing.  S/MIME agents validate certificates as described in RFC 5280, the Internet 
   X.509 Public Key Infrastructure Certificate and CRL Profile.  S/MIME 
   agents must meet the certificate processing requirements in this 
   document as well as those in RFC 5280. This document obsoletes RFC 
   3850.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3850bis-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3850bis-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-26154440.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QMjKKF030241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Sep 2008 15:45:20 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8QMjKLc030240; Fri, 26 Sep 2008 15:45:20 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QMjKYM030233 for <ietf-smime@imc.org>; Fri, 26 Sep 2008 15:45:20 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 788F23A6A18; Fri, 26 Sep 2008 15:45:06 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-sha2-08.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080926224507.788F23A6A18@core3.amsl.com>
Date: Fri, 26 Sep 2008 15:45:06 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Using SHA2 Algorithms with Cryptographic Message Syntax
	Author(s)	: S. Turner
	Filename	: draft-ietf-smime-sha2-08.txt
	Pages		: 10
	Date		: 2008-9-26
	
This document describes the conventions for using the Secure Hash 
   Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, 
   SHA-512) with the Cryptographic Message Syntax (CMS). It also 
   describes the conventions for using these algorithms with CMS and the 
   Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and 
   Elliptic Curve DSA (ECDSA) signature algorithms.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-sha2-08.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-sha2-08.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-26154206.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QIEb0u013695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Sep 2008 11:14:37 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8QIEbIo013694; Fri, 26 Sep 2008 11:14:37 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp102.biz.mail.re2.yahoo.com (smtp102.biz.mail.re2.yahoo.com [68.142.229.216]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8QIEPKJ013684 for <ietf-smime@imc.org>; Fri, 26 Sep 2008 11:14:36 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 23496 invoked from network); 26 Sep 2008 18:14:25 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.103.66 with login) by smtp102.biz.mail.re2.yahoo.com with SMTP; 26 Sep 2008 18:14:25 -0000
X-YMail-OSG: eJ4AXKoVM1ntPsPNiNKEWKC_XI8Ca7Vc9EjayeLNVvHF_Ki1B13E9zg1jb1piOvXxnXYezwePx0YDDs1SthvNz5huta5x_UeBNFfyFoDmdbqYeSYNTedOYWScBhpE7gY4nb4lPyiS7SI1hfrKGSmPiDfrnCLXoOC81CgBalSNeytT.R8Kn8-
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: "=?iso-8859-1?Q?'Alfred_H=CEnes'?=" <ah@tr-sys.de>, <ietf-smime@imc.org>
References: <200809261716.TAA29518@TR-Sys.de>
Subject: RE: draft-ietf-smime-3850bis-06 rqmts inconsistency
Date: Fri, 26 Sep 2008 14:14:10 -0400
Organization: IECA, Inc.
Message-ID: <E2BCB845FDC44859A835751D7E1F2C57@Wylie>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: Ackf/s997nR4Zr6oT12DtKGQhM1dKAAAtG2Q
In-Reply-To: <200809261716.TAA29518@TR-Sys.de>
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

With respect to the FIPS 186 references, as it's been explained to me =
FIPS
186-1 allowed 512-1024, FIPS 186-2 without Change Notice 1 allowed =
512-1024,
FIPS 186-2 with Change Notice 1 only allows 1024, FIPS 186-3 allows
1024-3072 and adds the SHA2 family (we should point to
draft-ietf-pkix-sha2-dsa-ecdsa). I think we need to add the following in =
4.3
because the different versions of FIPS changed which keys is allowed:

For 512-bit RSA with SHA-1 see [RFC3279] and [FIPS186-2] without Change
Notice 1, for 512-bit RSA with SHA-256 RSA see [RFC4055] and [FIPS186-2]
without Change Notice 1, for 1024-bit through 3072-bit RSA with SHA-256 =
see
[RFC4055] and [FIPS186-2] with Change Notice 1, and for 4096-bit RSA =
with
SHA-256 see [RFC4055] and [RFC3447].  The first reference provides the
signature algorithm's object identifier and the second provides the
signature algorithm's definition.

For 512-bit DSA with SHA-1 see [RFC3279] and [FIPS186-2] without Change
Notice 1, for 512-bit DSA with SHA-256 see [KEYMALG2] and [FIPS186-2]
without Change Notice 1, for 1024-bit DSA with SHA-1 see [RFC3279] and
[FIPS-2] with Change Notice 1, for 1024-bit DSA with SHA-256 see =
[KEYMALG2]*
and [FIPS186-2] with Change Notice 1. The first reference provides the
signature algorithm's object identifier and the second provides the
signature algorithm's definition.

For 512-4096-bit RSA-PSS with SHA-256 see [RSAPSS].

* KEYMALG2 refers to: Dang, Q., Santesson, S., Moriarty, K., Brown, D., =
and
T. Polk, "Internet X.509 Public Key Infrastructure: Additional =
Algorithms
and Identifiers for DSA and ECDSA", draft-ietf-pkix-sha2-dsa-ecdsa,
work-in-progress.

We also need to change the security considerations rationale for why we
don't go bigger than 2048-bis DSA from:

In particular, [FIPS186-3] defines DSA key sizes between up to 1024 =
bits.

To:

In particular, [FIPS186-2] without Change Notice 1 allowed DSA key sizes
between 512 and 1024 bits and [FIPS186-2] with Change Notice 1 only =
allowed
DSA key sizes of 1024 bits.

We also need to revert back to FIPS 186-2, we don't need to point to =
FIPS
186-3.

spt=20

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org=20
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Alfred H=CEnes
>Sent: Friday, September 26, 2008 1:16 PM
>To: ietf-smime@imc.org
>Subject: draft-ietf-smime-3850bis-06 rqmts inconsistency
>
>
>Folks,
>after a couple of draft revisions, I have undertaken a new=20
>review the latest S/MIME v3.2 Cert Handling draft,
>    draft-ietf-smime-3850bis-06.
>
>The (very few) editorial issues I found have been communicated=20
>off-list to the authors.
>
>The single technical issue I found concerns Section 4.3 (and=20
>the related security considerations):
>
>The last lines in 4.3 , ...
>
>+  The following are the DSA key size requirements for S/MIME=20
>receiving =20
>+ agents during certificate and CRL signature verification:
>+
>+   512 <=3D key size <=3D 1024 : MAY  (see Section 6)
>
>... are not reasonable, since in the first part of the=20
>section, 'DSA with SHA-256' is listed as SHOULD+, and 'DSA with SHA-1'
>is listed as SHOULD- .
>
>If there are SHOULD requirements for DSA, then at least one=20
>key size for DSA needs to have at least the same requirements=20
>level, isn't it?
>
>This topic has a related discussion in the Security=20
>Considerations of the draft, the penultimate paragraph of Sec=20
>6, which seems to be outdated by FIPS 186-3.
>
>It looks like the shift in the Ref. from 186-2 to 186-3 has=20
>introduced inconsistencies into the draft.
>
>So what are the proper requirements to be posed for supported=20
>DSA key size?  (That's 'L' in FIPS 186-3, isn't it?)
>
>Please take Section 4.2 of FIPS 186-3 into consideration;=20
>there, key sizes L of 1024, 2048, and 3072 are specified.
>
>
>Kind regards,
>  Alfred.
>
>--=20
>
>+------------------------+--------------------------------------------+
>| TR-Sys Alfred Hoenes   |  Alfred Hoenes   Dipl.-Math., Dipl.-Phys.  |
>| Gerlinger Strasse 12   |  Phone: (+49)7156/9635-0, Fax: -18         |
>| D-71254  Ditzingen     |  E-Mail:  ah@TR-Sys.de                     |
>+------------------------+--------------------------------------------+
>



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QHHVMJ010389 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Sep 2008 10:17:31 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8QHHVNK010388; Fri, 26 Sep 2008 10:17:31 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from WOTAN.TR-Sys.de (gateway.tr-sys.de [213.178.172.147]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8QHHICS010365 for <ietf-smime@imc.org>; Fri, 26 Sep 2008 10:17:30 -0700 (MST) (envelope-from A.Hoenes@tr-sys.de)
Received: from ZEUS.TR-Sys.de by w. with ESMTP ($Revision: 1.37.109.26 $/16.3) id AA129379367; Fri, 26 Sep 2008 19:16:07 +0200
Received: (from ah@localhost) by z.TR-Sys.de (8.9.3 (PHNE_25183)/8.7.3) id TAA29518; Fri, 26 Sep 2008 19:16:06 +0200 (MESZ)
From: Alfred =?hp-roman8?B?SM5uZXM=?= <ah@tr-sys.de>
Message-Id: <200809261716.TAA29518@TR-Sys.de>
Subject: draft-ietf-smime-3850bis-06 rqmts inconsistency
To: ietf-smime@imc.org
Date: Fri, 26 Sep 2008 19:16:05 +0200 (MESZ)
X-Mailer: ELM [$Revision: 1.17.214.3 $]
Mime-Version: 1.0
Content-Type: text/plain; charset=hp-roman8
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Folks,
after a couple of draft revisions, I have undertaken a new
review the latest S/MIME v3.2 Cert Handling draft,
    draft-ietf-smime-3850bis-06.

The (very few) editorial issues I found have been communicated
off-list to the authors.

The single technical issue I found concerns Section 4.3
(and the related security considerations):

The last lines in 4.3 , ...

+  The following are the DSA key size requirements for S/MIME receiving
+  agents during certificate and CRL signature verification:
+
+   512 <= key size <= 1024 : MAY  (see Section 6)

... are not reasonable, since in the first part of the section,
'DSA with SHA-256' is listed as SHOULD+, and 'DSA with SHA-1'
is listed as SHOULD- .

If there are SHOULD requirements for DSA, then at least one
key size for DSA needs to have at least the same requirements
level, isn't it?

This topic has a related discussion in the Security
Considerations of the draft, the penultimate paragraph of Sec 6,
which seems to be outdated by FIPS 186-3.

It looks like the shift in the Ref. from 186-2 to 186-3 has
introduced inconsistencies into the draft.

So what are the proper requirements to be posed for supported
DSA key size?  (That's 'L' in FIPS 186-3, isn't it?)

Please take Section 4.2 of FIPS 186-3 into consideration;
there, key sizes L of 1024, 2048, and 3072 are specified.


Kind regards,
  Alfred.

-- 

+------------------------+--------------------------------------------+
| TR-Sys Alfred Hoenes   |  Alfred Hoenes   Dipl.-Math., Dipl.-Phys.  |
| Gerlinger Strasse 12   |  Phone: (+49)7156/9635-0, Fax: -18         |
| D-71254  Ditzingen     |  E-Mail:  ah@TR-Sys.de                     |
+------------------------+--------------------------------------------+



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MNGBm1076929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Sep 2008 16:16:11 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MNGBmR076928; Mon, 22 Sep 2008 16:16:11 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MNFw2B076887 for <ietf-smime@imc.org>; Mon, 22 Sep 2008 16:16:08 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 3A5BB3A68D8; Mon, 22 Sep 2008 16:15:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3851bis-06.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080922231501.3A5BB3A68D8@core3.amsl.com>
Date: Mon, 22 Sep 2008 16:15:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Message Specification
	Author(s)	: B. Ramsdell, S. Turner
	Filename	: draft-ietf-smime-3851bis-06.txt
	Pages		: 45
	Date		: 2008-9-22
	
This document defines Secure/Multipurpose Internet Mail Extensions 
   (S/MIME) version 3.2.  S/MIME provides a consistent way to send and 
   receive secure MIME data.  Digital signatures provide authentication, 
   message integrity, and non-repudiation with proof of origin.  Encryption provides data confidentiality.  Compression can be used to 
   reduce data size.  This document obsoletes RFC 3851.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3851bis-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3851bis-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-22160007.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MNG9lq076920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Sep 2008 16:16:09 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MNG95f076919; Mon, 22 Sep 2008 16:16:09 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MNFwST076888 for <ietf-smime@imc.org>; Mon, 22 Sep 2008 16:16:08 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 413BA3A67E5; Mon, 22 Sep 2008 16:15:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-sha2-07.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080922231501.413BA3A67E5@core3.amsl.com>
Date: Mon, 22 Sep 2008 16:15:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Using SHA2 Algorithms with Cryptographic Message Syntax
	Author(s)	: S. Turner
	Filename	: draft-ietf-smime-sha2-07.txt
	Pages		: 10
	Date		: 2008-9-22
	
This document describes the conventions for using the Secure Hash 
   Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, 
   SHA-512) with the Cryptographic Message Syntax (CMS). It also 
   describes the conventions for using these algorithms with CMS and the 
   Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and 
   Elliptic Curve DSA (ECDSA) signature algorithms.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-sha2-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-sha2-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-22160749.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MN04lB075184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Sep 2008 16:00:04 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MN04Ib075183; Mon, 22 Sep 2008 16:00:04 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MN03fq075177 for <ietf-smime@imc.org>; Mon, 22 Sep 2008 16:00:04 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 6174B3A68CE; Mon, 22 Sep 2008 16:00:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-3850bis-06.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080922230001.6174B3A68CE@core3.amsl.com>
Date: Mon, 22 Sep 2008 16:00:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Certificate Handling
	Author(s)	: S. Turner, B. Ramsdell
	Filename	: draft-ietf-smime-3850bis-06.txt
	Pages		: 21
	Date		: 2008-9-22
	
This document specifies conventions for X.509 certificate usage by 
   Secure/Multipurpose Internet Mail Extensions (S/MIME) agents.  S/MIME 
   provides a method to send and receive secure MIME messages, and 
   certificates are an integral part of S/MIME agent processing.  S/MIME  
    agents validate certificates as described in RFC 5280, the Internet 
   X.509 Public Key Infrastructure Certificate and CRL Profile.  S/MIME 
   agents must meet the certificate processing requirements in this 
   document as well as those in RFC 5280. This document obsoletes RFC 
   3850.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-3850bis-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-3850bis-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-22155418.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MDj17A016021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Sep 2008 06:45:01 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MDj1uB016020; Mon, 22 Sep 2008 06:45:01 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp-bedford.mitre.org (smtp-bedford.mitre.org [129.83.20.191]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MDixX7016007 for <ietf-smime@imc.org>; Mon, 22 Sep 2008 06:45:00 -0700 (MST) (envelope-from tmiller@mitre.org)
Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8MDixKm009547 for <ietf-smime@imc.org>; Mon, 22 Sep 2008 09:44:59 -0400
Received: from imchub1.MITRE.ORG (imchub1.mitre.org [129.83.29.73]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8MDixnF009541; Mon, 22 Sep 2008 09:44:59 -0400
Received: from [129.83.200.24] (129.83.200.24) by imchub1.MITRE.ORG (129.83.29.73) with Microsoft SMTP Server (TLS) id 8.1.278.0; Mon, 22 Sep 2008 09:44:59 -0400
Message-ID: <48D7A158.9080807@mitre.org>
Date: Mon, 22 Sep 2008 08:44:56 -0500
From: "Timothy J. Miller" <tmiller@mitre.org>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: Anders Rundgren <anders.rundgren@telia.com>
CC: <ietf-smime@imc.org>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v> <48D3D002.7030108@mitre.org> <02bf01c91a76$91ac48a0$82c5a8c0@arport2v> <48D79438.40304@mitre.org> <00f901c91cb5$397d2190$82c5a8c0@arport2v>
In-Reply-To: <00f901c91cb5$397d2190$82c5a8c0@arport2v>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060201060303030401070606"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--------------ms060201060303030401070606
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Anders Rundgren wrote:

> Yes, it will be fairly interesting to see how the US government
> intends to deal with secure mobile device applications which
> (at least for practical purposes) are incompatible with FIPS 201.

Tokens are mandated.  Applications run on platforms.  Platforms support 
tokens.  Match it all up and it's all good.  :)

Now, that's not considering cost.  SME-PEDs aren't cheap.  :)

> This is how it has been so far; KeyGen2 is about to change this
> by offering remote secure issuance including dynamically setting
> PIN policies in an issuer-specific way.  Even issuer PUKs
> will be possible to set.  The enforcement may be in the secure
> container but it may be in the middleware as well depending
> on how much the market is prepared to spend on secure
> containers.  This is also subject to Moore's law that makes
> the future look very good.

Dynamically configurable applets would be interesting, but I don't know 
if it's new.  However, you'd still need the secure channel to 
reconfigure the applets on the card, which implies a token manager 
somewhere.

> Thank you for clarifying this!  It is pretty obvious that such a scheme
> only works for one issuer who own (have bought) the tokens.
> The KeyGen2 protocol is intended for usage by multiple issuers who
> share a secure container with the user.

PIV generally means that the issuer own the token.  The issuer can be a 
shared provider (e.g., GSA) or the issuing organization itself (e.g., 
DoD), but it has to be someone.  This way there's someone to audit, and 
audit is a key part of PIV.

Anything else isn't PIV, at least not as it currently stands.

Now, what you're really asking for is a multi-domain token--i.e., a 
token with multiple partitions that are prevented from interacting 
(e.g., when using in domain A I can't touch data in domain B).  This is 
sorely needed (think tokens for multiple classification levels) but 
doesn't currently exist.

Maybe this conversation should move over to ietf-pkix.

-- Tim

--------------ms060201060303030401070606
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKvjCC
A2cwggJPoAMCAQICAh8FMA0GCSqGSIb3DQEBBQUAMF0xEjAQBgNVBAoTCW1pdHJlLm9yZzEe
MBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQDEx5NSVRSRSBDb3Jwb3Jh
dGlvbiBQcmltYXJ5IENBLTEwHhcNMDgwODIxMTUzMTI5WhcNMTAwMjEyMTUzMTI5WjBaMRIw
EAYDVQQKEwltaXRyZS5vcmcxDzANBgNVBAsTBnBlb3BsZTEXMBUGCgmSJomT8ixkAQETB3Rt
aWxsZXIxGjAYBgNVBAMTEU1pbGxlciBUaW1vdGh5IEouMIGfMA0GCSqGSIb3DQEBAQUAA4GN
ADCBiQKBgQCTxM+z5fDKvmBInGatv0DkVwuOxd69S2M2jho8QkOltYJK/4JUm9uK0UtQZkyI
bEjmCpmXLw17iMCgA0SjwuUfJxdF8ntTys8keyMjRdlKSwFnkgZl9tL7o060LBtZQYzI5ajr
W9k3N768G/k1bZS5UYiMGHU5+Ygl4IwVhmQv3wIDAQABo4G3MIG0MA4GA1UdDwEB/wQEAwIF
4DAdBgNVHQ4EFgQUSXARqmj5Bl2Lz7RLoUIkuOHl0MkwHwYDVR0jBBgwFoAUh7QPSI1iM0LB
LVEaSB7CnrsKsa0wRAYDVR0fBD0wOzA5oDegNYYzaHR0cDovL3d3dy5taXRyZS5vcmcvdGVj
aC9taWkvcGtpL2NhMV9taXRyZV9vcmcuY3JsMBwGA1UdEQQVMBOBEXRtaWxsZXJAbWl0cmUu
b3JnMA0GCSqGSIb3DQEBBQUAA4IB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Q8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D
AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDByBgkrBgEEAYI3EAQxZTBjMF0xEjAQBgNV
BAoTCW1pdHJlLm9yZzEeMBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQD
Ex5NSVRSRSBDb3Jwb3JhdGlvbiBQcmltYXJ5IENBLTECAh8FMHQGCyqGSIb3DQEJEAILMWWg
YzBdMRIwEAYDVQQKEwltaXRyZS5vcmcxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0
eTEnMCUGA1UEAxMeTUlUUkUgQ29ycG9yYXRpb24gUHJpbWFyeSBDQS0xAgIfBTANBgkqhkiG
9w0BAQEFAASBgHBKF1hE8ZGz7a2cOXVEBwayCoyibOCB2763XBJxyeLTNSoBjyL7ZI1Y9sfG
tQg4Fyi5/eLyhJf0DaivANGPFHbVp8Kl9l4dtBsDT5JuDftdvw/jqMUVSv1k1KjJMNLRQEFT
af/WtMyef8BZinepqQ1Z8etK85kfqJjnmmXTUl84AAAAAAAA
--------------ms060201060303030401070606--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MDFB92013667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Sep 2008 06:15:11 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MDFBPX013666; Mon, 22 Sep 2008 06:15:11 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MDF0IB013640 for <ietf-smime@imc.org>; Mon, 22 Sep 2008 06:15:11 -0700 (MST) (envelope-from anders.rundgren@telia.com)
Received: from arport2v (81.232.45.215) by pne-smtpout1-sn2.hy.skanova.net (7.3.129) (authenticated as u18116613) id 48A144C500AD6178; Mon, 22 Sep 2008 15:14:59 +0200
Message-ID: <00f901c91cb5$397d2190$82c5a8c0@arport2v>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: "Timothy J. Miller" <tmiller@mitre.org>
Cc: <ietf-smime@imc.org>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v> <48D3D002.7030108@mitre.org> <02bf01c91a76$91ac48a0$82c5a8c0@arport2v> <48D79438.40304@mitre.org>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
Date: Mon, 22 Sep 2008 15:15:03 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Hi Tim,
comments-in-line.

>PIV issuers use complete token management systems; it's impossible to 
>get away from if you read the requirements in FIPS 201.

Yes, it will be fairly interesting to see how the US government
intends to deal with secure mobile device applications which
(at least for practical purposes) are incompatible with FIPS 201.

>PIN policies are enforced by the on-card applications, not the 
>middleware.  Or they can be, at any rate.

This is how it has been so far; KeyGen2 is about to change this
by offering remote secure issuance including dynamically setting
PIN policies in an issuer-specific way.  Even issuer PUKs
will be possible to set.  The enforcement may be in the secure
container but it may be in the middleware as well depending
on how much the market is prepared to spend on secure
containers.  This is also subject to Moore's law that makes
the future look very good.

>> Getting back to the original issue, the problem that the described
>> solution as well as the TCG counterpart tries to solve is really mainly
>> related to the local software environment.  Secure channels are
>> great but do not address malware since the channel's client endpoint
>> is typically megabytes (of middleware code) away from the actual
>> hardware container.

>That's not how the token secure channel works.  The secure channel is a 
>direct encrypted link between the token's processor and the token 
>management system, using a key known only to both.  The host where the 
>token is inserted is locked out of this communication, as is all its 
>software.  A compromised issuance station can refuse to carry the secure 
>channel, but it can't inspect the channel without breaking that encryption.

Thank you for clarifying this!  It is pretty obvious that such a scheme
only works for one issuer who own (have bought) the tokens.
The KeyGen2 protocol is intended for usage by multiple issuers who
share a secure container with the user.

Anders



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MCnDI6011430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Sep 2008 05:49:13 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8MCnDOU011429; Mon, 22 Sep 2008 05:49:13 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp-bedford.mitre.org (smtp-bedford.mitre.org [129.83.20.191]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8MCn1ON011411 for <ietf-smime@imc.org>; Mon, 22 Sep 2008 05:49:12 -0700 (MST) (envelope-from tmiller@mitre.org)
Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8MCn0nx012896 for <ietf-smime@imc.org>; Mon, 22 Sep 2008 08:49:01 -0400
Received: from imchub2.MITRE.ORG (imchub2.mitre.org [129.83.29.74]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8MCn03P012888; Mon, 22 Sep 2008 08:49:00 -0400
Received: from [129.83.200.24] (129.83.200.24) by imchub2.MITRE.ORG (129.83.29.74) with Microsoft SMTP Server (TLS) id 8.1.278.0; Mon, 22 Sep 2008 08:49:00 -0400
Message-ID: <48D79438.40304@mitre.org>
Date: Mon, 22 Sep 2008 07:48:56 -0500
From: "Timothy J. Miller" <tmiller@mitre.org>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: Anders Rundgren <anders.rundgren@telia.com>
CC: <ietf-smime@imc.org>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v> <48D3D002.7030108@mitre.org> <02bf01c91a76$91ac48a0$82c5a8c0@arport2v>
In-Reply-To: <02bf01c91a76$91ac48a0$82c5a8c0@arport2v>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms020304030604030106000105"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--------------ms020304030604030106000105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Anders Rundgren wrote:
> I believe that on-line (remote) key-provisioning as featured in
> existing standards has a long way to go before it can be used
> for example for PIV issuance (which may be infeasible for other
> less technical reasons as well).  None of the existing systems
> available in Internet browsers like Mozilla's generateCRMFRequest
> support even the most humble functionality like setting PIN
> code policies.

PIV issuers use complete token management systems; it's impossible to 
get away from if you read the requirements in FIPS 201.

PIN policies are enforced by the on-card applications, not the 
middleware.  Or they can be, at any rate.

> Getting back to the original issue, the problem that the described
> solution as well as the TCG counterpart tries to solve is really mainly
> related to the local software environment.  Secure channels are
> great but do not address malware since the channel's client endpoint
> is typically megabytes (of middleware code) away from the actual
> hardware container.

That's not how the token secure channel works.  The secure channel is a 
direct encrypted link between the token's processor and the token 
management system, using a key known only to both.  The host where the 
token is inserted is locked out of this communication, as is all its 
software.  A compromised issuance station can refuse to carry the secure 
channel, but it can't inspect the channel without breaking that encryption.

Now, if own the token management *service* is compromised then yes, the 
game is over.  But I warrant you have bigger problems at that point.  :)

-- Tim

--------------ms020304030604030106000105
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKvjCC
A2cwggJPoAMCAQICAh8FMA0GCSqGSIb3DQEBBQUAMF0xEjAQBgNVBAoTCW1pdHJlLm9yZzEe
MBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQDEx5NSVRSRSBDb3Jwb3Jh
dGlvbiBQcmltYXJ5IENBLTEwHhcNMDgwODIxMTUzMTI5WhcNMTAwMjEyMTUzMTI5WjBaMRIw
EAYDVQQKEwltaXRyZS5vcmcxDzANBgNVBAsTBnBlb3BsZTEXMBUGCgmSJomT8ixkAQETB3Rt
aWxsZXIxGjAYBgNVBAMTEU1pbGxlciBUaW1vdGh5IEouMIGfMA0GCSqGSIb3DQEBAQUAA4GN
ADCBiQKBgQCTxM+z5fDKvmBInGatv0DkVwuOxd69S2M2jho8QkOltYJK/4JUm9uK0UtQZkyI
bEjmCpmXLw17iMCgA0SjwuUfJxdF8ntTys8keyMjRdlKSwFnkgZl9tL7o060LBtZQYzI5ajr
W9k3N768G/k1bZS5UYiMGHU5+Ygl4IwVhmQv3wIDAQABo4G3MIG0MA4GA1UdDwEB/wQEAwIF
4DAdBgNVHQ4EFgQUSXARqmj5Bl2Lz7RLoUIkuOHl0Mk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29ycG9yYXRpb24gUHJpbWFyeSBDQS0xAgIfBTAJ
BgUrDgMCGgUAoIIBmzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP
Fw0wODA5MjIxMjQ4NTZaMCMGCSqGSIb3DQEJBDEWBBQgOzLu6ZFq/EcW8ytGtHsNWbAtzDBS
BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D
AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDByBgkrBgEEAYI3EAQxZTBjMF0xEjAQBgNV
BAoTCW1pdHJlLm9yZzEeMBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQD
Ex5NSVRSRSBDb3Jwb3JhdGlvbiBQcmltYXJ5IENBLTECAh8FMHQGCyqGSIb3DQEJEAILMWWg
YzBdMRIwEAYDVQQKEwltaXRyZS5vcmcxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0
eTEnMCUGA1UEAxMeTUlUUkUgQ29ycG9yYXRpb24gUHJpbWFyeSBDQS0xAgIfBTANBgkqhkiG
9w0BAQEFAASBgAxRGxGACZbUOkr1WX0HMq1JgeCPn1CQT4Jaxiy/FglacvCZgYrxJNzJzuhd
QZh/Ar470a2gn5obF9zyGGvQ3kG5TvqvuQ90+buw8OozugdfdlhEiWNxWsOJOZq4QS3SDSG/
5/fW4uBe827PL112h4gknmj4rLRoKQxOuoyB+kPtAAAAAAAA
--------------ms020304030604030106000105--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGqM2f068502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Sep 2008 09:52:22 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JGqMKc068501; Fri, 19 Sep 2008 09:52:22 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8JGqLPO068495 for <ietf-smime@imc.org>; Fri, 19 Sep 2008 09:52:22 -0700 (MST) (envelope-from housley@vigilsec.com)
Message-Id: <200809191652.m8JGqLPO068495@balder-227.proper.com>
Received: (qmail 31028 invoked by uid 0); 19 Sep 2008 16:49:52 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.143.50) by woodstock.binhost.com with SMTP; 19 Sep 2008 16:49:52 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 19 Sep 2008 12:34:33 -0400
To: "Anders Rundgren" <anders.rundgren@telia.com>, <ietf-smime@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
In-Reply-To: <024501c91a6b$fd73d720$82c5a8c0@arport2v>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> <024501c91a6b$fd73d720$82c5a8c0@arport2v>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: 8bit
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Thanks for that important clarification.

Russ

At 11:25 AM 9/19/2008, Anders Rundgren wrote:

>Well, maybe I formulated the message bad but I don't
>claim any IPR and the idea was that nobody else should
>be able to do it either since patents in large-scale Open Source
>projects don't work well.  My (maybe naive) hope was that
>a public disclosure in "authoritative places" would put the
>idea in the public domain.  I'm not aware of that this
>concept is featured in any RFC or work-in-progress
>except for in KeyGen2 (which is not going to be RFCed
>until it is/becomes firmly established).
>
>Regards
>Anders
>
>----- Original Message -----
>From: "Russ Housley" <housley@vigilsec.com>
>To: "Anders Rundgren" <anders.rundgren@telia.com>; <ietf-smime@imc.org>
>Sent: Friday, September 19, 2008 16:25
>Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure
>
>
>Please file a formal IPR statement on the IETF web site, especially
>if you believe that this invention is related to any RFC or
>Internet-Draft.  The URL for IPR statements is:
>https://datatracker.ietf.org/ipr/about/
>
>Thanks,
>    Russ
>
>At 03:46 AM 9/19/2008, Anders Rundgren wrote:
>
> >The following may be prior art, or be common knowledge. It may
> >even be a bad idea.  However, the publishing was only done
> >in order to thwart possible future IPR claims.  If the principle
> >is already patented, I would appreciate more information
> >if possible.  The concept described is primarily intended for usage
> >with mobile phones having embedded crypto hardware which should
> >be the majority within 5-10 years from now, since crypto hardware is
> >close to a requirement for making secure operating systems.
> >In case you find the mail version hard to read, there is a PDF with
> >the same content available:
> >http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-ligh 
> t__InventionDisclosure.pdf
> >
> >The decribed scheme is an intrinsic part of the KeyGen2 universal
> >key-provisioning protocol:
> >http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
> >
> >SKAE "light" - Invention Disclosure
> >------------------------------------
> >
> >Background
> >=========
> >
> >In some cryptographic systems, asymmetric key-pairs may be
> >internally generated in Security Elements (SEs), like Smart Cards.
> >For on-line (remote) provisioning of keys to SEs, there is a whish
> >by CAs to be able to securely verify that the public key part
> >they receive for inclusion in a certificate, indeed was (together
> >with its private counterpart), generated inside of a "genuine" SE.
> >
> >To support this requirement the TrustedComputingGroup's (TCG's)
> >Trusted Platform Module (TPM) V1.2 specification features a
> >mechanism known as Subject Key Attestation Evidence (SKAE).
> >
> >Prerequisite: The SE contains an embedded private key and a
> >matching public key certificate identifying the SE in some way that
> >makes sense for CAs.  The private key is used for signing evidence
> >attestations regarding generated key-pairs.
> >
> >Problem: If the embedded private key of the SE is also to be usable
> >for other cryptographic operations, a "hacked" software environment
> >could exploit this by creating unprotected key-pairs externally and
> >still be able providing CAs with genuine-looking attestation
> >evidences.  TCG's solution to this problem is based on the use
> >of dedicated key attest keys, specific X.509 certificate extensions,
> >and potentially also relying on multiple CA roots.  Although
> >working, this scheme appears unnecessary complex for supporting
> >a single-purpose key.
> >
> >Solution
> >======
> >
> >The following steps describe how a simpler form of SKAE,
> >purely based on cryptography, could be implemented in an SE.
> >
> >First you need to restrict the SE key-certifying private key from being
> >able to perform unformatted ("blank") RSA decryption
> >operations through direct API calls to the SE.
> >
> >You MAY still allow the key-certifying key creating standard
> >PKCS #1 signatures which are useful for many purposes including
> >authentication and message integrity.  Encryption operations using
> >the public key MAY also be supported.
> >
> >To support SKAE, the proposal is to create a unique variant of PKCS #1
> >signatures that must only be generated during key-generation.
> >Such a signature MAY also be created if the SE is explicitly invoked with
> >a previously generated public key, unless that would lead
> >to key-reuse vulnerabilities.
> >
> >A unique variant of PKCS #1 could in its simplest form be implemented
> >through the use of a non-standard padding pattern.  The hash
> >algorithms to use would still be the existing SHA-1 etc.  A verifier
> >should then be able to securely distinguish between standard
> >signatures and SKAE signatures.  A nonce option would also be
> >suitable for inclusion in the signature packet.   On the next pages,
> >there is a sample program in Java implementing the proposed
> >SKAE scheme.
> >
> >Although this scheme only describes PKCS #1 (RSA) keys, the
> >principles are presumable applicable to other asymmetric key types as
> >well including ECDSA.
> >
> >One might consider the proposed solution as a standards-defying
> >"kludge", but the fact is that all current SKAE schemes rely on very
> >specific generation and validation code.
> >
> >The primary target for this invention are mobile phones which are
> >likely to be fitted with secure hardware fairly soon, since this
> >is more or less a requirement for other purposes as well, most
> >notably for Operating System integrity protection.
> >
> >Side Effect: PoP Becomes Redundant
> >==========================
> >
> >It seems that a properly designed SKAE scheme makes
> >Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
> >redundant which is an advantage because combining PoP
> >signatures with PIN-code provisioning introduces fairly
> >awkward state-handling in SEs since the generated private
> >key typically must be used before it is fully provisioned.
> >
> >Anders Rundgren, WebPKI.org, September 15, 2008
> >
> >Author's address:
> >Storbolsäng 50
> >740 10 Almunge
> >Sweden
> >
> >Email: anders.rundgren@telia.com
> >
> >---------------------------------------------------------------------
> >
> >
> >import javax.crypto.Cipher;
> >
> >import java.security.GeneralSecurityException;
> >import java.security.MessageDigest;
> >import java.security.PublicKey;
> >import java.security.PrivateKey;
> >import java.security.KeyPair;
> >import java.security.KeyPairGenerator;
> >
> >import java.security.interfaces.RSAKey;
> >
> >/**
> >  * SKAE (Subject Key Attestation Evidence).  The following J2SE
> > compatible code is meant illustrate
> >  * the use of SKAE signatures.
> >  */
> >public class skae
> >   {
> >     static final String SHA_1            = "SHA-1";
> >
> >     static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";
> >
> >     static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00,
> > (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
> >
> >     static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30,
> > (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
> >                                                        (byte)0x05,
> > (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
> >                                                        (byte)0x1a,
> > (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
> >
> >
> >     /**
> >      * Create an SKAE package for signing or verification
> >      * @param rsa_key The certifying (attesting) private or public key.
> >      * @param certified_public_key The certified (attested) key.
> >      * @param optional_nonce An optional "nonce" element.
> >      * @return The SKAE package.
> >      */
> >     public static byte[] createSKAEPackage (RSAKey rsa_key,
> >                                             PublicKey certified_public_key,
> >                                             byte[] optional_nonce)
> >     throws GeneralSecurityException
> >       {
> >
> >/////////////////////////////////////////////////////////////////// 
> /////////////////////
> >         // To make it feasible securely distinguishing standard
> > RSASSA-PKCS1.5 signatures     //
> >         // from SKAE signatures the latter are packaged in a
> > different way which should       //
> >         // create errors if processed by a crypto library that does
> > not support SKAE.         //
> >         // The following shows the packaging differences in
> > detail.                           //
> >         //
> >                            //
> >         // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 ||
> > T                              //
> >         //
> >                            //
> >         // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S'
> > || 'K' || 'A' || 'E' || T  //
> >
> >/////////////////////////////////////////////////////////////////// 
> /////////////////////
> >         byte[] modulus = rsa_key.getModulus ().toByteArray ();
> >         int k = modulus.length;
> >         if (modulus[0] == 0) k--;
> >         byte[] encoded_message = new byte [k];
> >         encoded_message[0] = (byte)0;
> >         encoded_message[1] = (byte)1;
> >         MessageDigest md = MessageDigest.getInstance (SHA_1);
> >         if (optional_nonce != null)
> >           {
> >             md.update (optional_nonce);
> >           }
> >         byte[] hash = md.digest (certified_public_key.getEncoded ());
> >         int i = k - 2 - PS_END_SEQUENCE.length - hash.length -
> > DIGEST_INFO_SHA1.length;
> >         int j = 2;
> >         while (i-- > 0)
> >           {
> >             encoded_message[j++] = (byte)0xff;
> >           }
> >         i = 0;
> >         while (i < PS_END_SEQUENCE.length)
> >           {
> >             encoded_message[j++] = PS_END_SEQUENCE[i++];
> >           }
> >         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j,
> > DIGEST_INFO_SHA1.length);
> >         System.arraycopy (hash, 0, encoded_message, j +
> > DIGEST_INFO_SHA1.length, hash.length);
> >         return encoded_message;
> >       }
> >
> >
> >
> >    /**
> >      * Verify an SKAE signature
> >      * @param skae_signature The signature to be verified.
> >      * @param certifying_public_key The certifying (attesting) public key.
> >      * @param certified_public_key The certified (attested) key.
> >      * @param optional_nonce An optional "nonce" element.
> >      * @throws GeneralSecurityException if the signature is invalid
> > or indata is incorrect.
> >      */
> >     public static void verifySKAESignature (byte[] skae_signature,
> >                                             PublicKey 
> certifying_public_key,
> >                                             PublicKey certified_public_key,
> >                                             byte[] optional_nonce)
> >     throws GeneralSecurityException
> >       {
> >         Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
> >         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
> >         byte[] received_signature_package = cipher.doFinal 
> (skae_signature);
> >         byte[] reference_signature_package = createSKAEPackage
> > ((RSAKey)certifying_public_key,
> >
> >certified_public_key,
> >
> >optional_nonce);
> >         if (reference_signature_package.length !=
> > received_signature_package.length)
> >           {
> >             throw new GeneralSecurityException ("Signature package
> > length error");
> >           }
> >         for (int i = 0; i < received_signature_package.length ; i++)
> >           {
> >             if (received_signature_package[i] !=
> > reference_signature_package[i])
> >               {
> >                 // A more comprehensive diagnostic would be preferable...
> >                 throw new GeneralSecurityException ("Signature
> > package content error");
> >               }
> >           }
> >       }
> >
> >
> >     public static class GeneratedKey
> >       {
> >         PublicKey certified_public_key;
> >         PublicKey certifying_public_key;
> >         byte[] skae_signature;
> >       }
> >
> >
> >     public static class SecurityElement
> >       {
> >         PublicKey certifying_public_key;
> >
> >         private PrivateKey certifying_private_key;
> >
> >         public SecurityElement () throws GeneralSecurityException
> >           {
> > 
> /////////////////////////////////////////////////////////////////
> >             // Key-certifying keys are typically created once 
> during       //
> >             // device manufacturing. The public key part is also 
> most      //
> >             // likely distributed in an X.509 certificate issued 
> by a CA   //
> >             // setup specifically for certifying crypto 
> hardware.          //
> >             // That is, the following lines are just for showing 
> the       //
> >             // cryptography, without any infrastructural 
> considerations.   //
> > 
> /////////////////////////////////////////////////////////////////
> >             KeyPairGenerator certifier =
> > KeyPairGenerator.getInstance ("RSA");
> >             certifier.initialize (2048);
> >             KeyPair certifying_key_pair = certifier.generateKeyPair ();
> >             certifying_public_key = certifying_key_pair.getPublic ();
> >             certifying_private_key = certifying_key_pair.getPrivate ();
> >           }
> >
> >
> >         /**
> >          * Create a certified key-pair.
> >          * @param size The size of the RSA key.
> >          * @param optional_nonce An optional "nonce" element.
> >          * @return A container with a generated public key and
> > attesting signature.
> >          */
> >         public GeneratedKey generateCertifiedKeyPair (int size,
> > byte[] optional_nonce)
> >         throws GeneralSecurityException
> >           {
> > 
> /////////////////////////////////////////////////////////////////
> >             // Generate a new key-pair in the Security 
> Element.  The       //
> >             // private key is presumably stored securely in 
> hardware and   //
> >             // never leave its container, unless "sealed" by the 
> latter.   //
> > 
> /////////////////////////////////////////////////////////////////
> >             KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
> >             kpg.initialize (size);
> >             KeyPair new_key_pair = kpg.generateKeyPair ();
> >
> > 
> /////////////////////////////////////////////////////////////////
> >             // Now let the Security Element attest that the new 
> key-pair   //
> >             // actually was created inside of the Security 
> Element.        //
> >             // 
>           //
> >             // NOTE 1: The Security Element MUST NOT expose an 
> API that    //
> >             // allows unformatted RSA decryptions like used below 
> to be    //
> >             // performed with the key-certifying key, otherwise 
> "malware"  //
> >             // could easily create fake attestations for any 
> externally    //
> >             // supplied 
> key-pair!                                          //
> >             // 
>           //
> >             // NOTE 2: Due to the fact that SKAE signatures are 
> only to    //
> >             // be created for generated keys, the key-certifying 
> key MAY   //
> >             // also be used for creating ordinary PKCS1.5 
> signatures for   //
> >             // things like authentications and securing message 
> integrity  //
> > 
> /////////////////////////////////////////////////////////////////
> >             GeneratedKey gk = new GeneratedKey ();
> >             gk.certified_public_key = new_key_pair.getPublic ();
> >             Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
> >             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
> >             gk.skae_signature = cipher.doFinal (createSKAEPackage
> > ((RSAKey)certifying_private_key,
> >
> >gk.certified_public_key,
> >
> >optional_nonce));
> >             gk.certifying_public_key = certifying_public_key;
> >             return gk;
> >           }
> >       }
> >
> >
> >     public static void main (String[] args) throws Exception
> >       {
> >
> >         /////////////////////////////////////////////////////////////////
> >         //                                                             //
> >         //                     CLIENT Operations                       //
> >         //                                                             //
> >         // It is assumed that the critical operations are performed    //
> >         // inside of the Security Element, otherwise attestations      //
> >         // would not be more trustworthy than the environment where    //
> >         // the Security Element is actually running in!                //
> >         /////////////////////////////////////////////////////////////////
> >         SecurityElement se = new SecurityElement ();
> >
> >         /////////////////////////////////////////////////////////////////
> >         // Generate a new key-pair in the Security Element.  The       //
> >         // private key is presumably stored securely in hardware and   //
> >         // never leave its container, unless "sealed" by the latter.   //
> >         /////////////////////////////////////////////////////////////////
> >         byte[] nonce = null; // Didn't use a nonce in the sample run
> >         GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);
> >
> >         /////////////////////////////////////////////////////////////////
> >         //                                                             //
> >         //                     VERIFIER Operations                     //
> >         //                                                             //
> >         // The certifying public key is supposed to be transferred to  //
> >         // the verifier by some kind of protocol, together with the    //
> >         // SKAE-signature, certified public key, and the optional      //
> >         // nonce.  A nonce (if used) would preferably be created by    //
> >         // the verifier during an earlier (not shown) protocol phase.  //
> >         /////////////////////////////////////////////////////////////////
> >         verifySKAESignature (gk.skae_signature,
> >                              gk.certifying_public_key,
> >                              gk.certified_public_key,
> >                              nonce);
> >
> >         System.out.println ("The SKAE signature appears to be valid!");
> >       }
> >
> >   }



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGfhFL067747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Sep 2008 09:41:43 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JGfhYO067746; Fri, 19 Sep 2008 09:41:43 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGfWuR067731 for <ietf-smime@imc.org>; Fri, 19 Sep 2008 09:41:42 -0700 (MST) (envelope-from anders.rundgren@telia.com)
Received: from arport2v (81.232.45.215) by pne-smtpout1-sn1.fre.skanova.net (7.3.129) (authenticated as u18116613) id 47A9795003C65C65; Fri, 19 Sep 2008 18:41:31 +0200
Message-ID: <02bf01c91a76$91ac48a0$82c5a8c0@arport2v>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: "Timothy J. Miller" <tmiller@mitre.org>
Cc: <ietf-smime@imc.org>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v> <48D3D002.7030108@mitre.org>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
Date: Fri, 19 Sep 2008 18:41:30 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

I believe that on-line (remote) key-provisioning as featured in
existing standards has a long way to go before it can be used
for example for PIV issuance (which may be infeasible for other
less technical reasons as well).  None of the existing systems
available in Internet browsers like Mozilla's generateCRMFRequest
support even the most humble functionality like setting PIN
code policies.

Getting back to the original issue, the problem that the described
solution as well as the TCG counterpart tries to solve is really mainly
related to the local software environment.  Secure channels are
great but do not address malware since the channel's client endpoint
is typically megabytes (of middleware code) away from the actual
hardware container.

Anders

----- Original Message ----- 
From: "Timothy J. Miller" <tmiller@mitre.org>
To: "Anders Rundgren" <anders.rundgren@telia.com>
Cc: <ietf-smime@imc.org>; "Russ Housley" <housley@vigilsec.com>
Sent: Friday, September 19, 2008 18:14
Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure


I'm curious--don't most token management systems tackle the same issue
by establishing a secure channel with the token (using the token key
encryption key, provisioned at manufacture)?

-- Tim

Anders Rundgren wrote:
> Well, maybe I formulated the message bad but I don't
> claim any IPR and the idea was that nobody else should
> be able to do it either since patents in large-scale Open Source
> projects don't work well.  My (maybe naive) hope was that
> a public disclosure in "authoritative places" would put the
> idea in the public domain.  I'm not aware of that this
> concept is featured in any RFC or work-in-progress
> except for in KeyGen2 (which is not going to be RFCed
> until it is/becomes firmly established).
>
> Regards
> Anders
>
> ----- Original Message ----- 
> From: "Russ Housley" <housley@vigilsec.com>
> To: "Anders Rundgren" <anders.rundgren@telia.com>; <ietf-smime@imc.org>
> Sent: Friday, September 19, 2008 16:25
> Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure
>
>
> Please file a formal IPR statement on the IETF web site, especially
> if you believe that this invention is related to any RFC or
> Internet-Draft.  The URL for IPR statements is:
> https://datatracker.ietf.org/ipr/about/
>
> Thanks,
>    Russ
>
> At 03:46 AM 9/19/2008, Anders Rundgren wrote:
>
>> The following may be prior art, or be common knowledge. It may
>> even be a bad idea.  However, the publishing was only done
>> in order to thwart possible future IPR claims.  If the principle
>> is already patented, I would appreciate more information
>> if possible.  The concept described is primarily intended for usage
>> with mobile phones having embedded crypto hardware which should
>> be the majority within 5-10 years from now, since crypto hardware is
>> close to a requirement for making secure operating systems.
>> In case you find the mail version hard to read, there is a PDF with
>> the same content available:
>> http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__InventionDisclosure.pdf
>>
>> The decribed scheme is an intrinsic part of the KeyGen2 universal
>> key-provisioning protocol:
>> http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
>>
>> SKAE "light" - Invention Disclosure
>> ------------------------------------
>>
>> Background
>> =========
>>
>> In some cryptographic systems, asymmetric key-pairs may be
>> internally generated in Security Elements (SEs), like Smart Cards.
>> For on-line (remote) provisioning of keys to SEs, there is a whish
>> by CAs to be able to securely verify that the public key part
>> they receive for inclusion in a certificate, indeed was (together
>> with its private counterpart), generated inside of a "genuine" SE.
>>
>> To support this requirement the TrustedComputingGroup's (TCG's)
>> Trusted Platform Module (TPM) V1.2 specification features a
>> mechanism known as Subject Key Attestation Evidence (SKAE).
>>
>> Prerequisite: The SE contains an embedded private key and a
>> matching public key certificate identifying the SE in some way that
>> makes sense for CAs.  The private key is used for signing evidence
>> attestations regarding generated key-pairs.
>>
>> Problem: If the embedded private key of the SE is also to be usable
>> for other cryptographic operations, a "hacked" software environment
>> could exploit this by creating unprotected key-pairs externally and
>> still be able providing CAs with genuine-looking attestation
>> evidences.  TCG's solution to this problem is based on the use
>> of dedicated key attest keys, specific X.509 certificate extensions,
>> and potentially also relying on multiple CA roots.  Although
>> working, this scheme appears unnecessary complex for supporting
>> a single-purpose key.
>>
>> Solution
>> ======
>>
>> The following steps describe how a simpler form of SKAE,
>> purely based on cryptography, could be implemented in an SE.
>>
>> First you need to restrict the SE key-certifying private key from being
>> able to perform unformatted ("blank") RSA decryption
>> operations through direct API calls to the SE.
>>
>> You MAY still allow the key-certifying key creating standard
>> PKCS #1 signatures which are useful for many purposes including
>> authentication and message integrity.  Encryption operations using
>> the public key MAY also be supported.
>>
>> To support SKAE, the proposal is to create a unique variant of PKCS #1
>> signatures that must only be generated during key-generation.
>> Such a signature MAY also be created if the SE is explicitly invoked with
>> a previously generated public key, unless that would lead
>> to key-reuse vulnerabilities.
>>
>> A unique variant of PKCS #1 could in its simplest form be implemented
>> through the use of a non-standard padding pattern.  The hash
>> algorithms to use would still be the existing SHA-1 etc.  A verifier
>> should then be able to securely distinguish between standard
>> signatures and SKAE signatures.  A nonce option would also be
>> suitable for inclusion in the signature packet.   On the next pages,
>> there is a sample program in Java implementing the proposed
>> SKAE scheme.
>>
>> Although this scheme only describes PKCS #1 (RSA) keys, the
>> principles are presumable applicable to other asymmetric key types as
>> well including ECDSA.
>>
>> One might consider the proposed solution as a standards-defying
>> "kludge", but the fact is that all current SKAE schemes rely on very
>> specific generation and validation code.
>>
>> The primary target for this invention are mobile phones which are
>> likely to be fitted with secure hardware fairly soon, since this
>> is more or less a requirement for other purposes as well, most
>> notably for Operating System integrity protection.
>>
>> Side Effect: PoP Becomes Redundant
>> ==========================
>>
>> It seems that a properly designed SKAE scheme makes
>> Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
>> redundant which is an advantage because combining PoP
>> signatures with PIN-code provisioning introduces fairly
>> awkward state-handling in SEs since the generated private
>> key typically must be used before it is fully provisioned.
>>
>> Anders Rundgren, WebPKI.org, September 15, 2008
>>
>> Author's address:
>> Storbolsäng 50
>> 740 10 Almunge
>> Sweden
>>
>> Email: anders.rundgren@telia.com
>>
>> ---------------------------------------------------------------------
>>
>>
>> import javax.crypto.Cipher;
>>
>> import java.security.GeneralSecurityException;
>> import java.security.MessageDigest;
>> import java.security.PublicKey;
>> import java.security.PrivateKey;
>> import java.security.KeyPair;
>> import java.security.KeyPairGenerator;
>>
>> import java.security.interfaces.RSAKey;
>>
>> /**
>>  * SKAE (Subject Key Attestation Evidence).  The following J2SE
>> compatible code is meant illustrate
>>  * the use of SKAE signatures.
>>  */
>> public class skae
>>   {
>>     static final String SHA_1            = "SHA-1";
>>
>>     static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";
>>
>>     static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00,
>> (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
>>
>>     static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30,
>> (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
>>                                                        (byte)0x05,
>> (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
>>                                                        (byte)0x1a,
>> (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
>>
>>
>>     /**
>>      * Create an SKAE package for signing or verification
>>      * @param rsa_key The certifying (attesting) private or public key.
>>      * @param certified_public_key The certified (attested) key.
>>      * @param optional_nonce An optional "nonce" element.
>>      * @return The SKAE package.
>>      */
>>     public static byte[] createSKAEPackage (RSAKey rsa_key,
>>                                             PublicKey certified_public_key,
>>                                             byte[] optional_nonce)
>>     throws GeneralSecurityException
>>       {
>>
>> ////////////////////////////////////////////////////////////////////////////////////////
>>         // To make it feasible securely distinguishing standard
>> RSASSA-PKCS1.5 signatures     //
>>         // from SKAE signatures the latter are packaged in a
>> different way which should       //
>>         // create errors if processed by a crypto library that does
>> not support SKAE.         //
>>         // The following shows the packaging differences in
>> detail.                           //
>>         //
>>                            //
>>         // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 ||
>> T                              //
>>         //
>>                            //
>>         // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S'
>> || 'K' || 'A' || 'E' || T  //
>>
>> ////////////////////////////////////////////////////////////////////////////////////////
>>         byte[] modulus = rsa_key.getModulus ().toByteArray ();
>>         int k = modulus.length;
>>         if (modulus[0] == 0) k--;
>>         byte[] encoded_message = new byte [k];
>>         encoded_message[0] = (byte)0;
>>         encoded_message[1] = (byte)1;
>>         MessageDigest md = MessageDigest.getInstance (SHA_1);
>>         if (optional_nonce != null)
>>           {
>>             md.update (optional_nonce);
>>           }
>>         byte[] hash = md.digest (certified_public_key.getEncoded ());
>>         int i = k - 2 - PS_END_SEQUENCE.length - hash.length -
>> DIGEST_INFO_SHA1.length;
>>         int j = 2;
>>         while (i-- > 0)
>>           {
>>             encoded_message[j++] = (byte)0xff;
>>           }
>>         i = 0;
>>         while (i < PS_END_SEQUENCE.length)
>>           {
>>             encoded_message[j++] = PS_END_SEQUENCE[i++];
>>           }
>>         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j,
>> DIGEST_INFO_SHA1.length);
>>         System.arraycopy (hash, 0, encoded_message, j +
>> DIGEST_INFO_SHA1.length, hash.length);
>>         return encoded_message;
>>       }
>>
>>
>>
>>    /**
>>      * Verify an SKAE signature
>>      * @param skae_signature The signature to be verified.
>>      * @param certifying_public_key The certifying (attesting) public key.
>>      * @param certified_public_key The certified (attested) key.
>>      * @param optional_nonce An optional "nonce" element.
>>      * @throws GeneralSecurityException if the signature is invalid
>> or indata is incorrect.
>>      */
>>     public static void verifySKAESignature (byte[] skae_signature,
>>                                             PublicKey certifying_public_key,
>>                                             PublicKey certified_public_key,
>>                                             byte[] optional_nonce)
>>     throws GeneralSecurityException
>>       {
>>         Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>>         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
>>         byte[] received_signature_package = cipher.doFinal (skae_signature);
>>         byte[] reference_signature_package = createSKAEPackage
>> ((RSAKey)certifying_public_key,
>>
>> certified_public_key,
>>
>> optional_nonce);
>>         if (reference_signature_package.length !=
>> received_signature_package.length)
>>           {
>>             throw new GeneralSecurityException ("Signature package
>> length error");
>>           }
>>         for (int i = 0; i < received_signature_package.length ; i++)
>>           {
>>             if (received_signature_package[i] !=
>> reference_signature_package[i])
>>               {
>>                 // A more comprehensive diagnostic would be preferable...
>>                 throw new GeneralSecurityException ("Signature
>> package content error");
>>               }
>>           }
>>       }
>>
>>
>>     public static class GeneratedKey
>>       {
>>         PublicKey certified_public_key;
>>         PublicKey certifying_public_key;
>>         byte[] skae_signature;
>>       }
>>
>>
>>     public static class SecurityElement
>>       {
>>         PublicKey certifying_public_key;
>>
>>         private PrivateKey certifying_private_key;
>>
>>         public SecurityElement () throws GeneralSecurityException
>>           {
>>             /////////////////////////////////////////////////////////////////
>>             // Key-certifying keys are typically created once during       //
>>             // device manufacturing. The public key part is also most      //
>>             // likely distributed in an X.509 certificate issued by a CA   //
>>             // setup specifically for certifying crypto hardware.          //
>>             // That is, the following lines are just for showing the       //
>>             // cryptography, without any infrastructural considerations.   //
>>             /////////////////////////////////////////////////////////////////
>>             KeyPairGenerator certifier =
>> KeyPairGenerator.getInstance ("RSA");
>>             certifier.initialize (2048);
>>             KeyPair certifying_key_pair = certifier.generateKeyPair ();
>>             certifying_public_key = certifying_key_pair.getPublic ();
>>             certifying_private_key = certifying_key_pair.getPrivate ();
>>           }
>>
>>
>>         /**
>>          * Create a certified key-pair.
>>          * @param size The size of the RSA key.
>>          * @param optional_nonce An optional "nonce" element.
>>          * @return A container with a generated public key and
>> attesting signature.
>>          */
>>         public GeneratedKey generateCertifiedKeyPair (int size,
>> byte[] optional_nonce)
>>         throws GeneralSecurityException
>>           {
>>             /////////////////////////////////////////////////////////////////
>>             // Generate a new key-pair in the Security Element.  The       //
>>             // private key is presumably stored securely in hardware and   //
>>             // never leave its container, unless "sealed" by the latter.   //
>>             /////////////////////////////////////////////////////////////////
>>             KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
>>             kpg.initialize (size);
>>             KeyPair new_key_pair = kpg.generateKeyPair ();
>>
>>             /////////////////////////////////////////////////////////////////
>>             // Now let the Security Element attest that the new key-pair   //
>>             // actually was created inside of the Security Element.        //
>>             //                                                             //
>>             // NOTE 1: The Security Element MUST NOT expose an API that    //
>>             // allows unformatted RSA decryptions like used below to be    //
>>             // performed with the key-certifying key, otherwise "malware"  //
>>             // could easily create fake attestations for any externally    //
>>             // supplied key-pair!                                          //
>>             //                                                             //
>>             // NOTE 2: Due to the fact that SKAE signatures are only to    //
>>             // be created for generated keys, the key-certifying key MAY   //
>>             // also be used for creating ordinary PKCS1.5 signatures for   //
>>             // things like authentications and securing message integrity  //
>>             /////////////////////////////////////////////////////////////////
>>             GeneratedKey gk = new GeneratedKey ();
>>             gk.certified_public_key = new_key_pair.getPublic ();
>>             Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>>             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
>>             gk.skae_signature = cipher.doFinal (createSKAEPackage
>> ((RSAKey)certifying_private_key,
>>
>> gk.certified_public_key,
>>
>> optional_nonce));
>>             gk.certifying_public_key = certifying_public_key;
>>             return gk;
>>           }
>>       }
>>
>>
>>     public static void main (String[] args) throws Exception
>>       {
>>
>>         /////////////////////////////////////////////////////////////////
>>         //                                                             //
>>         //                     CLIENT Operations                       //
>>         //                                                             //
>>         // It is assumed that the critical operations are performed    //
>>         // inside of the Security Element, otherwise attestations      //
>>         // would not be more trustworthy than the environment where    //
>>         // the Security Element is actually running in!                //
>>         /////////////////////////////////////////////////////////////////
>>         SecurityElement se = new SecurityElement ();
>>
>>         /////////////////////////////////////////////////////////////////
>>         // Generate a new key-pair in the Security Element.  The       //
>>         // private key is presumably stored securely in hardware and   //
>>         // never leave its container, unless "sealed" by the latter.   //
>>         /////////////////////////////////////////////////////////////////
>>         byte[] nonce = null; // Didn't use a nonce in the sample run
>>         GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);
>>
>>         /////////////////////////////////////////////////////////////////
>>         //                                                             //
>>         //                     VERIFIER Operations                     //
>>         //                                                             //
>>         // The certifying public key is supposed to be transferred to  //
>>         // the verifier by some kind of protocol, together with the    //
>>         // SKAE-signature, certified public key, and the optional      //
>>         // nonce.  A nonce (if used) would preferably be created by    //
>>         // the verifier during an earlier (not shown) protocol phase.  //
>>         /////////////////////////////////////////////////////////////////
>>         verifySKAESignature (gk.skae_signature,
>>                              gk.certifying_public_key,
>>                              gk.certified_public_key,
>>                              nonce);
>>
>>         System.out.println ("The SKAE signature appears to be valid!");
>>       }
>>
>>   }
>





Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGF6LO066060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Sep 2008 09:15:06 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JGF6oj066059; Fri, 19 Sep 2008 09:15:06 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp-bedford.mitre.org (smtp-bedford.mitre.org [129.83.20.191]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JGF4kr066052 for <ietf-smime@imc.org>; Fri, 19 Sep 2008 09:15:05 -0700 (MST) (envelope-from tmiller@mitre.org)
Received: from smtp-bedford.mitre.org (localhost.localdomain [127.0.0.1]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8JGF42U026537 for <ietf-smime@imc.org>; Fri, 19 Sep 2008 12:15:04 -0400
Received: from imchub1.MITRE.ORG (imchub1.mitre.org [129.83.29.73]) by smtp-bedford.mitre.org (8.13.1/8.13.1) with ESMTP id m8JGF4QY026533; Fri, 19 Sep 2008 12:15:04 -0400
Received: from [129.83.200.30] (129.83.200.30) by imchub1.MITRE.ORG (129.83.29.73) with Microsoft SMTP Server (TLS) id 8.1.278.0; Fri, 19 Sep 2008 12:15:04 -0400
Message-ID: <48D3D002.7030108@mitre.org>
Date: Fri, 19 Sep 2008 11:14:58 -0500
From: "Timothy J. Miller" <tmiller@mitre.org>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: Anders Rundgren <anders.rundgren@telia.com>
CC: <ietf-smime@imc.org>, Russ Housley <housley@vigilsec.com>
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net) <024501c91a6b$fd73d720$82c5a8c0@arport2v>
In-Reply-To: <024501c91a6b$fd73d720$82c5a8c0@arport2v>
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040700020709040103040109"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--------------ms040700020709040103040109
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

I'm curious--don't most token management systems tackle the same issue=20
by establishing a secure channel with the token (using the token key=20
encryption key, provisioned at manufacture)?

-- Tim

Anders Rundgren wrote:
> Well, maybe I formulated the message bad but I don't
> claim any IPR and the idea was that nobody else should
> be able to do it either since patents in large-scale Open Source
> projects don't work well.  My (maybe naive) hope was that
> a public disclosure in "authoritative places" would put the
> idea in the public domain.  I'm not aware of that this
> concept is featured in any RFC or work-in-progress
> except for in KeyGen2 (which is not going to be RFCed
> until it is/becomes firmly established).
>=20
> Regards
> Anders
>=20
> ----- Original Message -----=20
> From: "Russ Housley" <housley@vigilsec.com>
> To: "Anders Rundgren" <anders.rundgren@telia.com>; <ietf-smime@imc.org>=

> Sent: Friday, September 19, 2008 16:25
> Subject: Re: Subject Key Attestation Evidence "light" - Invention Discl=
osure
>=20
>=20
> Please file a formal IPR statement on the IETF web site, especially
> if you believe that this invention is related to any RFC or
> Internet-Draft.  The URL for IPR statements is:
> https://datatracker.ietf.org/ipr/about/
>=20
> Thanks,
>    Russ
>=20
> At 03:46 AM 9/19/2008, Anders Rundgren wrote:
>=20
>> The following may be prior art, or be common knowledge. It may
>> even be a bad idea.  However, the publishing was only done
>> in order to thwart possible future IPR claims.  If the principle
>> is already patented, I would appreciate more information
>> if possible.  The concept described is primarily intended for usage
>> with mobile phones having embedded crypto hardware which should
>> be the majority within 5-10 years from now, since crypto hardware is
>> close to a requirement for making secure operating systems.
>> In case you find the mail version hard to read, there is a PDF with
>> the same content available:
>> http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__=
InventionDisclosure.pdf
>>
>> The decribed scheme is an intrinsic part of the KeyGen2 universal
>> key-provisioning protocol:
>> http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
>>
>> SKAE "light" - Invention Disclosure
>> ------------------------------------
>>
>> Background
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D
>>
>> In some cryptographic systems, asymmetric key-pairs may be
>> internally generated in Security Elements (SEs), like Smart Cards.
>> For on-line (remote) provisioning of keys to SEs, there is a whish
>> by CAs to be able to securely verify that the public key part
>> they receive for inclusion in a certificate, indeed was (together
>> with its private counterpart), generated inside of a "genuine" SE.
>>
>> To support this requirement the TrustedComputingGroup's (TCG's)
>> Trusted Platform Module (TPM) V1.2 specification features a
>> mechanism known as Subject Key Attestation Evidence (SKAE).
>>
>> Prerequisite: The SE contains an embedded private key and a
>> matching public key certificate identifying the SE in some way that
>> makes sense for CAs.  The private key is used for signing evidence
>> attestations regarding generated key-pairs.
>>
>> Problem: If the embedded private key of the SE is also to be usable
>> for other cryptographic operations, a "hacked" software environment
>> could exploit this by creating unprotected key-pairs externally and
>> still be able providing CAs with genuine-looking attestation
>> evidences.  TCG's solution to this problem is based on the use
>> of dedicated key attest keys, specific X.509 certificate extensions,
>> and potentially also relying on multiple CA roots.  Although
>> working, this scheme appears unnecessary complex for supporting
>> a single-purpose key.
>>
>> Solution
>> =3D=3D=3D=3D=3D=3D
>>
>> The following steps describe how a simpler form of SKAE,
>> purely based on cryptography, could be implemented in an SE.
>>
>> First you need to restrict the SE key-certifying private key from bein=
g
>> able to perform unformatted ("blank") RSA decryption
>> operations through direct API calls to the SE.
>>
>> You MAY still allow the key-certifying key creating standard
>> PKCS #1 signatures which are useful for many purposes including
>> authentication and message integrity.  Encryption operations using
>> the public key MAY also be supported.
>>
>> To support SKAE, the proposal is to create a unique variant of PKCS #1=

>> signatures that must only be generated during key-generation.
>> Such a signature MAY also be created if the SE is explicitly invoked w=
ith
>> a previously generated public key, unless that would lead
>> to key-reuse vulnerabilities.
>>
>> A unique variant of PKCS #1 could in its simplest form be implemented
>> through the use of a non-standard padding pattern.  The hash
>> algorithms to use would still be the existing SHA-1 etc.  A verifier
>> should then be able to securely distinguish between standard
>> signatures and SKAE signatures.  A nonce option would also be
>> suitable for inclusion in the signature packet.   On the next pages,
>> there is a sample program in Java implementing the proposed
>> SKAE scheme.
>>
>> Although this scheme only describes PKCS #1 (RSA) keys, the
>> principles are presumable applicable to other asymmetric key types as
>> well including ECDSA.
>>
>> One might consider the proposed solution as a standards-defying
>> "kludge", but the fact is that all current SKAE schemes rely on very
>> specific generation and validation code.
>>
>> The primary target for this invention are mobile phones which are
>> likely to be fitted with secure hardware fairly soon, since this
>> is more or less a requirement for other purposes as well, most
>> notably for Operating System integrity protection.
>>
>> Side Effect: PoP Becomes Redundant
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
>>
>> It seems that a properly designed SKAE scheme makes
>> Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
>> redundant which is an advantage because combining PoP
>> signatures with PIN-code provisioning introduces fairly
>> awkward state-handling in SEs since the generated private
>> key typically must be used before it is fully provisioned.
>>
>> Anders Rundgren, WebPKI.org, September 15, 2008
>>
>> Author's address:
>> Storbols=E4ng 50
>> 740 10 Almunge
>> Sweden
>>
>> Email: anders.rundgren@telia.com
>>
>> ---------------------------------------------------------------------
>>
>>
>> import javax.crypto.Cipher;
>>
>> import java.security.GeneralSecurityException;
>> import java.security.MessageDigest;
>> import java.security.PublicKey;
>> import java.security.PrivateKey;
>> import java.security.KeyPair;
>> import java.security.KeyPairGenerator;
>>
>> import java.security.interfaces.RSAKey;
>>
>> /**
>>  * SKAE (Subject Key Attestation Evidence).  The following J2SE
>> compatible code is meant illustrate
>>  * the use of SKAE signatures.
>>  */
>> public class skae
>>   {
>>     static final String SHA_1            =3D "SHA-1";
>>
>>     static final String UNFORMATTED_RSA  =3D "RSA/ECB/NoPadding";
>>
>>     static final byte[] PS_END_SEQUENCE  =3D new byte[] {(byte)0x00,
>> (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
>>
>>     static final byte[] DIGEST_INFO_SHA1 =3D new byte[] {(byte)0x30,
>> (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
>>                                                        (byte)0x05,
>> (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
>>                                                        (byte)0x1a,
>> (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
>>
>>
>>     /**
>>      * Create an SKAE package for signing or verification
>>      * @param rsa_key The certifying (attesting) private or public key=
=2E
>>      * @param certified_public_key The certified (attested) key.
>>      * @param optional_nonce An optional "nonce" element.
>>      * @return The SKAE package.
>>      */
>>     public static byte[] createSKAEPackage (RSAKey rsa_key,
>>                                             PublicKey certified_public=
_key,
>>                                             byte[] optional_nonce)
>>     throws GeneralSecurityException
>>       {
>>
>> //////////////////////////////////////////////////////////////////////=
//////////////////
>>         // To make it feasible securely distinguishing standard
>> RSASSA-PKCS1.5 signatures     //
>>         // from SKAE signatures the latter are packaged in a
>> different way which should       //
>>         // create errors if processed by a crypto library that does
>> not support SKAE.         //
>>         // The following shows the packaging differences in
>> detail.                           //
>>         //
>>                            //
>>         // EMSA-PKCS1-v1_5: EM =3D 0x00 || 0x01 || PS || 0x00 ||
>> T                              //
>>         //
>>                            //
>>         // EM-PKCS1-SKAE:   EM =3D 0x00 || 0x01 || PS || 0x00 || 'S'
>> || 'K' || 'A' || 'E' || T  //
>>
>> //////////////////////////////////////////////////////////////////////=
//////////////////
>>         byte[] modulus =3D rsa_key.getModulus ().toByteArray ();
>>         int k =3D modulus.length;
>>         if (modulus[0] =3D=3D 0) k--;
>>         byte[] encoded_message =3D new byte [k];
>>         encoded_message[0] =3D (byte)0;
>>         encoded_message[1] =3D (byte)1;
>>         MessageDigest md =3D MessageDigest.getInstance (SHA_1);
>>         if (optional_nonce !=3D null)
>>           {
>>             md.update (optional_nonce);
>>           }
>>         byte[] hash =3D md.digest (certified_public_key.getEncoded ())=
;
>>         int i =3D k - 2 - PS_END_SEQUENCE.length - hash.length -
>> DIGEST_INFO_SHA1.length;
>>         int j =3D 2;
>>         while (i-- > 0)
>>           {
>>             encoded_message[j++] =3D (byte)0xff;
>>           }
>>         i =3D 0;
>>         while (i < PS_END_SEQUENCE.length)
>>           {
>>             encoded_message[j++] =3D PS_END_SEQUENCE[i++];
>>           }
>>         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j,
>> DIGEST_INFO_SHA1.length);
>>         System.arraycopy (hash, 0, encoded_message, j +
>> DIGEST_INFO_SHA1.length, hash.length);
>>         return encoded_message;
>>       }
>>
>>
>>
>>    /**
>>      * Verify an SKAE signature
>>      * @param skae_signature The signature to be verified.
>>      * @param certifying_public_key The certifying (attesting) public =
key.
>>      * @param certified_public_key The certified (attested) key.
>>      * @param optional_nonce An optional "nonce" element.
>>      * @throws GeneralSecurityException if the signature is invalid
>> or indata is incorrect.
>>      */
>>     public static void verifySKAESignature (byte[] skae_signature,
>>                                             PublicKey certifying_publi=
c_key,
>>                                             PublicKey certified_public=
_key,
>>                                             byte[] optional_nonce)
>>     throws GeneralSecurityException
>>       {
>>         Cipher cipher =3D Cipher.getInstance (UNFORMATTED_RSA);
>>         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
>>         byte[] received_signature_package =3D cipher.doFinal (skae_sig=
nature);
>>         byte[] reference_signature_package =3D createSKAEPackage
>> ((RSAKey)certifying_public_key,
>>
>> certified_public_key,
>>
>> optional_nonce);
>>         if (reference_signature_package.length !=3D
>> received_signature_package.length)
>>           {
>>             throw new GeneralSecurityException ("Signature package
>> length error");
>>           }
>>         for (int i =3D 0; i < received_signature_package.length ; i++)=

>>           {
>>             if (received_signature_package[i] !=3D
>> reference_signature_package[i])
>>               {
>>                 // A more comprehensive diagnostic would be preferable=
=2E..
>>                 throw new GeneralSecurityException ("Signature
>> package content error");
>>               }
>>           }
>>       }
>>
>>
>>     public static class GeneratedKey
>>       {
>>         PublicKey certified_public_key;
>>         PublicKey certifying_public_key;
>>         byte[] skae_signature;
>>       }
>>
>>
>>     public static class SecurityElement
>>       {
>>         PublicKey certifying_public_key;
>>
>>         private PrivateKey certifying_private_key;
>>
>>         public SecurityElement () throws GeneralSecurityException
>>           {
>>             //////////////////////////////////////////////////////////=
///////
>>             // Key-certifying keys are typically created once during  =
     //
>>             // device manufacturing. The public key part is also most =
     //
>>             // likely distributed in an X.509 certificate issued by a =
CA   //
>>             // setup specifically for certifying crypto hardware.     =
     //
>>             // That is, the following lines are just for showing the  =
     //
>>             // cryptography, without any infrastructural consideration=
s.   //
>>             //////////////////////////////////////////////////////////=
///////
>>             KeyPairGenerator certifier =3D
>> KeyPairGenerator.getInstance ("RSA");
>>             certifier.initialize (2048);
>>             KeyPair certifying_key_pair =3D certifier.generateKeyPair =
();
>>             certifying_public_key =3D certifying_key_pair.getPublic ()=
;
>>             certifying_private_key =3D certifying_key_pair.getPrivate =
();
>>           }
>>
>>
>>         /**
>>          * Create a certified key-pair.
>>          * @param size The size of the RSA key.
>>          * @param optional_nonce An optional "nonce" element.
>>          * @return A container with a generated public key and
>> attesting signature.
>>          */
>>         public GeneratedKey generateCertifiedKeyPair (int size,
>> byte[] optional_nonce)
>>         throws GeneralSecurityException
>>           {
>>             //////////////////////////////////////////////////////////=
///////
>>             // Generate a new key-pair in the Security Element.  The  =
     //
>>             // private key is presumably stored securely in hardware a=
nd   //
>>             // never leave its container, unless "sealed" by the latte=
r.   //
>>             //////////////////////////////////////////////////////////=
///////
>>             KeyPairGenerator kpg =3D KeyPairGenerator.getInstance ("RS=
A");
>>             kpg.initialize (size);
>>             KeyPair new_key_pair =3D kpg.generateKeyPair ();
>>
>>             //////////////////////////////////////////////////////////=
///////
>>             // Now let the Security Element attest that the new key-pa=
ir   //
>>             // actually was created inside of the Security Element.   =
     //
>>             //                                                        =
     //
>>             // NOTE 1: The Security Element MUST NOT expose an API tha=
t    //
>>             // allows unformatted RSA decryptions like used below to b=
e    //
>>             // performed with the key-certifying key, otherwise "malwa=
re"  //
>>             // could easily create fake attestations for any externall=
y    //
>>             // supplied key-pair!                                     =
     //
>>             //                                                        =
     //
>>             // NOTE 2: Due to the fact that SKAE signatures are only t=
o    //
>>             // be created for generated keys, the key-certifying key M=
AY   //
>>             // also be used for creating ordinary PKCS1.5 signatures f=
or   //
>>             // things like authentications and securing message integr=
ity  //
>>             //////////////////////////////////////////////////////////=
///////
>>             GeneratedKey gk =3D new GeneratedKey ();
>>             gk.certified_public_key =3D new_key_pair.getPublic ();
>>             Cipher cipher =3D Cipher.getInstance (UNFORMATTED_RSA);
>>             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);=

>>             gk.skae_signature =3D cipher.doFinal (createSKAEPackage
>> ((RSAKey)certifying_private_key,
>>
>> gk.certified_public_key,
>>
>> optional_nonce));
>>             gk.certifying_public_key =3D certifying_public_key;
>>             return gk;
>>           }
>>       }
>>
>>
>>     public static void main (String[] args) throws Exception
>>       {
>>
>>         //////////////////////////////////////////////////////////////=
///
>>         //                                                            =
 //
>>         //                     CLIENT Operations                      =
 //
>>         //                                                            =
 //
>>         // It is assumed that the critical operations are performed   =
 //
>>         // inside of the Security Element, otherwise attestations     =
 //
>>         // would not be more trustworthy than the environment where   =
 //
>>         // the Security Element is actually running in!               =
 //
>>         //////////////////////////////////////////////////////////////=
///
>>         SecurityElement se =3D new SecurityElement ();
>>
>>         //////////////////////////////////////////////////////////////=
///
>>         // Generate a new key-pair in the Security Element.  The      =
 //
>>         // private key is presumably stored securely in hardware and  =
 //
>>         // never leave its container, unless "sealed" by the latter.  =
 //
>>         //////////////////////////////////////////////////////////////=
///
>>         byte[] nonce =3D null; // Didn't use a nonce in the sample run=

>>         GeneratedKey gk =3D se.generateCertifiedKeyPair (1024, nonce);=

>>
>>         //////////////////////////////////////////////////////////////=
///
>>         //                                                            =
 //
>>         //                     VERIFIER Operations                    =
 //
>>         //                                                            =
 //
>>         // The certifying public key is supposed to be transferred to =
 //
>>         // the verifier by some kind of protocol, together with the   =
 //
>>         // SKAE-signature, certified public key, and the optional     =
 //
>>         // nonce.  A nonce (if used) would preferably be created by   =
 //
>>         // the verifier during an earlier (not shown) protocol phase. =
 //
>>         //////////////////////////////////////////////////////////////=
///
>>         verifySKAESignature (gk.skae_signature,
>>                              gk.certifying_public_key,
>>                              gk.certified_public_key,
>>                              nonce);
>>
>>         System.out.println ("The SKAE signature appears to be valid!")=
;
>>       }
>>
>>   }
>=20



--------------ms040700020709040103040109
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKvjCC
A2cwggJPoAMCAQICAh8FMA0GCSqGSIb3DQEBBQUAMF0xEjAQBgNVBAoTCW1pdHJlLm9yZzEe
MBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQDEx5NSVRSRSBDb3Jwb3Jh
dGlvbiBQcmltYXJ5IENBLTEwHhcNMDgwODIxMTUzMTI5WhcNMTAwMjEyMTUzMTI5WjBaMRIw
EAYDVQQKEwltaXRyZS5vcmcxDzANBgNVBAsTBnBlb3BsZTEXMBUGCgmSJomT8ixkAQETB3Rt
aWxsZXIxGjAYBgNVBAMTEU1pbGxlciBUaW1vdGh5IEouMIGfMA0GCSqGSIb3DQEBAQUAA4GN
ADCBiQKBgQCTxM+z5fDKvmBInGatv0DkVwuOxd69S2M2jho8QkOltYJK/4JUm9uK0UtQZkyI
bEjmCpmXLw17iMCgA0SjwuUfJxdF8ntTys8keyMjRdlKSwFnkgZl9tL7o060LBtZQYzI5ajr
W9k3N768G/k1bZS5UYiMGHU5+Ygl4IwVhmQv3wIDAQABo4G3MIG0MA4GA1UdDwEB/wQEAwIF
4DAdBgNVHQ4EFgQUSXARqmj5Bl2Lz7RLoUIkuOHl0MkwHwYDVR0jBBgwFoAUh7QPSI1iM0LB
LVEaSB7CnrsKsa0wRAYDVR0fBD0wOzA5oDegNYYzaHR0cDovL3d3dy5taXRyZS5vcmcvdGVj
aC9taWkvcGtpL2NhMV9taXRyZV9vcmcuY3JsMBwGA1UdEQQVMBOBEXRtaWxsZXJAbWl0cmUu
b3JnMA0GCSqGSIb3DQEBBQUAA4IBAQAbA1PH/hed/rryO1f0yfTRJnD/vL1rFTduUut/irL7
FSXHGybuPHxydfyGPvJ4qj+T8hs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gUrDgMCBzANBggqhkiG9w0DAgIBKDByBgkrBgEEAYI3EAQxZTBjMF0xEjAQBgNV
BAoTCW1pdHJlLm9yZzEeMBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9yaXR5MScwJQYDVQQD
Ex5NSVRSRSBDb3Jwb3JhdGlvbiBQcmltYXJ5IENBLTECAh8FMHQGCyqGSIb3DQEJEAILMWWg
YzBdMRIwEAYDVQQKEwltaXRyZS5vcmcxHjAcBgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0
eTEnMCUGA1UEAxMeTUlUUkUgQ29ycG9yYXRpb24gUHJpbWFyeSBDQS0xAgIfBTANBgkqhkiG
9w0BAQEFAASBgBojRwb0/Wa1mZ57BZwR5sOE70kB7E0oI7M2uK7lR6r6YrH2c9rhsA0JAtx8
2DMrvCCWph1LYl/f1Vu8shDYNY4UcF90Ya55JYJWuErMGv07v+ZZ+ZPXKibw0290l2qOZ0UW
0QjgMSaxOH2dbe7DdYygNzdwfnCd6ThHkD37ZIW0AAAAAAAA
--------------ms040700020709040103040109--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JFPxhu062310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Sep 2008 08:25:59 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JFPxdZ062309; Fri, 19 Sep 2008 08:25:59 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from pne-smtpout2-sn1.fre.skanova.net (pne-smtpout2-sn1.fre.skanova.net [81.228.11.159]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JFPlMf062298 for <ietf-smime@imc.org>; Fri, 19 Sep 2008 08:25:58 -0700 (MST) (envelope-from anders.rundgren@telia.com)
Received: from arport2v (81.232.45.215) by pne-smtpout2-sn1.fre.skanova.net (7.3.129) (authenticated as u18116613) id 4843FAEB0188EC70; Fri, 19 Sep 2008 17:25:47 +0200
Message-ID: <024501c91a6b$fd73d720$82c5a8c0@arport2v>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: <ietf-smime@imc.org>, "Russ Housley" <housley@vigilsec.com>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v> <48B6B19801185BEB@pne-smtpin1-sn2.hy.skanova.net> (added by postmaster@pne.skanova.net)
Subject: Re: Subject Key Attestation Evidence "light" - Invention  Disclosure
Date: Fri, 19 Sep 2008 17:25:46 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Well, maybe I formulated the message bad but I don't
claim any IPR and the idea was that nobody else should
be able to do it either since patents in large-scale Open Source
projects don't work well.  My (maybe naive) hope was that
a public disclosure in "authoritative places" would put the
idea in the public domain.  I'm not aware of that this
concept is featured in any RFC or work-in-progress
except for in KeyGen2 (which is not going to be RFCed
until it is/becomes firmly established).

Regards
Anders

----- Original Message ----- 
From: "Russ Housley" <housley@vigilsec.com>
To: "Anders Rundgren" <anders.rundgren@telia.com>; <ietf-smime@imc.org>
Sent: Friday, September 19, 2008 16:25
Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure


Please file a formal IPR statement on the IETF web site, especially
if you believe that this invention is related to any RFC or
Internet-Draft.  The URL for IPR statements is:
https://datatracker.ietf.org/ipr/about/

Thanks,
   Russ

At 03:46 AM 9/19/2008, Anders Rundgren wrote:

>The following may be prior art, or be common knowledge. It may
>even be a bad idea.  However, the publishing was only done
>in order to thwart possible future IPR claims.  If the principle
>is already patented, I would appreciate more information
>if possible.  The concept described is primarily intended for usage
>with mobile phones having embedded crypto hardware which should
>be the majority within 5-10 years from now, since crypto hardware is
>close to a requirement for making secure operating systems.
>In case you find the mail version hard to read, there is a PDF with
>the same content available:
>http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__InventionDisclosure.pdf
>
>The decribed scheme is an intrinsic part of the KeyGen2 universal
>key-provisioning protocol:
>http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
>
>SKAE "light" - Invention Disclosure
>------------------------------------
>
>Background
>=========
>
>In some cryptographic systems, asymmetric key-pairs may be
>internally generated in Security Elements (SEs), like Smart Cards.
>For on-line (remote) provisioning of keys to SEs, there is a whish
>by CAs to be able to securely verify that the public key part
>they receive for inclusion in a certificate, indeed was (together
>with its private counterpart), generated inside of a "genuine" SE.
>
>To support this requirement the TrustedComputingGroup's (TCG's)
>Trusted Platform Module (TPM) V1.2 specification features a
>mechanism known as Subject Key Attestation Evidence (SKAE).
>
>Prerequisite: The SE contains an embedded private key and a
>matching public key certificate identifying the SE in some way that
>makes sense for CAs.  The private key is used for signing evidence
>attestations regarding generated key-pairs.
>
>Problem: If the embedded private key of the SE is also to be usable
>for other cryptographic operations, a "hacked" software environment
>could exploit this by creating unprotected key-pairs externally and
>still be able providing CAs with genuine-looking attestation
>evidences.  TCG's solution to this problem is based on the use
>of dedicated key attest keys, specific X.509 certificate extensions,
>and potentially also relying on multiple CA roots.  Although
>working, this scheme appears unnecessary complex for supporting
>a single-purpose key.
>
>Solution
>======
>
>The following steps describe how a simpler form of SKAE,
>purely based on cryptography, could be implemented in an SE.
>
>First you need to restrict the SE key-certifying private key from being
>able to perform unformatted ("blank") RSA decryption
>operations through direct API calls to the SE.
>
>You MAY still allow the key-certifying key creating standard
>PKCS #1 signatures which are useful for many purposes including
>authentication and message integrity.  Encryption operations using
>the public key MAY also be supported.
>
>To support SKAE, the proposal is to create a unique variant of PKCS #1
>signatures that must only be generated during key-generation.
>Such a signature MAY also be created if the SE is explicitly invoked with
>a previously generated public key, unless that would lead
>to key-reuse vulnerabilities.
>
>A unique variant of PKCS #1 could in its simplest form be implemented
>through the use of a non-standard padding pattern.  The hash
>algorithms to use would still be the existing SHA-1 etc.  A verifier
>should then be able to securely distinguish between standard
>signatures and SKAE signatures.  A nonce option would also be
>suitable for inclusion in the signature packet.   On the next pages,
>there is a sample program in Java implementing the proposed
>SKAE scheme.
>
>Although this scheme only describes PKCS #1 (RSA) keys, the
>principles are presumable applicable to other asymmetric key types as
>well including ECDSA.
>
>One might consider the proposed solution as a standards-defying
>"kludge", but the fact is that all current SKAE schemes rely on very
>specific generation and validation code.
>
>The primary target for this invention are mobile phones which are
>likely to be fitted with secure hardware fairly soon, since this
>is more or less a requirement for other purposes as well, most
>notably for Operating System integrity protection.
>
>Side Effect: PoP Becomes Redundant
>==========================
>
>It seems that a properly designed SKAE scheme makes
>Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
>redundant which is an advantage because combining PoP
>signatures with PIN-code provisioning introduces fairly
>awkward state-handling in SEs since the generated private
>key typically must be used before it is fully provisioned.
>
>Anders Rundgren, WebPKI.org, September 15, 2008
>
>Author's address:
>Storbolsäng 50
>740 10 Almunge
>Sweden
>
>Email: anders.rundgren@telia.com
>
>---------------------------------------------------------------------
>
>
>import javax.crypto.Cipher;
>
>import java.security.GeneralSecurityException;
>import java.security.MessageDigest;
>import java.security.PublicKey;
>import java.security.PrivateKey;
>import java.security.KeyPair;
>import java.security.KeyPairGenerator;
>
>import java.security.interfaces.RSAKey;
>
>/**
>  * SKAE (Subject Key Attestation Evidence).  The following J2SE
> compatible code is meant illustrate
>  * the use of SKAE signatures.
>  */
>public class skae
>   {
>     static final String SHA_1            = "SHA-1";
>
>     static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";
>
>     static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00,
> (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
>
>     static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30,
> (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
>                                                        (byte)0x05,
> (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
>                                                        (byte)0x1a,
> (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
>
>
>     /**
>      * Create an SKAE package for signing or verification
>      * @param rsa_key The certifying (attesting) private or public key.
>      * @param certified_public_key The certified (attested) key.
>      * @param optional_nonce An optional "nonce" element.
>      * @return The SKAE package.
>      */
>     public static byte[] createSKAEPackage (RSAKey rsa_key,
>                                             PublicKey certified_public_key,
>                                             byte[] optional_nonce)
>     throws GeneralSecurityException
>       {
>
>////////////////////////////////////////////////////////////////////////////////////////
>         // To make it feasible securely distinguishing standard
> RSASSA-PKCS1.5 signatures     //
>         // from SKAE signatures the latter are packaged in a
> different way which should       //
>         // create errors if processed by a crypto library that does
> not support SKAE.         //
>         // The following shows the packaging differences in
> detail.                           //
>         //
>                            //
>         // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 ||
> T                              //
>         //
>                            //
>         // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S'
> || 'K' || 'A' || 'E' || T  //
>
>////////////////////////////////////////////////////////////////////////////////////////
>         byte[] modulus = rsa_key.getModulus ().toByteArray ();
>         int k = modulus.length;
>         if (modulus[0] == 0) k--;
>         byte[] encoded_message = new byte [k];
>         encoded_message[0] = (byte)0;
>         encoded_message[1] = (byte)1;
>         MessageDigest md = MessageDigest.getInstance (SHA_1);
>         if (optional_nonce != null)
>           {
>             md.update (optional_nonce);
>           }
>         byte[] hash = md.digest (certified_public_key.getEncoded ());
>         int i = k - 2 - PS_END_SEQUENCE.length - hash.length -
> DIGEST_INFO_SHA1.length;
>         int j = 2;
>         while (i-- > 0)
>           {
>             encoded_message[j++] = (byte)0xff;
>           }
>         i = 0;
>         while (i < PS_END_SEQUENCE.length)
>           {
>             encoded_message[j++] = PS_END_SEQUENCE[i++];
>           }
>         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j,
> DIGEST_INFO_SHA1.length);
>         System.arraycopy (hash, 0, encoded_message, j +
> DIGEST_INFO_SHA1.length, hash.length);
>         return encoded_message;
>       }
>
>
>
>    /**
>      * Verify an SKAE signature
>      * @param skae_signature The signature to be verified.
>      * @param certifying_public_key The certifying (attesting) public key.
>      * @param certified_public_key The certified (attested) key.
>      * @param optional_nonce An optional "nonce" element.
>      * @throws GeneralSecurityException if the signature is invalid
> or indata is incorrect.
>      */
>     public static void verifySKAESignature (byte[] skae_signature,
>                                             PublicKey certifying_public_key,
>                                             PublicKey certified_public_key,
>                                             byte[] optional_nonce)
>     throws GeneralSecurityException
>       {
>         Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
>         byte[] received_signature_package = cipher.doFinal (skae_signature);
>         byte[] reference_signature_package = createSKAEPackage
> ((RSAKey)certifying_public_key,
>
>certified_public_key,
>
>optional_nonce);
>         if (reference_signature_package.length !=
> received_signature_package.length)
>           {
>             throw new GeneralSecurityException ("Signature package
> length error");
>           }
>         for (int i = 0; i < received_signature_package.length ; i++)
>           {
>             if (received_signature_package[i] !=
> reference_signature_package[i])
>               {
>                 // A more comprehensive diagnostic would be preferable...
>                 throw new GeneralSecurityException ("Signature
> package content error");
>               }
>           }
>       }
>
>
>     public static class GeneratedKey
>       {
>         PublicKey certified_public_key;
>         PublicKey certifying_public_key;
>         byte[] skae_signature;
>       }
>
>
>     public static class SecurityElement
>       {
>         PublicKey certifying_public_key;
>
>         private PrivateKey certifying_private_key;
>
>         public SecurityElement () throws GeneralSecurityException
>           {
>             /////////////////////////////////////////////////////////////////
>             // Key-certifying keys are typically created once during       //
>             // device manufacturing. The public key part is also most      //
>             // likely distributed in an X.509 certificate issued by a CA   //
>             // setup specifically for certifying crypto hardware.          //
>             // That is, the following lines are just for showing the       //
>             // cryptography, without any infrastructural considerations.   //
>             /////////////////////////////////////////////////////////////////
>             KeyPairGenerator certifier =
> KeyPairGenerator.getInstance ("RSA");
>             certifier.initialize (2048);
>             KeyPair certifying_key_pair = certifier.generateKeyPair ();
>             certifying_public_key = certifying_key_pair.getPublic ();
>             certifying_private_key = certifying_key_pair.getPrivate ();
>           }
>
>
>         /**
>          * Create a certified key-pair.
>          * @param size The size of the RSA key.
>          * @param optional_nonce An optional "nonce" element.
>          * @return A container with a generated public key and
> attesting signature.
>          */
>         public GeneratedKey generateCertifiedKeyPair (int size,
> byte[] optional_nonce)
>         throws GeneralSecurityException
>           {
>             /////////////////////////////////////////////////////////////////
>             // Generate a new key-pair in the Security Element.  The       //
>             // private key is presumably stored securely in hardware and   //
>             // never leave its container, unless "sealed" by the latter.   //
>             /////////////////////////////////////////////////////////////////
>             KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
>             kpg.initialize (size);
>             KeyPair new_key_pair = kpg.generateKeyPair ();
>
>             /////////////////////////////////////////////////////////////////
>             // Now let the Security Element attest that the new key-pair   //
>             // actually was created inside of the Security Element.        //
>             //                                                             //
>             // NOTE 1: The Security Element MUST NOT expose an API that    //
>             // allows unformatted RSA decryptions like used below to be    //
>             // performed with the key-certifying key, otherwise "malware"  //
>             // could easily create fake attestations for any externally    //
>             // supplied key-pair!                                          //
>             //                                                             //
>             // NOTE 2: Due to the fact that SKAE signatures are only to    //
>             // be created for generated keys, the key-certifying key MAY   //
>             // also be used for creating ordinary PKCS1.5 signatures for   //
>             // things like authentications and securing message integrity  //
>             /////////////////////////////////////////////////////////////////
>             GeneratedKey gk = new GeneratedKey ();
>             gk.certified_public_key = new_key_pair.getPublic ();
>             Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
>             gk.skae_signature = cipher.doFinal (createSKAEPackage
> ((RSAKey)certifying_private_key,
>
>gk.certified_public_key,
>
>optional_nonce));
>             gk.certifying_public_key = certifying_public_key;
>             return gk;
>           }
>       }
>
>
>     public static void main (String[] args) throws Exception
>       {
>
>         /////////////////////////////////////////////////////////////////
>         //                                                             //
>         //                     CLIENT Operations                       //
>         //                                                             //
>         // It is assumed that the critical operations are performed    //
>         // inside of the Security Element, otherwise attestations      //
>         // would not be more trustworthy than the environment where    //
>         // the Security Element is actually running in!                //
>         /////////////////////////////////////////////////////////////////
>         SecurityElement se = new SecurityElement ();
>
>         /////////////////////////////////////////////////////////////////
>         // Generate a new key-pair in the Security Element.  The       //
>         // private key is presumably stored securely in hardware and   //
>         // never leave its container, unless "sealed" by the latter.   //
>         /////////////////////////////////////////////////////////////////
>         byte[] nonce = null; // Didn't use a nonce in the sample run
>         GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);
>
>         /////////////////////////////////////////////////////////////////
>         //                                                             //
>         //                     VERIFIER Operations                     //
>         //                                                             //
>         // The certifying public key is supposed to be transferred to  //
>         // the verifier by some kind of protocol, together with the    //
>         // SKAE-signature, certified public key, and the optional      //
>         // nonce.  A nonce (if used) would preferably be created by    //
>         // the verifier during an earlier (not shown) protocol phase.  //
>         /////////////////////////////////////////////////////////////////
>         verifySKAESignature (gk.skae_signature,
>                              gk.certifying_public_key,
>                              gk.certified_public_key,
>                              nonce);
>
>         System.out.println ("The SKAE signature appears to be valid!");
>       }
>
>   }



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8JEsSqh059599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Sep 2008 07:54:28 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8JEsSwX059597; Fri, 19 Sep 2008 07:54:28 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8JEsGoC059569 for <ietf-smime@imc.org>; Fri, 19 Sep 2008 07:54:27 -0700 (MST) (envelope-from housley@vigilsec.com)
Message-Id: <200809191454.m8JEsGoC059569@balder-227.proper.com>
Received: (qmail 26073 invoked by uid 0); 19 Sep 2008 14:51:48 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.143.50) by woodstock.binhost.com with SMTP; 19 Sep 2008 14:51:48 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 19 Sep 2008 10:25:03 -0400
To: "Anders Rundgren" <anders.rundgren@telia.com>, <ietf-smime@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: Subject Key Attestation Evidence "light" - Invention Disclosure
In-Reply-To: <00e101c91a2b$e2481320$82c5a8c0@arport2v>
References: <00e101c91a2b$e2481320$82c5a8c0@arport2v>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: 8bit
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Please file a formal IPR statement on the IETF web site, especially 
if you believe that this invention is related to any RFC or 
Internet-Draft.  The URL for IPR statements is: 
https://datatracker.ietf.org/ipr/about/

Thanks,
   Russ

At 03:46 AM 9/19/2008, Anders Rundgren wrote:

>The following may be prior art, or be common knowledge. It may
>even be a bad idea.  However, the publishing was only done
>in order to thwart possible future IPR claims.  If the principle
>is already patented, I would appreciate more information
>if possible.  The concept described is primarily intended for usage
>with mobile phones having embedded crypto hardware which should
>be the majority within 5-10 years from now, since crypto hardware is
>close to a requirement for making secure operating systems.
>In case you find the mail version hard to read, there is a PDF with
>the same content available:
>http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__InventionDisclosure.pdf
>
>The decribed scheme is an intrinsic part of the KeyGen2 universal
>key-provisioning protocol:
>http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf
>
>SKAE "light" - Invention Disclosure
>------------------------------------
>
>Background
>=========
>
>In some cryptographic systems, asymmetric key-pairs may be
>internally generated in Security Elements (SEs), like Smart Cards.
>For on-line (remote) provisioning of keys to SEs, there is a whish
>by CAs to be able to securely verify that the public key part
>they receive for inclusion in a certificate, indeed was (together
>with its private counterpart), generated inside of a "genuine" SE.
>
>To support this requirement the TrustedComputingGroup's (TCG's)
>Trusted Platform Module (TPM) V1.2 specification features a
>mechanism known as Subject Key Attestation Evidence (SKAE).
>
>Prerequisite: The SE contains an embedded private key and a
>matching public key certificate identifying the SE in some way that
>makes sense for CAs.  The private key is used for signing evidence
>attestations regarding generated key-pairs.
>
>Problem: If the embedded private key of the SE is also to be usable
>for other cryptographic operations, a "hacked" software environment
>could exploit this by creating unprotected key-pairs externally and
>still be able providing CAs with genuine-looking attestation
>evidences.  TCG's solution to this problem is based on the use
>of dedicated key attest keys, specific X.509 certificate extensions,
>and potentially also relying on multiple CA roots.  Although
>working, this scheme appears unnecessary complex for supporting
>a single-purpose key.
>
>Solution
>======
>
>The following steps describe how a simpler form of SKAE,
>purely based on cryptography, could be implemented in an SE.
>
>First you need to restrict the SE key-certifying private key from being
>able to perform unformatted ("blank") RSA decryption
>operations through direct API calls to the SE.
>
>You MAY still allow the key-certifying key creating standard
>PKCS #1 signatures which are useful for many purposes including
>authentication and message integrity.  Encryption operations using
>the public key MAY also be supported.
>
>To support SKAE, the proposal is to create a unique variant of PKCS #1
>signatures that must only be generated during key-generation.
>Such a signature MAY also be created if the SE is explicitly invoked with
>a previously generated public key, unless that would lead
>to key-reuse vulnerabilities.
>
>A unique variant of PKCS #1 could in its simplest form be implemented
>through the use of a non-standard padding pattern.  The hash
>algorithms to use would still be the existing SHA-1 etc.  A verifier
>should then be able to securely distinguish between standard
>signatures and SKAE signatures.  A nonce option would also be
>suitable for inclusion in the signature packet.   On the next pages,
>there is a sample program in Java implementing the proposed
>SKAE scheme.
>
>Although this scheme only describes PKCS #1 (RSA) keys, the
>principles are presumable applicable to other asymmetric key types as
>well including ECDSA.
>
>One might consider the proposed solution as a standards-defying
>"kludge", but the fact is that all current SKAE schemes rely on very
>specific generation and validation code.
>
>The primary target for this invention are mobile phones which are
>likely to be fitted with secure hardware fairly soon, since this
>is more or less a requirement for other purposes as well, most
>notably for Operating System integrity protection.
>
>Side Effect: PoP Becomes Redundant
>==========================
>
>It seems that a properly designed SKAE scheme makes
>Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
>redundant which is an advantage because combining PoP
>signatures with PIN-code provisioning introduces fairly
>awkward state-handling in SEs since the generated private
>key typically must be used before it is fully provisioned.
>
>Anders Rundgren, WebPKI.org, September 15, 2008
>
>Author's address:
>Storbolsäng 50
>740 10 Almunge
>Sweden
>
>Email: anders.rundgren@telia.com
>
>---------------------------------------------------------------------
>
>
>import javax.crypto.Cipher;
>
>import java.security.GeneralSecurityException;
>import java.security.MessageDigest;
>import java.security.PublicKey;
>import java.security.PrivateKey;
>import java.security.KeyPair;
>import java.security.KeyPairGenerator;
>
>import java.security.interfaces.RSAKey;
>
>/**
>  * SKAE (Subject Key Attestation Evidence).  The following J2SE 
> compatible code is meant illustrate
>  * the use of SKAE signatures.
>  */
>public class skae
>   {
>     static final String SHA_1            = "SHA-1";
>
>     static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";
>
>     static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00, 
> (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};
>
>     static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30, 
> (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
>                                                        (byte)0x05, 
> (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
>                                                        (byte)0x1a, 
> (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};
>
>
>     /**
>      * Create an SKAE package for signing or verification
>      * @param rsa_key The certifying (attesting) private or public key.
>      * @param certified_public_key The certified (attested) key.
>      * @param optional_nonce An optional "nonce" element.
>      * @return The SKAE package.
>      */
>     public static byte[] createSKAEPackage (RSAKey rsa_key,
>                                             PublicKey certified_public_key,
>                                             byte[] optional_nonce)
>     throws GeneralSecurityException
>       {
> 
>////////////////////////////////////////////////////////////////////////////////////////
>         // To make it feasible securely distinguishing standard 
> RSASSA-PKCS1.5 signatures     //
>         // from SKAE signatures the latter are packaged in a 
> different way which should       //
>         // create errors if processed by a crypto library that does 
> not support SKAE.         //
>         // The following shows the packaging differences in 
> detail.                           //
>         // 
>                            //
>         // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 || 
> T                              //
>         // 
>                            //
>         // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S' 
> || 'K' || 'A' || 'E' || T  //
> 
>////////////////////////////////////////////////////////////////////////////////////////
>         byte[] modulus = rsa_key.getModulus ().toByteArray ();
>         int k = modulus.length;
>         if (modulus[0] == 0) k--;
>         byte[] encoded_message = new byte [k];
>         encoded_message[0] = (byte)0;
>         encoded_message[1] = (byte)1;
>         MessageDigest md = MessageDigest.getInstance (SHA_1);
>         if (optional_nonce != null)
>           {
>             md.update (optional_nonce);
>           }
>         byte[] hash = md.digest (certified_public_key.getEncoded ());
>         int i = k - 2 - PS_END_SEQUENCE.length - hash.length - 
> DIGEST_INFO_SHA1.length;
>         int j = 2;
>         while (i-- > 0)
>           {
>             encoded_message[j++] = (byte)0xff;
>           }
>         i = 0;
>         while (i < PS_END_SEQUENCE.length)
>           {
>             encoded_message[j++] = PS_END_SEQUENCE[i++];
>           }
>         System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j, 
> DIGEST_INFO_SHA1.length);
>         System.arraycopy (hash, 0, encoded_message, j + 
> DIGEST_INFO_SHA1.length, hash.length);
>         return encoded_message;
>       }
>
>
>
>    /**
>      * Verify an SKAE signature
>      * @param skae_signature The signature to be verified.
>      * @param certifying_public_key The certifying (attesting) public key.
>      * @param certified_public_key The certified (attested) key.
>      * @param optional_nonce An optional "nonce" element.
>      * @throws GeneralSecurityException if the signature is invalid 
> or indata is incorrect.
>      */
>     public static void verifySKAESignature (byte[] skae_signature,
>                                             PublicKey certifying_public_key,
>                                             PublicKey certified_public_key,
>                                             byte[] optional_nonce)
>     throws GeneralSecurityException
>       {
>         Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>         cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
>         byte[] received_signature_package = cipher.doFinal (skae_signature);
>         byte[] reference_signature_package = createSKAEPackage 
> ((RSAKey)certifying_public_key,
> 
>certified_public_key,
> 
>optional_nonce);
>         if (reference_signature_package.length != 
> received_signature_package.length)
>           {
>             throw new GeneralSecurityException ("Signature package 
> length error");
>           }
>         for (int i = 0; i < received_signature_package.length ; i++)
>           {
>             if (received_signature_package[i] != 
> reference_signature_package[i])
>               {
>                 // A more comprehensive diagnostic would be preferable...
>                 throw new GeneralSecurityException ("Signature 
> package content error");
>               }
>           }
>       }
>
>
>     public static class GeneratedKey
>       {
>         PublicKey certified_public_key;
>         PublicKey certifying_public_key;
>         byte[] skae_signature;
>       }
>
>
>     public static class SecurityElement
>       {
>         PublicKey certifying_public_key;
>
>         private PrivateKey certifying_private_key;
>
>         public SecurityElement () throws GeneralSecurityException
>           {
>             /////////////////////////////////////////////////////////////////
>             // Key-certifying keys are typically created once during       //
>             // device manufacturing. The public key part is also most      //
>             // likely distributed in an X.509 certificate issued by a CA   //
>             // setup specifically for certifying crypto hardware.          //
>             // That is, the following lines are just for showing the       //
>             // cryptography, without any infrastructural considerations.   //
>             /////////////////////////////////////////////////////////////////
>             KeyPairGenerator certifier = 
> KeyPairGenerator.getInstance ("RSA");
>             certifier.initialize (2048);
>             KeyPair certifying_key_pair = certifier.generateKeyPair ();
>             certifying_public_key = certifying_key_pair.getPublic ();
>             certifying_private_key = certifying_key_pair.getPrivate ();
>           }
>
>
>         /**
>          * Create a certified key-pair.
>          * @param size The size of the RSA key.
>          * @param optional_nonce An optional "nonce" element.
>          * @return A container with a generated public key and 
> attesting signature.
>          */
>         public GeneratedKey generateCertifiedKeyPair (int size, 
> byte[] optional_nonce)
>         throws GeneralSecurityException
>           {
>             /////////////////////////////////////////////////////////////////
>             // Generate a new key-pair in the Security Element.  The       //
>             // private key is presumably stored securely in hardware and   //
>             // never leave its container, unless "sealed" by the latter.   //
>             /////////////////////////////////////////////////////////////////
>             KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
>             kpg.initialize (size);
>             KeyPair new_key_pair = kpg.generateKeyPair ();
>
>             /////////////////////////////////////////////////////////////////
>             // Now let the Security Element attest that the new key-pair   //
>             // actually was created inside of the Security Element.        //
>             //                                                             //
>             // NOTE 1: The Security Element MUST NOT expose an API that    //
>             // allows unformatted RSA decryptions like used below to be    //
>             // performed with the key-certifying key, otherwise "malware"  //
>             // could easily create fake attestations for any externally    //
>             // supplied key-pair!                                          //
>             //                                                             //
>             // NOTE 2: Due to the fact that SKAE signatures are only to    //
>             // be created for generated keys, the key-certifying key MAY   //
>             // also be used for creating ordinary PKCS1.5 signatures for   //
>             // things like authentications and securing message integrity  //
>             /////////////////////////////////////////////////////////////////
>             GeneratedKey gk = new GeneratedKey ();
>             gk.certified_public_key = new_key_pair.getPublic ();
>             Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
>             cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
>             gk.skae_signature = cipher.doFinal (createSKAEPackage 
> ((RSAKey)certifying_private_key,
> 
>gk.certified_public_key,
> 
>optional_nonce));
>             gk.certifying_public_key = certifying_public_key;
>             return gk;
>           }
>       }
>
>
>     public static void main (String[] args) throws Exception
>       {
>
>         /////////////////////////////////////////////////////////////////
>         //                                                             //
>         //                     CLIENT Operations                       //
>         //                                                             //
>         // It is assumed that the critical operations are performed    //
>         // inside of the Security Element, otherwise attestations      //
>         // would not be more trustworthy than the environment where    //
>         // the Security Element is actually running in!                //
>         /////////////////////////////////////////////////////////////////
>         SecurityElement se = new SecurityElement ();
>
>         /////////////////////////////////////////////////////////////////
>         // Generate a new key-pair in the Security Element.  The       //
>         // private key is presumably stored securely in hardware and   //
>         // never leave its container, unless "sealed" by the latter.   //
>         /////////////////////////////////////////////////////////////////
>         byte[] nonce = null; // Didn't use a nonce in the sample run
>         GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);
>
>         /////////////////////////////////////////////////////////////////
>         //                                                             //
>         //                     VERIFIER Operations                     //
>         //                                                             //
>         // The certifying public key is supposed to be transferred to  //
>         // the verifier by some kind of protocol, together with the    //
>         // SKAE-signature, certified public key, and the optional      //
>         // nonce.  A nonce (if used) would preferably be created by    //
>         // the verifier during an earlier (not shown) protocol phase.  //
>         /////////////////////////////////////////////////////////////////
>         verifySKAESignature (gk.skae_signature,
>                              gk.certifying_public_key,
>                              gk.certified_public_key,
>                              nonce);
>
>         System.out.println ("The SKAE signature appears to be valid!");
>       }
>
>   }



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8J7l5s7031159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 19 Sep 2008 00:47:05 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8J7l5SM031158; Fri, 19 Sep 2008 00:47:05 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from pne-smtpout2-sn1.fre.skanova.net (pne-smtpout2-sn1.fre.skanova.net [81.228.11.159]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8J7ksGG031143 for <ietf-smime@imc.org>; Fri, 19 Sep 2008 00:47:05 -0700 (MST) (envelope-from anders.rundgren@telia.com)
Received: from arport2v (81.232.45.215) by pne-smtpout2-sn1.fre.skanova.net (7.3.129) (authenticated as u18116613) id 4843FAEB01868BF6 for ietf-smime@imc.org; Fri, 19 Sep 2008 09:46:53 +0200
Message-ID: <00e101c91a2b$e2481320$82c5a8c0@arport2v>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: <ietf-smime@imc.org>
Subject: Subject Key Attestation Evidence "light" - Invention Disclosure
Date: Fri, 19 Sep 2008 09:46:53 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1933
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

The following may be prior art, or be common knowledge. It may
even be a bad idea.  However, the publishing was only done
in order to thwart possible future IPR claims.  If the principle
is already patented, I would appreciate more information
if possible.  The concept described is primarily intended for usage
with mobile phones having embedded crypto hardware which should
be the majority within 5-10 years from now, since crypto hardware is
close to a requirement for making secure operating systems.
In case you find the mail version hard to read, there is a PDF with
the same content available:
http://webpki.org/papers/keygen2/SubjectKeyAttestationEvidence-light__InventionDisclosure.pdf

The decribed scheme is an intrinsic part of the KeyGen2 universal
key-provisioning protocol:
http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf

SKAE "light" - Invention Disclosure
------------------------------------

Background
=========

In some cryptographic systems, asymmetric key-pairs may be
internally generated in Security Elements (SEs), like Smart Cards.
For on-line (remote) provisioning of keys to SEs, there is a whish
by CAs to be able to securely verify that the public key part
they receive for inclusion in a certificate, indeed was (together
with its private counterpart), generated inside of a "genuine" SE.

To support this requirement the TrustedComputingGroup's (TCG's)
Trusted Platform Module (TPM) V1.2 specification features a
mechanism known as Subject Key Attestation Evidence (SKAE).

Prerequisite: The SE contains an embedded private key and a
matching public key certificate identifying the SE in some way that
makes sense for CAs.  The private key is used for signing evidence
attestations regarding generated key-pairs.

Problem: If the embedded private key of the SE is also to be usable
for other cryptographic operations, a "hacked" software environment
could exploit this by creating unprotected key-pairs externally and
still be able providing CAs with genuine-looking attestation
evidences.  TCG's solution to this problem is based on the use
of dedicated key attest keys, specific X.509 certificate extensions,
and potentially also relying on multiple CA roots.  Although
working, this scheme appears unnecessary complex for supporting
a single-purpose key.

Solution
======

The following steps describe how a simpler form of SKAE,
purely based on cryptography, could be implemented in an SE.

First you need to restrict the SE key-certifying private key from being
able to perform unformatted ("blank") RSA decryption
operations through direct API calls to the SE.

You MAY still allow the key-certifying key creating standard
PKCS #1 signatures which are useful for many purposes including
authentication and message integrity.  Encryption operations using
the public key MAY also be supported.

To support SKAE, the proposal is to create a unique variant of PKCS #1
signatures that must only be generated during key-generation.
Such a signature MAY also be created if the SE is explicitly invoked with
a previously generated public key, unless that would lead
to key-reuse vulnerabilities.

A unique variant of PKCS #1 could in its simplest form be implemented
through the use of a non-standard padding pattern.  The hash
algorithms to use would still be the existing SHA-1 etc.  A verifier
should then be able to securely distinguish between standard
signatures and SKAE signatures.  A nonce option would also be
suitable for inclusion in the signature packet.   On the next pages,
there is a sample program in Java implementing the proposed
SKAE scheme.

Although this scheme only describes PKCS #1 (RSA) keys, the
principles are presumable applicable to other asymmetric key types as
well including ECDSA.

One might consider the proposed solution as a standards-defying
"kludge", but the fact is that all current SKAE schemes rely on very
specific generation and validation code.

The primary target for this invention are mobile phones which are
likely to be fitted with secure hardware fairly soon, since this
is more or less a requirement for other purposes as well, most
notably for Operating System integrity protection.

Side Effect: PoP Becomes Redundant
==========================

It seems that a properly designed SKAE scheme makes
Proof of Possession (PoP) signatures like in CRMF (RFC 4211)
redundant which is an advantage because combining PoP
signatures with PIN-code provisioning introduces fairly
awkward state-handling in SEs since the generated private
key typically must be used before it is fully provisioned.

Anders Rundgren, WebPKI.org, September 15, 2008

Author's address:
Storbolsäng 50
740 10 Almunge
Sweden

Email: anders.rundgren@telia.com

---------------------------------------------------------------------


import javax.crypto.Cipher;

import java.security.GeneralSecurityException;
import java.security.MessageDigest;
import java.security.PublicKey;
import java.security.PrivateKey;
import java.security.KeyPair;
import java.security.KeyPairGenerator;

import java.security.interfaces.RSAKey;

/**
 * SKAE (Subject Key Attestation Evidence).  The following J2SE compatible code is meant illustrate
 * the use of SKAE signatures.
 */
public class skae
  {
    static final String SHA_1            = "SHA-1";

    static final String UNFORMATTED_RSA  = "RSA/ECB/NoPadding";

    static final byte[] PS_END_SEQUENCE  = new byte[] {(byte)0x00, (byte)'S',  (byte)'K',  (byte)'A',  (byte)'E'};

    static final byte[] DIGEST_INFO_SHA1 = new byte[] {(byte)0x30, (byte)0x21, (byte)0x30, (byte)0x09, (byte)0x06,
                                                       (byte)0x05, (byte)0x2b, (byte)0x0e, (byte)0x03, (byte)0x02,
                                                       (byte)0x1a, (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x14};


    /**
     * Create an SKAE package for signing or verification
     * @param rsa_key The certifying (attesting) private or public key.
     * @param certified_public_key The certified (attested) key.
     * @param optional_nonce An optional "nonce" element.
     * @return The SKAE package.
     */
    public static byte[] createSKAEPackage (RSAKey rsa_key,
                                            PublicKey certified_public_key,
                                            byte[] optional_nonce)
    throws GeneralSecurityException
      {
        ////////////////////////////////////////////////////////////////////////////////////////
        // To make it feasible securely distinguishing standard RSASSA-PKCS1.5 signatures     //
        // from SKAE signatures the latter are packaged in a different way which should       //
        // create errors if processed by a crypto library that does not support SKAE.         //
        // The following shows the packaging differences in detail.                           //
        //                                                                                    //
        // EMSA-PKCS1-v1_5: EM = 0x00 || 0x01 || PS || 0x00 || T                              //
        //                                                                                    //
        // EM-PKCS1-SKAE:   EM = 0x00 || 0x01 || PS || 0x00 || 'S' || 'K' || 'A' || 'E' || T  //
        ////////////////////////////////////////////////////////////////////////////////////////
        byte[] modulus = rsa_key.getModulus ().toByteArray ();
        int k = modulus.length;
        if (modulus[0] == 0) k--;
        byte[] encoded_message = new byte [k];
        encoded_message[0] = (byte)0;
        encoded_message[1] = (byte)1;
        MessageDigest md = MessageDigest.getInstance (SHA_1);
        if (optional_nonce != null)
          {
            md.update (optional_nonce);
          }
        byte[] hash = md.digest (certified_public_key.getEncoded ());
        int i = k - 2 - PS_END_SEQUENCE.length - hash.length - DIGEST_INFO_SHA1.length;
        int j = 2;
        while (i-- > 0)
          {
            encoded_message[j++] = (byte)0xff;
          }
        i = 0;
        while (i < PS_END_SEQUENCE.length)
          {
            encoded_message[j++] = PS_END_SEQUENCE[i++];
          }
        System.arraycopy (DIGEST_INFO_SHA1, 0, encoded_message, j, DIGEST_INFO_SHA1.length);
        System.arraycopy (hash, 0, encoded_message, j + DIGEST_INFO_SHA1.length, hash.length);
        return encoded_message;
      }



   /**
     * Verify an SKAE signature
     * @param skae_signature The signature to be verified.
     * @param certifying_public_key The certifying (attesting) public key.
     * @param certified_public_key The certified (attested) key.
     * @param optional_nonce An optional "nonce" element.
     * @throws GeneralSecurityException if the signature is invalid or indata is incorrect.
     */
    public static void verifySKAESignature (byte[] skae_signature,
                                            PublicKey certifying_public_key,
                                            PublicKey certified_public_key,
                                            byte[] optional_nonce)
    throws GeneralSecurityException
      {
        Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
        cipher.init (Cipher.ENCRYPT_MODE, certifying_public_key);
        byte[] received_signature_package = cipher.doFinal (skae_signature);
        byte[] reference_signature_package = createSKAEPackage ((RSAKey)certifying_public_key,
                                                                certified_public_key,
                                                                optional_nonce);
        if (reference_signature_package.length != received_signature_package.length)
          {
            throw new GeneralSecurityException ("Signature package length error");
          }
        for (int i = 0; i < received_signature_package.length ; i++)
          {
            if (received_signature_package[i] != reference_signature_package[i])
              {
                // A more comprehensive diagnostic would be preferable...
                throw new GeneralSecurityException ("Signature package content error");
              }
          }
      }


    public static class GeneratedKey
      {
        PublicKey certified_public_key;
        PublicKey certifying_public_key;
        byte[] skae_signature;
      }


    public static class SecurityElement
      {
        PublicKey certifying_public_key;

        private PrivateKey certifying_private_key;

        public SecurityElement () throws GeneralSecurityException
          {
            /////////////////////////////////////////////////////////////////
            // Key-certifying keys are typically created once during       //
            // device manufacturing. The public key part is also most      //
            // likely distributed in an X.509 certificate issued by a CA   //
            // setup specifically for certifying crypto hardware.          //
            // That is, the following lines are just for showing the       //
            // cryptography, without any infrastructural considerations.   //
            /////////////////////////////////////////////////////////////////
            KeyPairGenerator certifier = KeyPairGenerator.getInstance ("RSA");
            certifier.initialize (2048);
            KeyPair certifying_key_pair = certifier.generateKeyPair ();
            certifying_public_key = certifying_key_pair.getPublic ();
            certifying_private_key = certifying_key_pair.getPrivate ();
          }


        /**
         * Create a certified key-pair.
         * @param size The size of the RSA key.
         * @param optional_nonce An optional "nonce" element.
         * @return A container with a generated public key and attesting signature.
         */
        public GeneratedKey generateCertifiedKeyPair (int size, byte[] optional_nonce)
        throws GeneralSecurityException
          {
            /////////////////////////////////////////////////////////////////
            // Generate a new key-pair in the Security Element.  The       //
            // private key is presumably stored securely in hardware and   //
            // never leave its container, unless "sealed" by the latter.   //
            /////////////////////////////////////////////////////////////////
            KeyPairGenerator kpg = KeyPairGenerator.getInstance ("RSA");
            kpg.initialize (size);
            KeyPair new_key_pair = kpg.generateKeyPair ();

            /////////////////////////////////////////////////////////////////
            // Now let the Security Element attest that the new key-pair   //
            // actually was created inside of the Security Element.        //
            //                                                             //
            // NOTE 1: The Security Element MUST NOT expose an API that    //
            // allows unformatted RSA decryptions like used below to be    //
            // performed with the key-certifying key, otherwise "malware"  //
            // could easily create fake attestations for any externally    //
            // supplied key-pair!                                          //
            //                                                             //
            // NOTE 2: Due to the fact that SKAE signatures are only to    //
            // be created for generated keys, the key-certifying key MAY   //
            // also be used for creating ordinary PKCS1.5 signatures for   //
            // things like authentications and securing message integrity  //
            /////////////////////////////////////////////////////////////////
            GeneratedKey gk = new GeneratedKey ();
            gk.certified_public_key = new_key_pair.getPublic ();
            Cipher cipher = Cipher.getInstance (UNFORMATTED_RSA);
            cipher.init (Cipher.DECRYPT_MODE, certifying_private_key);
            gk.skae_signature = cipher.doFinal (createSKAEPackage ((RSAKey)certifying_private_key,
                                                                   gk.certified_public_key,
                                                                   optional_nonce));
            gk.certifying_public_key = certifying_public_key;
            return gk;
          }
      }


    public static void main (String[] args) throws Exception
      {

        /////////////////////////////////////////////////////////////////
        //                                                             //
        //                     CLIENT Operations                       //
        //                                                             //
        // It is assumed that the critical operations are performed    //
        // inside of the Security Element, otherwise attestations      //
        // would not be more trustworthy than the environment where    //
        // the Security Element is actually running in!                //
        /////////////////////////////////////////////////////////////////
        SecurityElement se = new SecurityElement ();

        /////////////////////////////////////////////////////////////////
        // Generate a new key-pair in the Security Element.  The       //
        // private key is presumably stored securely in hardware and   //
        // never leave its container, unless "sealed" by the latter.   //
        /////////////////////////////////////////////////////////////////
        byte[] nonce = null; // Didn't use a nonce in the sample run
        GeneratedKey gk = se.generateCertifiedKeyPair (1024, nonce);

        /////////////////////////////////////////////////////////////////
        //                                                             //
        //                     VERIFIER Operations                     //
        //                                                             //
        // The certifying public key is supposed to be transferred to  //
        // the verifier by some kind of protocol, together with the    //
        // SKAE-signature, certified public key, and the optional      //
        // nonce.  A nonce (if used) would preferably be created by    //
        // the verifier during an earlier (not shown) protocol phase.  //
        /////////////////////////////////////////////////////////////////
        verifySKAESignature (gk.skae_signature,
                             gk.certifying_public_key,
                             gk.certified_public_key,
                             nonce);

        System.out.println ("The SKAE signature appears to be valid!");
      }

  }



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8HJfX1m080533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Sep 2008 12:41:33 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8HJfXXQ080532; Wed, 17 Sep 2008 12:41:33 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp100.biz.mail.re2.yahoo.com (smtp100.biz.mail.re2.yahoo.com [206.190.52.46]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8HJfLr0080510 for <ietf-smime@imc.org>; Wed, 17 Sep 2008 12:41:32 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 66751 invoked from network); 17 Sep 2008 19:41:21 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@71.191.0.27 with login) by smtp100.biz.mail.re2.yahoo.com with SMTP; 17 Sep 2008 19:41:20 -0000
X-YMail-OSG: NWnRwRQVM1mg4s8dCl16ogAJ1LXZIKNvQq2nFcGy_UP0LNDVsPdojd9VTwhd9JWJ0dXT9gFUn1tj8DiYfUtCI1H9JzGhjUmbDsExYWdlkyhQPkAWK7BVs01rN182pIzSb6Bk4NLoBSPNSzQ1k1dwHX5rqNDxIls6o.l2S9WYtuoekPNToLUnFOd2pZO58A--
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: "'Turner, Sean P.'" <turners@ieca.com>, "'Russ Housley'" <housley@vigilsec.com>, <ietf-smime@imc.org>
References: <200809091358.m89DwKYh076619@balder-227.proper.com> <95464D8597D34F2C998097DB59FA9295@Wylie>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt
Date: Wed, 17 Sep 2008 15:41:17 -0400
Organization: IECA, Inc.
Message-ID: <C2E17EF228214231BEC512B98858B813@Wylie>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: AckSh9nBjDRAM8o5TvSIAk/hOc8StgAdS+qwAX/haCA=
In-Reply-To: <95464D8597D34F2C998097DB59FA9295@Wylie>
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

It's been pointed out that we explain why the RSA and DSA key sizes are
different in draft-ietf-smime-rfc3851bis and not in
draft-ietf-smime-rfc3850bis (i.e., the standard isn't yet defined).  To
address this we should replace the suggested draft-ietf-smime-rfc3850bis
security paragraph as follows (add three new sentences to the end):

The 4096-bit RSA key size requirement for certificate and CRL verification
is larger than the 2048-bit RSA key sizes for message signature
generation/verification or message encryption/decryption in [SMIME-MSG]
because many Root CAs included in certificate stores have already issued
Root certificates with 4096-bit key.  The standard that defines comparable
key sizes for DSA is not yet available.  In particular, [FIPS186-3] only
defines DSA key sizes up to 1024 bits.  A revision to support larger key
sizes is being developed, and once it is available, implementors ought to
support DSA key sizes comparable to the RSA key sizes recommended in this
specification.

spt

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org 
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Turner, Sean P.
>Sent: Monday, September 15, 2008 6:22 PM
>To: 'Russ Housley'; ietf-smime@imc.org
>Subject: RE: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt
>
>
>More than one person has asked about the different key sizes 
>in draft-ietf-smime-3850bis and draft-ietf-smime-3851bis.  To 
>save people searching through the archives, we should add some 
>text to the security considerations to address the following 
>two issues: 1) Why don't the DSA and RSA key sizes match up in 
>terms of security strength and 2) Why is 4096 bits the upper 
>bound in draft-ietf-smime-3850bis (CERT) while the upper 
>bounds in in draft-ietf-smime-3851bis (MSG) is 2048.
>
>1) The reason for the DSA key size recommendations not being 
>the same as RSA key size recommendations is that FIPS 186-3 
>only defines key sizes up to 1024.  With no 
>informative/normative reference for us to point to we can't 
>suggest DSA key sizes greater that 1024.  So in 
>draft-ietf-smime-3851bis, I suggest the following change be 
>made to say that when NIST does publish something implementers 
>ought to support the larger key sizes:
>
>Old:
>
>The choice of 2048 bits as the RSA asymmetric key size in this 
>specification is based on the desire to provide 100 bits of 
>security.  The choice of 1024 bits as the DSA, and DH 
>asymmetric key size in this specification is based on the 
>desire to provide 80 bits of security.  These key size seems 
>prudent for the Internet based on Section 4.3 of [STRENGTH].  
>There are other environments (e.g., government, financial, and 
>medical) that may consider this key size to be inadequate.  
>Likewise, there are other environments that may consider this 
>key size to be excessive.
>
>New:
>
>The choice of 2048 bits as the RSA asymmetric key size in this 
>specification is based on the desire to provide 100 bits of 
>security.  The standards to offer the same level of security 
>for DSA and DH are not yet available.  In particular, 
>[FIPS186-3] only defines DSA key sizes up to 1024 bits.  A 
>revision to support larger key sizes is being developed, and 
>once it is available, implementors ought to support DSA key 
>sizes comparable to the RSA key sizes recommended in this 
>specification.  The key sizes that must be supported to 
>conform to this specification seem appropriate for the 
>Internet based on [STRENGTH].  Of course, there are 
>environments, such as financial and medical system, that may 
>select different key sizes.  For this reason, an 
>implementation MAY support key sizes beyond those recommended 
>in this specification.
>
>2) With respect to the 4096 in draft-ietf-smime-rfc3850bis and 
>2048 in draft-ietf-smime-rfc3851bis, the discussion went 
>something like this: a) draft-ietf-smime-3850bis only 
>addresses certificate/CRL validation while 
>draft-ietf-smime-rfc3851bis addresses signature 
>generation/verification and encryption/decryption b) 4096 
>certificates are already in the Mozilla and MS cert store.  To 
>make sure people understand the difference in 
>draft-ietf-smime-rfc3850bis, I suggest adding the following to 
>its security
>considerations:
>
>The 4096-bit RSA key size requirement for certificate and CRL 
>verification is larger than the 2048-bit RSA key sizes for 
>message signature generation/verification or message 
>encryption/decryption in 
>[SMIME-MSG:draft-ietf-smime-rfc3851bis] because multiple 
>certificate stores already include Root certificates with 
>4096-bit keys.
>
>spt
>
>>-----Original Message-----
>>
>>Passing on some WG Last Call comments.
>>
>>Russ
>>
>>= = = = = = = = =
>>
>>1) Section 1.6: Section 1.2 should be 1.3 (conventions section).  Sec
>>1.3: Added references ... should be
>>Sect 1.4: Added references...
>
>Fixed.
>
>>2) Inconsistency: DSA with SHA-256 is a MUST in Section 1.6 and
>>SHOULD+ in section 2.2.  3250-bis and 3251-bis should be consistent
>>for DSA with SHA-256.
>
>DSA with SHA-256 should be SHOULD+ everywhere.
>
>>3) section 1.6 mentions Sec 2.5.2.1 (there is no 2.5.2.1)
>
>2.5.2.1 just talked about RC2 so I deleted it entirely.  I'll 
>split the bullet in two:
>
>Sec 2.5.2.1: Deleted entire section (discussed deprecated RC2).
>Sec 2.7, 2.7.1, Appendix A: references to RC2/40 removed.
>
>>4) Section 1.6 referencing Sec 2.5.2:  "DES-3EDE-CBC" and 
>"AES-128 CBC" 
>>should be "DES-3EDE-CBC" with "AES-128 CBC"
>
>Fixed
>
>>5) Section 1.6 referencing Sec 7: update should be updated
>
>Fixed
>
>>6) I believe that Denis pointed this out already but there is a 
>>contradiction in key sizes for RSA signatures between 3850bis and 
>>3851bis.
>
>See above.
>
>>7) Error in reference [SMIMEv2] in both 3850bis and 3851bis;
>>PKCS#7 is RFC 2315.
>
>Fixed
>



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8FMLt8v086975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Sep 2008 15:21:55 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8FMLt5Z086974; Mon, 15 Sep 2008 15:21:55 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp100.biz.mail.re2.yahoo.com (smtp100.biz.mail.re2.yahoo.com [206.190.52.46]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8FMLsg6086967 for <ietf-smime@imc.org>; Mon, 15 Sep 2008 15:21:54 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 69140 invoked from network); 15 Sep 2008 22:21:53 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.102.193 with login) by smtp100.biz.mail.re2.yahoo.com with SMTP; 15 Sep 2008 22:21:53 -0000
X-YMail-OSG: 3TaQrHUVM1koK.leycxVfHfxthww65mDQVanACwsDvje5eFQ3nvom2wNOnYdNp9B65WjM28DAAuBqNv5mS2UBY68MpnNjV.91pJ9XvrLWj_opiqmTPWwdexG9AVFB2QQ7qqNsXwcoy5VH4hUq8zQqChPNtfU2ESLrt2PYxtW7aAARBUanC5Vs7WMhT4TKg--
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: "'Russ Housley'" <housley@vigilsec.com>, <ietf-smime@imc.org>
References: <200809091358.m89DwKYh076619@balder-227.proper.com>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt
Date: Mon, 15 Sep 2008 18:21:53 -0400
Organization: IECA, Inc.
Message-ID: <95464D8597D34F2C998097DB59FA9295@Wylie>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <200809091358.m89DwKYh076619@balder-227.proper.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: AckSh9nBjDRAM8o5TvSIAk/hOc8StgAdS+qw
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

More than one person has asked about the different key sizes in
draft-ietf-smime-3850bis and draft-ietf-smime-3851bis.  To save people
searching through the archives, we should add some text to the security
considerations to address the following two issues: 1) Why don't the DSA and
RSA key sizes match up in terms of security strength and 2) Why is 4096 bits
the upper bound in draft-ietf-smime-3850bis (CERT) while the upper bounds in
in draft-ietf-smime-3851bis (MSG) is 2048.

1) The reason for the DSA key size recommendations not being the same as RSA
key size recommendations is that FIPS 186-3 only defines key sizes up to
1024.  With no informative/normative reference for us to point to we can't
suggest DSA key sizes greater that 1024.  So in draft-ietf-smime-3851bis, I
suggest the following change be made to say that when NIST does publish
something implementers ought to support the larger key sizes:

Old:

The choice of 2048 bits as the RSA asymmetric key size in this specification
is based on the desire to provide 100 bits of security.  The choice of 1024
bits as the DSA, and DH asymmetric key size in this specification is based
on the desire to provide 80 bits of security.  These key size seems prudent
for the Internet based on Section 4.3 of [STRENGTH].  There are other
environments (e.g., government, financial, and medical) that may consider
this key size to be inadequate.  Likewise, there are other environments that
may consider this key size to be excessive.

New:

The choice of 2048 bits as the RSA asymmetric key size in this specification
is based on the desire to provide 100 bits of security.  The standards to
offer the same level of security for DSA and DH are not yet available.  In
particular, [FIPS186-3] only defines DSA key sizes up to 1024 bits.  A
revision to support larger key sizes is being developed, and once it is
available, implementors ought to support DSA key sizes comparable to the RSA
key sizes recommended in this specification.  The key sizes that must be
supported to conform to this specification seem appropriate for the Internet
based on [STRENGTH].  Of course, there are environments, such as financial
and medical system, that may select different key sizes.  For this reason,
an implementation MAY support key sizes beyond those recommended in this
specification.

2) With respect to the 4096 in draft-ietf-smime-rfc3850bis and 2048 in
draft-ietf-smime-rfc3851bis, the discussion went something like this: a)
draft-ietf-smime-3850bis only addresses certificate/CRL validation while
draft-ietf-smime-rfc3851bis addresses signature generation/verification and
encryption/decryption b) 4096 certificates are already in the Mozilla and MS
cert store.  To make sure people understand the difference in
draft-ietf-smime-rfc3850bis, I suggest adding the following to its security
considerations:

The 4096-bit RSA key size requirement for certificate and CRL verification
is larger than the 2048-bit RSA key sizes for message signature
generation/verification or message encryption/decryption in
[SMIME-MSG:draft-ietf-smime-rfc3851bis] because multiple certificate stores
already include Root certificates with 4096-bit keys.

spt

>-----Original Message-----
>
>Passing on some WG Last Call comments.
>
>Russ
>
>= = = = = = = = =
>
>1) Section 1.6: Section 1.2 should be 1.3 (conventions section).  Sec
>1.3: Added references ... should be
>Sect 1.4: Added references...

Fixed.

>2) Inconsistency: DSA with SHA-256 is a MUST in Section 1.6 and 
>SHOULD+ in section 2.2.  3250-bis and 3251-bis should be consistent
>for DSA with SHA-256.

DSA with SHA-256 should be SHOULD+ everywhere.

>3) section 1.6 mentions Sec 2.5.2.1 (there is no 2.5.2.1)

2.5.2.1 just talked about RC2 so I deleted it entirely.  I'll split the
bullet in two:

Sec 2.5.2.1: Deleted entire section (discussed deprecated RC2).
Sec 2.7, 2.7.1, Appendix A: references to RC2/40 removed.

>4) Section 1.6 referencing Sec 2.5.2:  "DES-3EDE-CBC" and "AES-128 
>CBC" should be "DES-3EDE-CBC" with "AES-128 CBC"

Fixed

>5) Section 1.6 referencing Sec 7: update should be updated

Fixed

>6) I believe that Denis pointed this out already but there is a 
>contradiction in key sizes for RSA signatures between 3850bis 
>and 3851bis.

See above.

>7) Error in reference [SMIMEv2] in both 3850bis and 3851bis; 
>PKCS#7 is RFC 2315.

Fixed



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8FMBnOH086473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 15 Sep 2008 15:11:49 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8FMBn50086472; Mon, 15 Sep 2008 15:11:49 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp100.biz.mail.re2.yahoo.com (smtp100.biz.mail.re2.yahoo.com [206.190.52.46]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8FMBb83086446 for <ietf-smime@imc.org>; Mon, 15 Sep 2008 15:11:47 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 64993 invoked from network); 15 Sep 2008 22:11:36 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.102.193 with login) by smtp100.biz.mail.re2.yahoo.com with SMTP; 15 Sep 2008 22:11:36 -0000
X-YMail-OSG: RJpMUp4VM1liifuxVloFedJ.ELpB6SO7jC5XFcmuzHTZ9O9tj204OQwkF5xbFAKaAg6rfhwnBH70N6vygbYOronysbHtu0fBwFSXQ0OlXVMk99i1uvn4VT5XnXP9Q5Y-
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: <denis.pinkas@bull.net>, "'ietf-smime'" <ietf-smime@imc.org>
References: <200809071944.m87JiifQ052523@balder-227.proper.com> <DreamMail__161905_89570310603@msga-001.frcl.bull.fr> <DreamMail__135537_74840450870@msga-001.frcl.bull.fr>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Mon, 15 Sep 2008 18:11:35 -0400
Organization: IECA, Inc.
Message-ID: <81B10A5B7E174DACB00A0658D1A04DED@Wylie>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <DreamMail__135537_74840450870@msga-001.frcl.bull.fr>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Thread-Index: AckUCKD9brd+aLf5QAaoZVMvSC6KGgADCxcg
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

________________________________

	From: owner-ietf-smime@mail.imc.org
[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Denis Pinkas
	Sent: Thursday, September 11, 2008 4:56 AM
	To: ietf-smime
	Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
	
	
DP:  Let me try again. The text states:
 
The following are the RSA key size requirements for S/MIME  receiving 
agents during certificate and CRL signature verification: 
	
(snip)
	 
 512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG]) 
	
(snip) 
	
 512 <= key size <= 1024 : MAY (see Section 6 [SMIME-MSG]) 
	
If the key size is between 512 and 1024 two lines of requirements apply.
It is unclear which line should be taken into consideration and thus whether
a MUST or a MAY applies.
	 
(snip)

In draft-ietf-smime-3850bis, I mistakenly had two sets of requirements for
RSA.   The first set of requirements is for RSA and the second is for DSA
(typo).  draft-ietf-smime-3850bis 4.3 changed to:

   The following are the RSA key size requirements for S/MIME receiving 
   agents during certificate and CRL signature verification: 

      0 <  key size <   512 : MAY  (see Section 6 [SMIME-MSG]) 
    512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG]) 
   4096 <  key size         : MAY  (see Section 6 [SMIME-MSG]) 

   The following are the **DSA** key size requirements for S/MIME receiving 
   agents during certificate and CRL signature verification: 

    512 <= key size <= 1024 : MAY  (see Section 6 [SMIME-MSG]) 

(snip)
>
>Additional text proposal: 
>
>When verifying a signature, if a signingCertificate or a 
>signingCertificateV2 attribute is found in an S/MIME message, 
>it SHALL be used to identify the signer's certificate. 
>Otherwise, the certificate is identified in an S/MIME message, 
>either using the issuerAndSerialNumber which identifies the 
>signer's certificate by the issuer's distinguished name and 
>the certificate serial number, or the subjectKeyIdentifier 
>which identifies the signer's certificate by a key identifier. 

Okay.
 
DP: This is fine. However, my comment also said: "Additional efforts 
should be done on decrypting a content-encryption key or 
forming a pairwise symmetric key. Would you be able to provide 
some text to cover these aspects ?
	
I'd prefer that you propose the text.

spt
	




Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8EF5G6u072427 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 14 Sep 2008 08:05:16 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8EF5Fsx072426; Sun, 14 Sep 2008 08:05:15 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from people.com.cn ([202.99.23.227]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m8EF4jgS072366 for <ietf-smime@imc.org>; Sun, 14 Sep 2008 08:04:58 -0700 (MST) (envelope-from Internet-Drafts@ietf.org)
Received: from people.com.cn([127.0.0.1]) by people.com.cn(AIMC 2.9.5.8) with SMTP id jm448cd78c6; Sun, 14 Sep 2008 23:20:17 +0800
Received: from mail.ietf.org([64.170.98.32]) by people.com.cn(AIMC 2.9.5.8) with SMTP id jm7848c88d31; Thr, 11 Sep 2008 05:19:38 +0800
Received: from mail.ietf.org([64.170.98.32]) by people.com.cn(AIMC 2.9.5.8) with SMTP id AISP action; Thr, 11 Sep 2008 05:19:38 +0800
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3DCCF28C2B8; Wed, 10 Sep 2008 14:00:06 -0700 (PDT)
X-Original-To: i-d-announce@ietf.org
Delivered-To: i-d-announce@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 1CB1728C29B; Wed, 10 Sep 2008 14:00:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Subject: I-D ACTION:draft-ietf-smime-sha2-06.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080910210002.1CB1728C29B@core3.amsl.com>
Date: Wed, 10 Sep 2008 14:00:02 -0700 (PDT)
Cc: ietf-smime@imc.org
X-BeenThere: i-d-announce@ietf.org
X-Mailman-Version: 2.1.9
Reply-To: internet-drafts@ietf.org
List-Id: Internet Draft Announcements only <i-d-announce.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/i-d-announce>, <mailto:i-d-announce-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/i-d-announce>
List-Post: <mailto:i-d-announce@ietf.org>
List-Help: <mailto:i-d-announce-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i-d-announce>, <mailto:i-d-announce-request@ietf.org?subject=subscribe>
X-AIMC-AUTH: (null)
X-AIMC-MAILFROM: i-d-announce-bounces@ietf.org
X-AIMC-AUTH: (null)
X-AIMC-MAILFROM: Internet-Drafts@ietf.org
X-Auto-Forward: jaglee@people.com.cn jag@kw.com.cn
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Using SHA2 Algorithms with Cryptographic Message Syntax
	Author(s)	: S. Turner
	Filename	: draft-ietf-smime-sha2-06.txt
	Pages		: 10
	Date		: 2008-9-10
	
This document describes the conventions for using the Secure Hash 
   Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, 
   SHA-512) with the Cryptographic Message Syntax (CMS). It also 
   describes the conventions for using these algorithms with CMS and the 
   Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and 
   Elliptic Curve DSA (ECDSA) signature algorithms.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-sha2-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-sha2-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2008-9-10135817.I-D@ietf.org>


--NextPart
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8BBuSCu078538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Sep 2008 04:56:28 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8BBuSwj078537; Thu, 11 Sep 2008 04:56:28 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from odin2.bull.net (odin2.bull.net [129.184.85.11]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8BBuGSl078522 for <ietf-smime@imc.org>; Thu, 11 Sep 2008 04:56:27 -0700 (MST) (envelope-from denis.pinkas@bull.net)
Received: from MSGA-001.frcl.bull.fr (msga-mcl2.frcl.bull.fr [129.184.87.21]) by odin2.bull.net (8.9.3/8.9.3) with ESMTP id OAA71066 for <ietf-smime@imc.org>; Thu, 11 Sep 2008 14:08:18 +0200
Received: from FRMYA-SIA24 ([129.182.109.111]) by MSGA-001.frcl.bull.fr (Lotus Domino Release 5.0.11) with SMTP id 2008091113553857:14691 ; Thu, 11 Sep 2008 13:55:38 +0200 
Reply-To: denis.pinkas@bull.net
From: "Denis Pinkas"<denis.pinkas@bull.net>
To: "ietf-smime"<ietf-smime@imc.org>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Thu, 11 Sep 2008 13:55:37 +0200
Message-Id: <DreamMail__135537_74840450870@msga-001.frcl.bull.fr>
References: <200809071944.m87JiifQ052523@balder-227.proper.com> <DreamMail__161905_89570310603@msga-001.frcl.bull.fr>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-Mailer: DreamMail 4.4.1.0
X-MIMETrack: Itemize by SMTP Server on MSGA-001/FR/BULL(Release 5.0.11  |July 24, 2002) at 11/09/2008 13:55:38, Serialize by Router on MSGA-001/FR/BULL(Release 5.0.11  |July 24, 2002) at 11/09/2008 13:56:14, Serialize complete at 11/09/2008 13:56:14
Content-Type: multipart/alternative;  boundary="----=_NextPart_08091113553728837323313_002"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

------=_NextPart_08091113553728837323313_002
Content-Transfer-Encoding: 8Bit
Content-Type: text/plain; 
	charset="ISO-8859-1"

Sean,

My comments are embedded in the text.

Denis

=============================================
Denis,

Thanks for your comments.

spt 

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org 
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Denis Pinkas
>Sent: Monday, September 08, 2008 10:19 AM
>To: ietf-smime
>Cc: owner-ietf-smime; Sean Turner
>Subject: Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
>
>
>Russ,
>
>Since you asked .. 

>Comment 3. Section 4.3. The text states : 
>
> The following are the RSA key size requirements for S/MIME  receiving 
> agents during certificate and CRL signature verification: 
>
> 0 < key size < 512 : MAY (see Section 6 [SMIME-MSG]) 
> 512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG]) 
> 4096 < key size : MAY (see Section 6 [SMIME-MSG]) 
>
> The following are the RSA key size requirements for S/MIME receiving 
> agents during certificate and CRL signature verification: 
>
> 512 <= key size <= 1024 : MAY (see Section 6 [SMIME-MSG]) 
>
>Section 6 from [SMIME-MSG] does not explain why these key sizes have been chosen. 
>So the reference to that section from that document is not appropriate and should be deleted. 

The 1024 text in draft-ietf-smime-3851bis addresses the 1024 size for
DSA/DH. I'll add something for 2048 RSA. Something along the lines of (I
won't try to change what's in RFC3766 to be todays equipment):

The choice of 2048 bits as the RSA asymmetric key size in this specification
is based on the desire to provide 100 bits of security. The choice of 1024
bits as the DSA, and DH asymmetric key size in this specification is based
on the desire to provide 80 bits of security.

>Furthermore, this is inconsistent: if the key size is 900 
>bits, should we apply a MUST or a MAY ? 

Don't understand this one. If the key is 900-bits then it MUST be supported.

DP:  Let me try again. The text states:

The following are the RSA key size requirements for S/MIME  receiving 
 agents during certificate and CRL signature verification: 

(snip)

 512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG]) 

(snip) 

 512 <= key size <= 1024 : MAY (see Section 6 [SMIME-MSG]) 

If the key size is between 512 and 1024 two lines of requirements apply.
It is unclear which line should be taken into consideration and thus whether a MUST or a MAY applies.

(snip)

>Comment 4. Section 4.2. The text states: 
>
> Certificate, CRL, and path 
> validation MUST be performed as per [KEYM] when validating a 
> correspondent's public key. This is necessary before using 
>a public 
> key to provide security services such as: verifying a signature; 
> encrypting a content-encryption key (ex: RSA); or forming a 
>pairwise 
> symmetric key (ex: Diffie-Hellman) to be used to encrypt or 
>decrypt a 
> content-encryption key. 
>
>The text is silent on the way to identify the right 
>certificate to be used as the input certificate for the path 
>validation. I have focussed my efforts to provide some 
>additional text when verifying a signature. Additional efforts 
>should be done on decrypting a content-encryption key or 
>forming a pairwise symmetric key. 
>
>Additional text proposal: 
>
>When verifying a signature, if a signingCertificate or a 
>signingCertificateV2 attribute is found in an S/MIME message, 
>it SHALL be used to identify the signer's certificate. 
>Otherwise, the certificate is identified in an S/MIME message, 
>either using the issuerAndSerialNumber which identifies the 
>signer's certificate by the issuer's distinguished name and 
>the certificate serial number, or the subjectKeyIdentifier 
>which identifies the signer's certificate by a key identifier. 

Okay.

DP: This is fine. However, my comment also said: "Additional efforts 
should be done on decrypting a content-encryption key or 
forming a pairwise symmetric key. Would you be able to provide 
some text to cover these aspects ?

Denis

------=_NextPart_08091113553728837323313_002
Content-Transfer-Encoding: 8bit
Content-Type: text/html; 
	charset="ISO-8859-1"

<HTML><HEAD><TITLE></TITLE>
<META content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, © Kurt Senfer" 
name=GENERATOR>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>
<BODY style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma" bgColor=#ffffff leftMargin=5 
topMargin=5>
<DIV>Sean,</DIV>
<DIV>&nbsp;</DIV>
<DIV>My comments are embedded in the text.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Denis</DIV>
<DIV>&nbsp;</DIV>
<DIV>=============================================</DIV>
<DIV>Denis,<BR><BR>Thanks for your comments.<BR><BR>spt 
<BR><BR>&gt;-----Original Message-----<BR>&gt;From: <A 
href="mailto: owner-ietf-smime@mail.imc.org">owner-ietf-smime@mail.imc.org</A> 
<BR>&gt;[mailto:<A 
href="mailto: owner-ietf-smime@mail.imc.org">owner-ietf-smime@mail.imc.org</A>] 
On Behalf Of Denis Pinkas<BR>&gt;Sent: Monday, September 08, 2008 10:19 
AM<BR>&gt;To: ietf-smime<BR>&gt;Cc: owner-ietf-smime; Sean 
Turner<BR>&gt;Subject: Re: WG Last Call: 
draft-ietf-smime-rfc3850bis-05.txt<BR>&gt;<BR>&gt;<BR>&gt;Russ,<BR>&gt;<BR>&gt;Since 
you asked .. <BR></DIV>
<DIV>&gt;Comment 3. Section 4.3. The text states : <BR>&gt;<BR>&gt; The 
following are the RSA key size requirements for S/MIME&nbsp;&nbsp;receiving 
<BR>&gt; agents during certificate and CRL signature verification: 
<BR>&gt;<BR>&gt; 0 &lt; key size &lt; 512 : MAY (see Section 6 [SMIME-MSG]) 
<BR>&gt; 512 &lt;= key size &lt;= 4096 : MUST (see Section 6 [SMIME-MSG]) 
<BR>&gt; 4096 &lt; key size : MAY (see Section 6 [SMIME-MSG]) <BR>&gt;<BR>&gt; 
The following are the RSA key size requirements for S/MIME receiving <BR>&gt; 
agents during certificate and CRL signature verification: <BR>&gt;<BR>&gt; 512 
&lt;= key size &lt;= 1024 : MAY (see Section 6 [SMIME-MSG]) 
<BR>&gt;<BR>&gt;Section 6 from [SMIME-MSG] does not explain why these key sizes 
have been chosen. <BR>&gt;So the reference to that section from that document is 
not appropriate and should be deleted. <BR><BR>The 1024 text in 
draft-ietf-smime-3851bis addresses the 1024 size for<BR>DSA/DH. I'll add 
something for 2048 RSA. Something along the lines of (I<BR>won't try to change 
what's in RFC3766 to be todays equipment):<BR><BR>The choice of 2048 bits as the 
RSA asymmetric key size in this specification<BR>is based on the desire to 
provide 100 bits of security. The choice of 1024<BR>bits as the DSA, and DH 
asymmetric key size in this specification is based<BR>on the desire to provide 
80 bits of security.<BR><BR>&gt;Furthermore, this is inconsistent: if the key 
size is 900 <BR>&gt;bits, should we apply a MUST or a MAY ? <BR><BR>Don't 
understand this one. If the key is 900-bits then it MUST be supported.<BR></DIV>
<DIV><STRONG>DP: &nbsp;Let me try again. The text states:</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>The following are the RSA key size requirements for 
S/MIME&nbsp;&nbsp;receiving&nbsp;<BR> agents during certificate and CRL 
signature verification:&nbsp;</STRONG></DIV>
<DIV><STRONG><BR>(snip)</STRONG></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>&nbsp;512 &lt;= key size &lt;= 4096 : MUST (see Section 6 
[SMIME-MSG])&nbsp;<BR></STRONG></DIV>
<DIV><STRONG>(snip)&nbsp;<BR></STRONG></DIV>
<DIV><STRONG>&nbsp;512 &lt;= key size &lt;= 1024 : MAY (see Section 6 
[SMIME-MSG]) <BR></DIV></STRONG>
<DIV><STRONG>If the key size is between 512 and 1024 two lines of requirements 
apply.</STRONG></DIV>
<DIV><STRONG>It is unclear which line should be taken into consideration and 
thus whether a MUST or a MAY applies.</STRONG></DIV>
<DIV>&nbsp;</DIV>
<DIV>(snip)</DIV>
<DIV><BR>&gt;Comment 4. Section 4.2. The text states: <BR>&gt;<BR>&gt; 
Certificate, CRL, and path <BR>&gt; validation MUST be performed as per [KEYM] 
when validating a <BR>&gt; correspondent's public key. This is necessary before 
using <BR>&gt;a public <BR>&gt; key to provide security services such as: 
verifying a signature; <BR>&gt; encrypting a content-encryption key (ex: RSA); 
or forming a <BR>&gt;pairwise <BR>&gt; symmetric key (ex: Diffie-Hellman) to be 
used to encrypt or <BR>&gt;decrypt a <BR>&gt; content-encryption key. 
<BR>&gt;<BR>&gt;The text is silent on the way to identify the right 
<BR>&gt;certificate to be used as the input certificate for the path 
<BR>&gt;validation. I have focussed my efforts to provide some 
<BR>&gt;additional text when verifying a signature. Additional efforts 
<BR>&gt;should be done on decrypting a content-encryption key or <BR>&gt;forming 
a pairwise symmetric key. <BR>&gt;<BR>&gt;Additional text proposal: 
<BR>&gt;<BR>&gt;When verifying a signature, if a signingCertificate or a 
<BR>&gt;signingCertificateV2 attribute is found in an S/MIME message, <BR>&gt;it 
SHALL be used to identify the signer's certificate. <BR>&gt;Otherwise, the 
certificate is identified in an S/MIME message, <BR>&gt;either using the 
issuerAndSerialNumber which identifies the <BR>&gt;signer's certificate by the 
issuer's distinguished name and <BR>&gt;the certificate serial number, or the 
subjectKeyIdentifier <BR>&gt;which identifies the signer's certificate by a key 
identifier. <BR><BR>Okay.</DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG>DP: This is fine. However, my comment also said: "Additional 
efforts <BR>should be done on decrypting a content-encryption key or <BR>forming 
a pairwise symmetric key. Would you be able to provide <BR>some text to cover 
these aspects ?<BR></STRONG></DIV>
<DIV><STRONG>Denis<BR><BR></STRONG></DIV></BODY></HTML>

------=_NextPart_08091113553728837323313_002--






Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8AL09vR020388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Sep 2008 14:00:09 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m8AL09pk020387; Wed, 10 Sep 2008 14:00:09 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m8AL08B8020380 for <ietf-smime@imc.org>; Wed, 10 Sep 2008 14:00:09 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 1CB1728C29B; Wed, 10 Sep 2008 14:00:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-sha2-06.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080910210002.1CB1728C29B@core3.amsl.com>
Date: Wed, 10 Sep 2008 14:00:02 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Using SHA2 Algorithms with Cryptographic Message Syntax
	Author(s)	: S. Turner
	Filename	: draft-ietf-smime-sha2-06.txt
	Pages		: 10
	Date		: 2008-9-10
	
This document describes the conventions for using the Secure Hash 
   Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, 
   SHA-512) with the Cryptographic Message Syntax (CMS). It also 
   describes the conventions for using these algorithms with CMS and the 
   Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and 
   Elliptic Curve DSA (ECDSA) signature algorithms.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-sha2-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-sha2-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-10135817.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m89JU6XI005188 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Sep 2008 12:30:07 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m89JU6aA005187; Tue, 9 Sep 2008 12:30:06 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from mail.ietf.org (mail.ietf.org [64.170.98.32]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m89JU6xE005179 for <ietf-smime@imc.org>; Tue, 9 Sep 2008 12:30:06 -0700 (MST) (envelope-from root@core3.amsl.com)
Received: by core3.amsl.com (Postfix, from userid 0) id 7EAAA3A6B86; Tue,  9 Sep 2008 12:30:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-smime@imc.org
Subject: I-D ACTION:draft-ietf-smime-ibearch-08.txt 
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20080909193001.7EAAA3A6B86@core3.amsl.com>
Date: Tue,  9 Sep 2008 12:30:01 -0700 (PDT)
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts 
directories.
This draft is a work item of the S/MIME Mail Security Working Group of the IETF.

	Title		: Identity-based Encryption Architecture and Supporting Data Structures
	Author(s)	: G. Appenzeller, L. Martin, M. Schertler
	Filename	: draft-ietf-smime-ibearch-08.txt
	Pages		: 37
	Date		: 2008-9-9
	
This document describes the security architecture required to 
     implement identity-based encryption, a public-key encryption 
     technology that uses a user's identity as a public key. It 
     also defines data structures that can be used to implement the 
     technology.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-smime-ibearch-08.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-smime-ibearch-08.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2008-9-9122044.I-D@ietf.org>

--NextPart--



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m89DwVLo076638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Sep 2008 06:58:31 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m89DwVMa076637; Tue, 9 Sep 2008 06:58:31 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m89DwKYh076619 for <ietf-smime@imc.org>; Tue, 9 Sep 2008 06:58:30 -0700 (MST) (envelope-from housley@vigilsec.com)
Message-Id: <200809091358.m89DwKYh076619@balder-227.proper.com>
Received: (qmail 8614 invoked by uid 0); 9 Sep 2008 13:58:16 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128) by woodstock.binhost.com with SMTP; 9 Sep 2008 13:58:16 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Tue, 09 Sep 2008 09:58:14 -0400
To: ietf-smime@imc.org
From: Russ Housley <housley@vigilsec.com>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt- from Sue
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Passing on some WG Last Call comments.

Russ

= = = = = = = = =

1) Section 1.6: Section 1.2 should be 1.3 (conventions section).  Sec 
1.3: Added references ... should be
Sect 1.4: Added references...

2) Inconsistency: DSA with SHA-256 is a MUST in Section 1.6 and 
SHOULD+ in section 2.2.  3250-bis and 3251-bis should be consistent 
for DSA with SHA-256.

3) section 1.6 mentions Sec 2.5.2.1 (there is no 2.5.2.1)

4) Section 1.6 referencing Sec 2.5.2:  "DES-3EDE-CBC" and "AES-128 
CBC" should be "DES-3EDE-CBC" with "AES-128 CBC"

5) Section 1.6 referencing Sec 7: update should be updated

6) I believe that Denis pointed this out already but there is a 
contradiction in key sizes for RSA signatures between 3850bis and 3851bis.

7) Error in reference [SMIMEv2] in both 3850bis and 3851bis; PKCS#7 is RFC 2315.



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88Fsvr6076110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Sep 2008 08:54:57 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m88Fsvda076109; Mon, 8 Sep 2008 08:54:57 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp102.biz.mail.re2.yahoo.com (smtp102.biz.mail.re2.yahoo.com [68.142.229.216]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m88FskWJ076095 for <ietf-smime@imc.org>; Mon, 8 Sep 2008 08:54:56 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 50418 invoked from network); 8 Sep 2008 15:54:37 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.96.147 with login) by smtp102.biz.mail.re2.yahoo.com with SMTP; 8 Sep 2008 15:54:36 -0000
X-YMail-OSG: pANRBogVM1lb0AteeOzdeyBemBu_c8iheM.qsOeA4O7TOZVjQZXCLUdRUvZXd21OMT1MnQnBuyc8cg5T3BKb3IhA4VkCHKfsrlyRcYtY6KtvK9fC28kl0UYY4PLY10UWEdUAsGcChfEWtMElxXXtZfol
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: <denis.pinkas@bull.net>, "'ietf-smime'" <ietf-smime@imc.org>
References: <200809071944.m87JiifQ052523@balder-227.proper.com> <DreamMail__161905_89570310603@msga-001.frcl.bull.fr>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Mon, 8 Sep 2008 11:54:19 -0400
Organization: IECA, Inc.
Message-ID: <500915C8D6A04C0CBEE68126322EC8EB@Wylie>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
In-Reply-To: <DreamMail__161905_89570310603@msga-001.frcl.bull.fr>
Thread-Index: AckRwNavuISvQ3MlSbegyy/9so2D9gAATD1Q
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Denis,

Thanks for your comments.

spt 

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org 
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Denis Pinkas
>Sent: Monday, September 08, 2008 10:19 AM
>To: ietf-smime
>Cc: owner-ietf-smime; Sean Turner
>Subject: Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
>
>
>Russ,
>
>Since you asked .. 
>
>Comment 1. Section 2.2. The text states : 
>
>   Receiving agents MUST support v1 X.509 and v3 X.509 identity  
>   certificates as profiled in [KEYM].   
>
>I took a look at RFC 5280 [KEYM] and searched for "identity 
>certificate". 
>There is not such a term in this document. 
>Please provide the correct reference and section number. 
>Since the sentence includes a MUST, this is rather important.  

I think we can just strike "identity".  Note that I also deleted "identity"
from section 3.

>Comment 2. Section 2.3. The text states : 
>
>   Agents MAY send CA certificates, that is, certificates 
>which can be  
>   considered the "root" of other chains, and which MAY be 
>self-signed.  
>
>This is incorrect. A CA certificate is not necessarily a 
>self-signed certificate. The text should be changed into : 
>
>   Agents MAY send CA certificates, i.e. cross-certificates,  
>   self-issued certificates, and self-signed certificates.  

Okay.

>Comment 3. Section 4.3. The text states : 
>
>   The following are the RSA key size requirements for S/MIME 
>receiving  
>   agents during certificate and CRL signature verification:  
>
>      0 <  key size <   512 : MAY  (see Section 6 [SMIME-MSG])  
>    512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG])  
>   4096 <  key size         : MAY  (see Section 6 [SMIME-MSG])  
>
>   The following are the RSA key size requirements for S/MIME 
>receiving  
>   agents during certificate and CRL signature verification:  
>
>    512 <= key size <= 1024 : MAY  (see Section 6 [SMIME-MSG])  
>
>Section 6 from [SMIME-MSG] does not explain why these key 
>sizes have been chosen. 
>So the reference to that section from that document is not 
>appropriate and should be deleted. 

The 1024 text in draft-ietf-smime-3851bis addresses the 1024 size for
DSA/DH.  I'll add something for 2048 RSA.  Something along the lines of (I
won't try to change what's in RFC3766 to be todays equipment):

The choice of 2048 bits as the RSA asymmetric key size in this specification
is based on the desire to provide 100 bits of security.  The choice of 1024
bits as the DSA, and DH asymmetric key size in this specification is based
on the desire to provide 80 bits of security.

>Furthermore, this is inconsistent: if the key size is 900 
>bits, should we apply a MUST or a MAY ? 

Don't understand this one.  If the key is 900-bits then it MUST be
supported.

>draft-ietf-smime-3851bis-05.txt contains the following requirements : 
>
>...snip
>
>draft-ietf-smime-3851bis places a boundary at 2048 bits. 
>This is far sufficient today, since RSA 1024 is far from being broken. 

The WG consensus was 2048 for RSA as the upper limit.

>4096 bits provides higher security, but this not needed today. 
>This key size should not be mandated to support. Supporting 
>key size higher than 4096 bits can create denial of service, 
>so implementations should not support them. 

draft-ietf-smime-3850bis only addresses validation of certificates and since
4096 is already in root cert stores it seems appropriate to support this.

>I would rather think that the text should be changed into: 
>
>   The following are the RSA key size requirements for S/MIME 
>receiving  
>   agents during certificate and CRL signature verification:  
>
>      0 <  key size <=  512 : MAY 
>    512 <  key size <= 2048 : MUST 
>   2048 <  key size <= 4096 : SHOULD 
>   4096 <  key size         : SHOULD NOT 

We argued about this for a long time.  What's in the document was the WG
consensus.

>Comment 4. Section 4.2. The text states: 
>
>   Certificate, CRL, and path  
>   validation MUST be performed as per [KEYM] when validating a  
>   correspondent's public key.  This is necessary before using 
>a public  
>   key to provide security services such as: verifying a signature;  
>   encrypting a content-encryption key (ex: RSA); or forming a 
>pairwise  
>   symmetric key (ex: Diffie-Hellman) to be used to encrypt or 
>decrypt a  
>   content-encryption key.  
>
>The text is silent on the way to identify the right 
>certificate to be used as the input certificate for the path 
>validation. I have focussed my efforts to provide some 
>additional text when verifying a signature. Additional efforts 
>should be done on decrypting a content-encryption key or 
>forming a pairwise symmetric key. 
>
>Additional text proposal: 
>
>When verifying a signature, if a signingCertificate or a 
>signingCertificateV2 attribute is found in an S/MIME message, 
>it SHALL be used to identify the signer's certificate. 
>Otherwise, the certificate is identified in an S/MIME message, 
>either using the issuerAndSerialNumber which identifies the 
>signer's certificate by the issuer's distinguished name and 
>the certificate serial number, or the subjectKeyIdentifier 
>which identifies the signer's certificate by a key identifier. 

Okay.

>Comment 5. Section 6. 
>
>There is duplication of text. The two following paragraph say 
>the same. 
>Please delete one of them: 
>
>   In addition to the Security Considerations identified in [KEYM],  
>   caution should be taken when processing certificates which 
>have not  
>   first been validated to a trust anchor.  Certificates could be  
>   manufactured by untrusted sources for the purpose of 
>mounting denial  
>   of service or other attacks.  For example, keys selected to 
>require  
>   excessive cryptographic processing, or extensive lists of 
>CDP and/or  
>   AIA addresses in the certificate, could be used to mount denial of  
>   service attacks.  Similarly, originator-specified CDP and/or AIA  
>   addresses could be inserted into bogus certificates to allow the  
>   originator to detect receipt of the message even if signature  
>   verification fails.  
>
>   In addition to the Security Considerations identified in [KEYM],  
>   caution should be taken when processing certificates which 
>have not  
>   first been validated to a trust anchor.  Certificates could be  
>   manufactured by untrusted sources for the purpose of 
>mounting denial  
>   of service or other attacks.  For example, keys selected to 
>require  
>   excessive cryptographic processing, or extensive lists of 
>CDP and/or  
>   AIA addresses in the certificate, could be used to mount denial of  
>   service attacks.  Similarly, attacker-specified CRL distribution  
>   point and/or authority information access addresses could 
>be included  
>   into fake certificates to allow the originator to detect 
>receipt of  
>   the message even if signature verification fails.  

Others caught this too.  I deleted one.

>Denis

... snip



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88FlWru075743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Sep 2008 08:47:32 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m88FlWid075742; Mon, 8 Sep 2008 08:47:32 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp105.biz.mail.re2.yahoo.com (smtp105.biz.mail.re2.yahoo.com [206.190.52.174]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m88FlKZY075720 for <ietf-smime@imc.org>; Mon, 8 Sep 2008 08:47:31 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 49022 invoked from network); 8 Sep 2008 15:47:20 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.96.147 with login) by smtp105.biz.mail.re2.yahoo.com with SMTP; 8 Sep 2008 15:47:20 -0000
X-YMail-OSG: y0mKYtUVM1mC9zHl6HBZruwjiIquJrKsrxlnw2Y81kzqRTYqSUrN_vlZblVwp_MpAZYlepcAWnfTP5DjH12p67_TOIfsbvcL6qZrBacVtXtYePzlibnMv280tEXyWww-
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: "'Russ Housley'" <housley@vigilsec.com>, <ietf-smime@imc.org>
References: <200809081446.m88EkWsP071529@balder-227.proper.com>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Mon, 8 Sep 2008 11:47:02 -0400
Organization: IECA, Inc.
Message-ID: <74E1C8F2D4304F14AACD8CAF95E5CAA4@Wylie>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
In-Reply-To: <200809081446.m88EkWsP071529@balder-227.proper.com>
Thread-Index: AckRw3g36wa2jlR+SO+rNACB+a0K3AAAjpxA
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

>-----Original Message-----
>From: owner-ietf-smime@mail.imc.org 
>[mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Russ Housley
>Sent: Monday, September 08, 2008 10:46 AM
>To: ietf-smime@imc.org
>Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
>
>
>My call for review seems to have caused at least one person to 
>read the document.  They were not sent to the list, so I'm 
>passing them along.
>
>Russ
>
>= = = = = = = = =
>
>1) Section 1.5:  Blurb beginning with Sec 4.3:  RSA-PSS with 
>SHA-256 is not listed with anything. To be consistent with 
>section 4.3, it should read "RSA-PSS with SHA-256 is changed 
>to SHOULD+" or "RSA-PSS with SHA-256 is added as SHOULD+"

Added the "RSA-PSS with SHA-256 is added as SHOULD+" in 1.5.

>2) Section 4, 1st para., 1st sentence was a little confusing: 
>it seemed that the receiving agent needed to provide some 
>certificate retrieval mechanism so that the receiving agent 
>could gain access to certificates for recipients of digital 
>envelopes.  Is this meant instead to mean that the receiving 
>agent needs to provide some certificate retrieval mechanism so 
>that a sender can gain access to certificates for recipients 
>of digital envelopes?

I changed it to "S/MIME agents need to provide ...."

>3) Discrepancy in guidance for DSA with SHA-256: in Section 
>1.5 it's listed as SHOULD; in Section 4.3, it's listed at a SHOULD+

Should be SHOULD+ in 1.5.

>4) Section 4.4.1: Basic Constraints.  Perhaps, this has 
>already been brought up.  The last sentence in that section 
>states that certificates SHOULD contain a basicConstraints 
>extension in CA certs.  In RFC5280, this is a MUST.  Is this 
>contradictory or can this be allowed?  Or does this refer to 
>certificates in general (though, in PKIX certs, doesn't this 
>have to be a MUST for CA certs?)

Changed sentence to: "As per [KEYM], certificates MUST contain a
basicConstraints extension in CA certificates, and SHOULD NOT contain that
extension in end entity certificates."

>5) Appendix A: The first sentence is missing some words:  The 
>S/MIME v3, v3.1, and v3.2 certificate handling documents are 
>backwords S/MIME v2 Message Specification...."

Added some words: "The S/MIME v3 [SMIMEv3], v3.1 [SMIMEv3.1], and v3.2 (this
document) are backwards compatible with the S/MIME v2 Certificate Handling
Specification [SMIMEv2], with the exception of the algorithms (dropped
RC2/40 requirement and added DSA and RSA-PSS requirements)."



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88Ekh0g071554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Sep 2008 07:46:43 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m88EkhUY071553; Mon, 8 Sep 2008 07:46:43 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m88EkWsP071529 for <ietf-smime@imc.org>; Mon, 8 Sep 2008 07:46:43 -0700 (MST) (envelope-from housley@vigilsec.com)
Message-Id: <200809081446.m88EkWsP071529@balder-227.proper.com>
Received: (qmail 22624 invoked by uid 0); 8 Sep 2008 14:46:20 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128) by woodstock.binhost.com with SMTP; 8 Sep 2008 14:46:20 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Mon, 08 Sep 2008 10:46:17 -0400
To: ietf-smime@imc.org
From: Russ Housley <housley@vigilsec.com>
Subject: RE: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

My call for review seems to have caused at least one person to read 
the document.  They were not sent to the list, so I'm passing them along.

Russ

= = = = = = = = =

1) Section 1.5:  Blurb beginning with Sec 4.3:  RSA-PSS with SHA-256 
is not listed with anything. To be consistent with section 4.3, it 
should read "RSA-PSS with SHA-256 is changed to SHOULD+" or "RSA-PSS 
with SHA-256 is added as SHOULD+"

2) Section 4, 1st para., 1st sentence was a little confusing: it 
seemed that the receiving agent needed to provide some certificate 
retrieval mechanism so that the receiving agent could gain access to 
certificates for recipients of digital envelopes.  Is this meant 
instead to mean that the receiving agent needs to provide some 
certificate retrieval mechanism so that a sender can gain access to 
certificates for recipients of digital envelopes?

3) Discrepancy in guidance for DSA with SHA-256: in Section 1.5 it's 
listed as SHOULD; in Section 4.3, it's listed at a SHOULD+

4) Section 4.4.1: Basic Constraints.  Perhaps, this has already been 
brought up.  The last sentence in that section states that 
certificates SHOULD contain a basicConstraints extension in CA 
certs.  In RFC5280, this is a MUST.  Is this contradictory or can 
this be allowed?  Or does this refer to certificates in general 
(though, in PKIX certs, doesn't this have to be a MUST for CA certs?)

5) Appendix A: The first sentence is missing some words:  The S/MIME 
v3, v3.1, and v3.2 certificate handling documents are backwords 
S/MIME v2 Message Specification...."



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88EJodm068949 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Sep 2008 07:19:50 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m88EJoDv068948; Mon, 8 Sep 2008 07:19:50 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from odin2.bull.net (odin2.bull.net [129.184.85.11]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m88EJbQC068921; Mon, 8 Sep 2008 07:19:48 -0700 (MST) (envelope-from denis.pinkas@bull.net)
Received: from MSGA-001.frcl.bull.fr (msga-mcl1.frcl.bull.fr [129.184.87.20]) by odin2.bull.net (8.9.3/8.9.3) with ESMTP id QAA82458; Mon, 8 Sep 2008 16:31:37 +0200
Received: from FRMYA-SIA24 ([129.182.109.111]) by MSGA-001.frcl.bull.fr (Lotus Domino Release 5.0.11) with SMTP id 2008090816190635:148786 ; Mon, 8 Sep 2008 16:19:06 +0200 
Reply-To: denis.pinkas@bull.net
From: "Denis Pinkas"<denis.pinkas@bull.net>
To: "ietf-smime"<ietf-smime@imc.org>
CC: "owner-ietf-smime"<owner-ietf-smime@mail.imc.org>, "Sean Turner"<turners@ieca.com>
Subject: Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
Date: Mon, 8 Sep 2008 16:19:05 +0200
Message-Id: <DreamMail__161905_89570310603@msga-001.frcl.bull.fr>
References: <200809071944.m87JiifQ052523@balder-227.proper.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-Mailer: DreamMail 4.4.1.0
X-MIMETrack: Itemize by SMTP Server on MSGA-001/FR/BULL(Release 5.0.11  |July 24, 2002) at 08/09/2008 16:19:06, Serialize by Router on MSGA-001/FR/BULL(Release 5.0.11  |July 24, 2002) at 08/09/2008 16:19:36, Serialize complete at 08/09/2008 16:19:36
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="ISO-8859-1"
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

Russ,

Since you asked .. 

Comment 1. Section 2.2. The text states : 

   Receiving agents MUST support v1 X.509 and v3 X.509 identity  
   certificates as profiled in [KEYM].   

I took a look at RFC 5280 [KEYM] and searched for “identity certificate”. 
There is not such a term in this document. 
Please provide the correct reference and section number. 
Since the sentence includes a MUST, this is rather important.  


Comment 2. Section 2.3. The text states : 

   Agents MAY send CA certificates, that is, certificates which can be  
   considered the "root" of other chains, and which MAY be self-signed.  

This is incorrect. A CA certificate is not necessarily a self-signed certificate. The text should be changed into : 

   Agents MAY send CA certificates, i.e. cross-certificates,  
   self-issued certificates, and self-signed certificates.  


Comment 3. Section 4.3. The text states : 

   The following are the RSA key size requirements for S/MIME receiving  
   agents during certificate and CRL signature verification:  

      0 <  key size <   512 : MAY  (see Section 6 [SMIME-MSG])  
    512 <= key size <= 4096 : MUST (see Section 6 [SMIME-MSG])  
   4096 <  key size         : MAY  (see Section 6 [SMIME-MSG])  

   The following are the RSA key size requirements for S/MIME receiving  
   agents during certificate and CRL signature verification:  

    512 <= key size <= 1024 : MAY  (see Section 6 [SMIME-MSG])  

Section 6 from [SMIME-MSG] does not explain why these key sizes have been chosen. 
So the reference to that section from that document is not appropriate and should be deleted. 

Furthermore, this is inconsistent: if the key size is 900 bits, should we apply a MUST or a MAY ? 

draft-ietf-smime-3851bis-05.txt contains the following requirements : 

4.2. Signature Generation  

   The following are the requirements for an S/MIME agent generated RSA  
   signatures:  

    512 <= key size <  1024 : MAY     (see Security Considerations)  
   1024 <= key size <= 2048 : SHOULD  (see Security Considerations)  
   2048 <  key size         : MAY     (see Security Considerations)  

   The following are the requirements for an S/MIME agent generated DSA  
   signatures:  

    512 <= key size <= 1024 : SHOULD (see Security Considerations)  

4.3. Signature Verification  

   The following are the requirements for S/MIME receiving agents during  
   signature verification of RSA signatures:  

    512 <= key size <= 2048 : MUST    (see Security Considerations)  
   2048 <  key size         : MAY     (see Security Considerations)  

   The following are the requirements for S/MIME receiving agents during  
   signature verification of DSA signatures:  

    512 <= key size <= 1024 : SHOULD (see Security Considerations)  

4.4. Encryption  

   The following are the requirements for an S/MIME agent when  
   establishing keys for content encryption using the RSA algorithms:  

    512 <= key size <  1024 : MAY    (see Security Considerations)  
   1024 <= key size <= 2048 : SHOULD (see Security Considerations)  
   2048 <  key size         : MAY    (see Security Considerations)  

   The following are the requirements for an S/MIME agent when  
   establishing keys for content encryption using the DH algorithms:  

    512 <= key size <= 1024 : SHOULD (see Security Considerations)  

4.5. Decryption  

   The following are the requirements for an S/MIME agent when  
   establishing keys for content decryption using the RSA algorithms:  

    512 <= key size <= 2048 : MUST   (see Security Considerations)  
   2048 <  key size         : MAY    (see Security Considerations)  

   The following are the requirements for an S/MIME agent when  
   establishing keys for content decryption using the DH algorithms:  

    512 <= key size <= 1024 : SHOULD  (see Security Considerations)  

draft-ietf-smime-3851bis places a boundary at 2048 bits. 
This is far sufficient today, since RSA 1024 is far from being broken. 

4096 bits provides higher security, but this not needed today. 
This key size should not be mandated to support. Supporting key size higher than 4096 bits 
can create denial of service, so implementations should not support them. 

I would rather think that the text should be changed into: 

   The following are the RSA key size requirements for S/MIME receiving  
   agents during certificate and CRL signature verification:  

      0 <  key size <=  512 : MAY 
    512 <  key size <= 2048 : MUST 
   2048 <  key size <= 4096 : SHOULD 
   4096 <  key size         : SHOULD NOT 


Comment 4. Section 4.2. The text states: 

   Certificate, CRL, and path  
   validation MUST be performed as per [KEYM] when validating a  
   correspondent's public key.  This is necessary before using a public  
   key to provide security services such as: verifying a signature;  
   encrypting a content-encryption key (ex: RSA); or forming a pairwise  
   symmetric key (ex: Diffie-Hellman) to be used to encrypt or decrypt a  
   content-encryption key.  

The text is silent on the way to identify the right certificate to be used 
as the input certificate for the path validation. I have focussed my efforts to provide 
some additional text when verifying a signature. Additional efforts should be done 
on decrypting a content-encryption key or forming a pairwise symmetric key. 

Additional text proposal: 

When verifying a signature, if a signingCertificate or a signingCertificateV2 attribute 
is found in an S/MIME message, it SHALL be used to identify the signer’s certificate. 
Otherwise, the certificate is identified in an S/MIME message, either using the 
issuerAndSerialNumber which identifies the signer's certificate by the issuer's 
distinguished name and the certificate serial number, or the subjectKeyIdentifier 
which identifies the signer's certificate by a key identifier. 


Comment 5. Section 6. 

There is duplication of text. The two following paragraph say the same. 
Please delete one of them: 

   In addition to the Security Considerations identified in [KEYM],  
   caution should be taken when processing certificates which have not  
   first been validated to a trust anchor.  Certificates could be  
   manufactured by untrusted sources for the purpose of mounting denial  
   of service or other attacks.  For example, keys selected to require  
   excessive cryptographic processing, or extensive lists of CDP and/or  
   AIA addresses in the certificate, could be used to mount denial of  
   service attacks.  Similarly, originator-specified CDP and/or AIA  
   addresses could be inserted into bogus certificates to allow the  
   originator to detect receipt of the message even if signature  
   verification fails.  

   In addition to the Security Considerations identified in [KEYM],  
   caution should be taken when processing certificates which have not  
   first been validated to a trust anchor.  Certificates could be  
   manufactured by untrusted sources for the purpose of mounting denial  
   of service or other attacks.  For example, keys selected to require  
   excessive cryptographic processing, or extensive lists of CDP and/or  
   AIA addresses in the certificate, could be used to mount denial of  
   service attacks.  Similarly, attacker-specified CRL distribution  
   point and/or authority information access addresses could be included  
   into fake certificates to allow the originator to detect receipt of  
   the message even if signature verification fails.  

Denis

----- Message reçu -----  
De : owner-ietf-smime  
À : Turner,Sean P.,ietf-smime  
Date : 2008-09-07, 21:44:29 
Sujet : Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt 


So far, I have not seen any comments on this WG last Call  
thread. Note that the WG Last Call ends tomorrow. 

Russ 

At 08:32 PM 8/21/2008, Turner, Sean P. wrote: 

>This message initiates an SMIME Working Group Last Call on the document: 
> 
> Title : Secure/Multipurpose Internet Mail Extensions (S/MIME) 
> Version 3.2 Certificate Handling 
> Author(s) : S. Turner, B. Ramsdell 
> Filename : draft-ietf-smime-3850bis-05.txt 
> Pages : 20 
> Date : 2008-8-21 
> 
>This document specifies conventions for X.509 certificate usage by 
>Secure/Multipurpose Internet Mail Extensions (S/MIME) agents. S/MIME 
>provides a method to send and receive secure MIME messages, and certificates 
>are an integral part of S/MIME agent processing. S/MIME agents validate 
>certificates as described in RFC 5280, the Internet X.509 Public Key 
>Infrastructure Certificate and CRL Profile. S/MIME agents must meet the 
>certificate processing requirements in this document as well as those in RFC 
>5280. This document obsoletes RFC 3850. 
> 
>A URL for this Internet-Draft is: 
>http://www.ietf.org/internet-drafts/draft-ietf-smime-3850bis-05.txt 
> 
>The purpose of this WG Last Call is to ensure that the Working Group has 
>achieved consensus that the document is suitable for publication as a 
>Standards Track RFC. 
> 
>Please review the document for both technical and editorial problems. 
>Technical issues should be discussed on this list. Editorial issues may be 
>sent to the document editor. 
> 
>The Last Call period will end on 8 September 2008. 
> 
>Upon completion of the last call, the WG chairs will take action based upon 
>the consensus of the WG. As the authors are also the WG co-chairs, Russ 
>Housley has offered to make consensus calls and the WG chairs have agreed to 
>abide by Russ's consensus calls. Possible actions include: 
> 
> 1) recommending to the IETF Security Area Directors 
> that the document, after possible editorial or 
> other minor changes, be considered by the IESG 
> for publication as an Informational RFC 
> (which generally involves an IETF-wide Last Call); or 
> 
> 2) requiring that outstanding issues be adequately 
> addressed prior to further action (including, 
> possibly, another WG Last Call). 
> 
>Remember that it is our responsibility as Working Group members to ensure 
>the quality of our documents and of the Internet Standards process. So, 
>please read and comment! 
> 
>spt





Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m87JikdL052539 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Sep 2008 12:44:47 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m87Jikr5052538; Sun, 7 Sep 2008 12:44:46 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m87JiihV052524 for <ietf-smime@imc.org>; Sun, 7 Sep 2008 12:44:45 -0700 (MST) (envelope-from housley@vigilsec.com)
Message-Id: <200809071944.m87JiihV052524@balder-227.proper.com>
Received: (qmail 2375 invoked by uid 0); 7 Sep 2008 19:44:38 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128) by woodstock.binhost.com with SMTP; 7 Sep 2008 19:44:38 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Sun, 07 Sep 2008 15:44:42 -0400
To: "Turner, Sean P." <turners@ieca.com>, <ietf-smime@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: WG Last Call: draft-ietf-smime-rfc3851bis-05.txt
In-Reply-To: <366ED0364D3B4D81A6E2CACD5BBD20B8@Wylie>
References: <366ED0364D3B4D81A6E2CACD5BBD20B8@Wylie>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

So far, I have not seen any comments on this WG last Call 
thread.  Note that the WG Last Call ends tomorrow.

Russ

At 08:33 PM 8/21/2008, Turner, Sean P. wrote:

>This message initiates an SMIME Working Group Last Call on the document:
>
>  Title  : Secure/Multipurpose Internet Mail Extensions (S/MIME)
>               Version 3.2 Message Specification
>  Author(s)      : B. Ramsdell, S. Turner
>  Filename       : draft-ietf-smime-3851bis-05.txt
>  Pages  : 45
>  Date           : 2008-8-21
>
>This document defines Secure/Multipurpose Internet Mail Extensions (S/MIME)
>version 3.2.  S/MIME provides a consistent way to send and receive secure
>MIME data.  Digital signatures provide authentication, message integrity,
>and non-repudiation with proof of origin. Encryption provides data
>confidentiality.  Compression can be used to reduce data size.  This
>document obsoletes RFC 3851.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-smime-3851bis-05.txt
>
>The purpose of this WG Last Call is to ensure that the Working Group has
>achieved consensus that the document is suitable for publication as a
>Standards Track RFC.
>
>Please review the document for both technical and editorial problems.
>Technical issues should be discussed on this list. Editorial issues may be
>sent to the document editor.
>
>The Last Call period will end on 8 September 2008.
>
>Upon completion of the last call, the WG chairs will take action based upon
>the consensus of the WG. As the authors are also the WG co-chairs, Russ
>Housley has offered to make consensus calls and the WG chairs have agreed to
>abide by Russ's consensus calls.  Possible actions include:
>
>     1) recommending to the IETF Security Area Directors
>        that the document, after possible editorial or
>        other minor changes, be considered by the IESG
>        for publication as an Informational RFC
>        (which generally involves an IETF-wide Last Call); or
>
>     2) requiring that outstanding issues be adequately
>        addressed prior to further action (including,
>        possibly, another WG Last Call).
>
>Remember that it is our responsibility as Working Group members to ensure
>the quality of our documents and of the Internet Standards process.  So,
>please read and comment!
>
>spt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m87JijO0052536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Sep 2008 12:44:46 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m87JijO5052535; Sun, 7 Sep 2008 12:44:45 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m87JiifQ052523 for <ietf-smime@imc.org>; Sun, 7 Sep 2008 12:44:45 -0700 (MST) (envelope-from housley@vigilsec.com)
Message-Id: <200809071944.m87JiifQ052523@balder-227.proper.com>
Received: (qmail 2371 invoked by uid 0); 7 Sep 2008 19:44:38 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128) by woodstock.binhost.com with SMTP; 7 Sep 2008 19:44:38 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Sun, 07 Sep 2008 15:44:29 -0400
To: "Turner, Sean P." <turners@ieca.com>, <ietf-smime@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: WG Last Call: draft-ietf-smime-rfc3850bis-05.txt
In-Reply-To: <F815A9EABD2D4B488F792F2FE58B8BAA@Wylie>
References: <F815A9EABD2D4B488F792F2FE58B8BAA@Wylie>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

So far, I have not seen any comments on this WG last Call 
thread.  Note that the WG Last Call ends tomorrow.

Russ

At 08:32 PM 8/21/2008, Turner, Sean P. wrote:

>This message initiates an SMIME Working Group Last Call on the document:
>
>  Title  : Secure/Multipurpose Internet Mail Extensions (S/MIME)
>               Version 3.2 Certificate Handling
>  Author(s)      : S. Turner, B. Ramsdell
>  Filename       : draft-ietf-smime-3850bis-05.txt
>  Pages  : 20
>  Date           : 2008-8-21
>
>This document specifies conventions for X.509 certificate usage by
>Secure/Multipurpose Internet Mail Extensions (S/MIME) agents.  S/MIME
>provides a method to send and receive secure MIME messages, and certificates
>are an integral part of S/MIME agent processing.  S/MIME  agents validate
>certificates as described in RFC 5280, the Internet X.509 Public Key
>Infrastructure Certificate and CRL Profile.  S/MIME agents must meet the
>certificate processing requirements in this document as well as those in RFC
>5280. This document obsoletes RFC 3850.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-smime-3850bis-05.txt
>
>The purpose of this WG Last Call is to ensure that the Working Group has
>achieved consensus that the document is suitable for publication as a
>Standards Track RFC.
>
>Please review the document for both technical and editorial problems.
>Technical issues should be discussed on this list. Editorial issues may be
>sent to the document editor.
>
>The Last Call period will end on 8 September 2008.
>
>Upon completion of the last call, the WG chairs will take action based upon
>the consensus of the WG. As the authors are also the WG co-chairs, Russ
>Housley has offered to make consensus calls and the WG chairs have agreed to
>abide by Russ's consensus calls.  Possible actions include:
>
>     1) recommending to the IETF Security Area Directors
>        that the document, after possible editorial or
>        other minor changes, be considered by the IESG
>        for publication as an Informational RFC
>        (which generally involves an IETF-wide Last Call); or
>
>     2) requiring that outstanding issues be adequately
>        addressed prior to further action (including,
>        possibly, another WG Last Call).
>
>Remember that it is our responsibility as Working Group members to ensure
>the quality of our documents and of the Internet Standards process.  So,
>please read and comment!
>
>spt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m85FBEIj071064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Sep 2008 08:11:14 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m85FBEIi071062; Fri, 5 Sep 2008 08:11:14 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from woodstock.binhost.com (woodstock.binhost.com [8.8.40.152]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m85FB2m2071040 for <ietf-smime@imc.org>; Fri, 5 Sep 2008 08:11:13 -0700 (MST) (envelope-from housley@vigilsec.com)
Message-Id: <200809051511.m85FB2m2071040@balder-227.proper.com>
Received: (qmail 11694 invoked by uid 0); 5 Sep 2008 15:10:59 -0000
Received: from unknown (HELO THINKPADR52.vigilsec.com) (96.255.142.128) by woodstock.binhost.com with SMTP; 5 Sep 2008 15:10:59 -0000
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 05 Sep 2008 10:57:21 -0400
To: "Turner, Sean P." <turners@ieca.com>, <ietf-smime@imc.org>, <ietf-pkix@imc.org>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: RFC3278 vs RFC3279 and draft-ietf-pkix-sha2-dsa-ecdsa-04.txt
In-Reply-To: <8D4C70373164419DA8034DC67DC960A5@Wylie>
References: <8D4C70373164419DA8034DC67DC960A5@Wylie>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

I do not know what implementations do, and if there are people with 
shipping product, that should be the answer.

If we have the opportunity to influence how people will do it, I 
prefer absent parameters when generating, but for safety being able 
to validate with either absent parameters of NULL.

Russ

At 05:23 PM 9/4/2008, Turner, Sean P. wrote:

>What did people do when they implemented ecdsa-with-SHA1 - did they include
>NULL parameters or are they absent?  PKIX said one thing and S/MIME says
>something else. For hash algorithms implementations ought to accept both
>NULL and absent as equivalent, but was the same done for ECDSA?
>
>RFC3278 clause 8.1 states:
>
>The following object identifier indicates the digital signature algorithm
>used in this document:
>
>  ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { ansi-x9-62 signatures(4) 1 }
>
>When the object identifier ecdsa-with-SHA1 is used within an algorithm
>identifier, the associated parameters field contains NULL.
>
>RFC3279 clause 2.2 states:
>
>When the ecdsa-with-SHA1 algorithm identifier appears as the algorithm field
>in an AlgorithmIdentifier, the encoding MUST omit the parameters field.
>That is, the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the
>OBJECT IDENTIFIER ecdsa-with-SHA1.
>
>I'd also like to know whether people followed what's in
>draft-ietf-pkix-sha2-dsa-ecdsa-04.txt for ECDSA with SHA224->512 clause
>3.2.1 (below) or if they put NULL parameters in:
>
>When the ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with-SHA384 or
>ecdsa-with-SHA512 algorithm identifier appears in the algorithm field as an
>AlgorithmIdentifier, the encoding MUST omit the parameters field. That is,
>the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the OID:
>ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with- SHA384 or
>ecdsa-with-SHA512.
>
>spt



Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m84LNoCO039298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Sep 2008 14:23:50 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m84LNodA039296; Thu, 4 Sep 2008 14:23:50 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smime@mail.imc.org using -f
Received: from smtp107.biz.mail.re2.yahoo.com (smtp107.biz.mail.re2.yahoo.com [206.190.52.176]) by balder-227.proper.com (8.14.2/8.14.2) with SMTP id m84LNbGg039265 for <ietf-smime@imc.org>; Thu, 4 Sep 2008 14:23:48 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 85644 invoked from network); 4 Sep 2008 21:23:37 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@96.241.99.178 with login) by smtp107.biz.mail.re2.yahoo.com with SMTP; 4 Sep 2008 21:23:37 -0000
X-YMail-OSG: 6zx_gB4VM1liGkxmzeIMiBr7PGaDSQ_W.WS6ntVKPWfWk3ELDFH.vb3at5KB7zSQVxoWcxq_o.0GlsK7oEgBhYfgH8QfVkqI1RzataVgmg--
X-Yahoo-Newman-Property: ymail-3
From: "Turner, Sean P." <turners@ieca.com>
To: <ietf-smime@imc.org>, <ietf-pkix@imc.org>
Subject: RFC3278 vs RFC3279 and draft-ietf-pkix-sha2-dsa-ecdsa-04.txt
Date: Thu, 4 Sep 2008 17:23:32 -0400
Organization: IECA, Inc.
Message-ID: <8D4C70373164419DA8034DC67DC960A5@Wylie>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
Thread-Index: AckO1HuB/IDFhVw1QRypEuGybn0XbQ==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Sender: owner-ietf-smime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-ID: <ietf-smime.imc.org>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>

What did people do when they implemented ecdsa-with-SHA1 - did they include
NULL parameters or are they absent?  PKIX said one thing and S/MIME says
something else. For hash algorithms implementations ought to accept both
NULL and absent as equivalent, but was the same done for ECDSA?

RFC3278 clause 8.1 states:

The following object identifier indicates the digital signature algorithm
used in this document:

 ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { ansi-x9-62 signatures(4) 1 }

When the object identifier ecdsa-with-SHA1 is used within an algorithm
identifier, the associated parameters field contains NULL.

RFC3279 clause 2.2 states:

When the ecdsa-with-SHA1 algorithm identifier appears as the algorithm field
in an AlgorithmIdentifier, the encoding MUST omit the parameters field.
That is, the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the
OBJECT IDENTIFIER ecdsa-with-SHA1.

I'd also like to know whether people followed what's in
draft-ietf-pkix-sha2-dsa-ecdsa-04.txt for ECDSA with SHA224->512 clause
3.2.1 (below) or if they put NULL parameters in:

When the ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with-SHA384 or
ecdsa-with-SHA512 algorithm identifier appears in the algorithm field as an
AlgorithmIdentifier, the encoding MUST omit the parameters field. That is,
the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the OID:
ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with- SHA384 or
ecdsa-with-SHA512. 

spt


