RE: I-D ACTION:draft-ietf-smime-multisig-00.txt
"Turner, Sean P." <turners@ieca.com> Wed, 03 January 2007 15:19 UTC
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1H27uH-0002UA-6P for smime-archive@lists.ietf.org; Wed, 03 Jan 2007 10:19:57 -0500
Received: from balder-227.proper.com ([192.245.12.227]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H27uG-0001in-G6 for smime-archive@lists.ietf.org; Wed, 03 Jan 2007 10:19:57 -0500
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l03EeddD006563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Jan 2007 07:40:39 -0700 (MST) (envelope-from owner-ietf-smime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l03EedI9006562; Wed, 3 Jan 2007 07:40:39 -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.13.5/8.13.5) with SMTP id l03EeZw4006553 for <ietf-smime@imc.org>; Wed, 3 Jan 2007 07:40:35 -0700 (MST) (envelope-from turners@ieca.com)
Received: (qmail 90246 invoked from network); 3 Jan 2007 14:40:33 -0000
Received: from unknown (HELO Wylie) (turners@ieca.com@70.18.224.48 with login) by smtp102.biz.mail.re2.yahoo.com with SMTP; 3 Jan 2007 14:40:32 -0000
X-YMail-OSG: YJBsSz4VM1ntsiNU5mWLcGr0plK6ulv0uBnKLafIoImcZENFgCuRyy2HkTvyVtu7_6xrSB4RXPqg_c94Vok9UikdGEXkRDgkz970ucLA29nqyTDWNIbeupS4sQ3uiOYi5KBxTRRwobx9uOK9yT9w5Kk2lPYvyZ3fQGk4LLsWYxDeX5nCWOR7cx4hoRE5
Reply-To: turners@ieca.com
From: "Turner, Sean P." <turners@ieca.com>
To: 'Denis Pinkas' <denis.pinkas@bull.net>, ietf-smime@imc.org
Subject: RE: I-D ACTION:draft-ietf-smime-multisig-00.txt
Date: Wed, 03 Jan 2007 09:40:15 -0500
Organization: IECA, Inc.
Message-ID: <01e001c72f45$1523dff0$0201a8c0@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: <OF9088D67B.E55623DA-ONC1257250.003E2E4B@frcl.bull.fr>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Thread-Index: Acco4zSwyGWi0t3gQLiD5VTwLn9jHAGXkrJw
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>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a3f7094ccc62748c06b21fcf44c073ee
Dennis, Comments inline.. -----Original Message----- From: owner-ietf-smime@mail.imc.org [mailto:owner-ietf-smime@mail.imc.org] On Behalf Of Denis Pinkas Sent: Tuesday, December 26, 2006 6:19 AM To: ietf-smime@imc.org Subject: Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Comments on draft-ietf-smime-multisig-00.txt ..snip However, this draft is unclear on how it applies. There are three types of RPs concerned with this draft: a) RPs able to process "weak" algorithms, b) RPs able to process "strong" algorithms only, and c) RPs able to process both "weak" and "strong" algorithms. spt> The draft is intended to address all three types of RPs. In case a, the main advantage of this draft is to allow to link digital signatures from the same signer in case of algorithm migration. If the RP decodes a SignerInfo with the "strong" algo, then it cannot verify the digital signature, but then it can easily figure out that there is another signature with the weak algorithms that it can process. The draft is silent about this scenario. spt> The main advantage of the draft is to allow you to know if an attacker stripped off a SignerInfo. I will add the point about being easier able to find the other signature if you only support one of the two. In case b, the RPs is only able to process strong algorithms. If the RP decodes a SignerInfo with the "weak" algo, then it can also figure out that there is another signature that it can process. The draft is silent about this scenario. spt> See above. In case c, the RPs is able to process both the weak and the strong algorithms. If the RP decodes a SignerInfo with the "weak" algo, then it can also figure out that there is another signature that it can process. What about if a single bit from the digital signature made with the stronger algorithm is changed by an attacker ? The digital signature is not suppressed, but becomes invalid. What should the RP do ? The draft is silent about this scenario. spt> We will add text to address this - this part was going to go in to section 5. The draft does not say either whether it applies to the verification of a CMS structure at the present time or at a time in the past. If it is the present time, both the "weak" and "strong" algorithms are safe, and there is no concern for the "downgrade attack". If it is a time in the past, then it is important to make a difference between : - the weakness of hash algorithms, and - the weakness of asymmetric algorithm of short keys. In the later case, time-stamping or time-marking over the digital signature provides a protection. In the former case, time-stamping or time-marking over the digital signature does not provide a protection, but an archive time-stamping provides a protection, since a different and stronger hash algorithm may be used. This means that there exist solutions to handle the problem without the need to use the new signed attribute. spt> I do not believe time should have anything to do with this. If you're not worried about downgrade attacks then don't use the attribute. In addition, RPs should know which hash algorithms is no more safe, which means that they will not use the digital signature made with a weak algorithm. They may try to use the newly defined MultipleSignatures signed attribute to find out another signature made with a strong algorithm. In other words, the "downgrade attack" is not a concern, but the newly defined MultipleSignatures signed attribute is useful to link signatures from the same signer. The abstract should be changed. Hereafter is a proposal: spt> While this might be true there are times when an RP won't know and this draft addresses those instances. CMS SignedData includes the SignerInfo structure to convey per- signer information. SignedData supports multiple signers and multiple signature algorithms per-signer with multiple SignerInfo structures. During periods of algorithm migration, a signer may wish to attach more than one SignerInfo. However, there is no way to identify that they are from the same signer. This document defines a signed attribute, its generation rules, and its processing rules to allow a RP to detect SignerInfo structures generated by the same signer. spt> The point of the draft is to protect against a downgrade attack and I will not change the abstract because I believe your suggestion misses the point of the draft. The processing rules for the various RPs should be given (six cases should be covered). spt> Agreed that we need to fill in the processing rules. The MultipleSignature attribute, as defined, is not good enough, to establish a link without ambiguity. MultipleSignature ::= SEQUENCE { bodyHashAlg DigestAlgorithIdentifier, signAlg SignatureAlgorithmIdentifier, signAttrsHash SignAttrsHash, cert ESSCertIDv2 OPTIONAL} If the same algorithm are used (e.g. SHA-1 with RSA) bodyHashAlg and signAlg will likely be the same. If a signature has few signed attributes signAttrsHash will also likely be the same. The difference will always be guaranteed with cert, which thus should be made mandatory. spt> No the digest alg is sha-1 and the signature alg is rsa with sha-1 so the values are different. Denis >It is a companion document, not a replacement. > >Russ > >At 05:28 AM 12/20/2006, Denis Pinkas wrote: > >>How does this document relate to <draft-ietf-smime-cms-mult-sign-02.txt> ? >> >>Does it replace it ? >> >>Denis >> >> >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 : Multiple Signatures in S/MIME >> > Author(s) : S. Turner >> > Filename : draft-ietf-smime-multisig-00.txt >> > Pages : >> > Date : 2006-12-19 >> > >> > CMS SignedData includes the SignerInfo structure to convey per- >> > signer information. SignedData supports multiple signers and >> > multiple signature algorithms per-signer with multiple SignerInfo >> > structures. If a signer attaches more than one >> SignerInfo, there are >> > concerns that an attacker could perform a downgrade attack by >> > removing the SignerInfo(s) with the 'stronger' algorithm(s). This >> > document defines a signed attribute, its generation rules, and its >> > processing rules to allow signers to convey multiple SignerInfo >> > while protecting against downgrade attacks. Additionally, this >> > attribute may assist during periods of algorithm migration. >> > >> > >> >A URL for this Internet-Draft is: >> >http://www.ietf.org/internet-drafts/draft-ietf-smime-multisig-00.txt >> > >> >To remove yourself from the I-D Announcement list, send a message to >> >i-d-announce-request@ietf.org with the word unsubscribe in the body >> >of the message. >> >You can also visit >> >https://www1.ietf.org/mailman/listinfo/I-D-announce >> >to change your subscription settings. >> > >> >Internet-Drafts are also available by anonymous FTP. Login with the >> >username "anonymous" and a password of your e-mail address. After >> >logging in, type "cd internet-drafts" and then "get >> >draft-ietf-smime-multisig-00.txt". >> > >> >A list of Internet-Drafts directories can be found in >> >http://www.ietf.org/shadow.html or >> >ftp://ftp.ietf.org/ietf/1shadow-sites.txt >> > >> >Internet-Drafts can also be obtained by e-mail. >> > >> >Send a message to: >> > mailserv@ietf.org. >> >In the body type: >> > "FILE /internet-drafts/draft-ietf-smime-multisig-00.txt". >> > >> >NOTE: The mail server at ietf.org can return the document in >> > MIME-encoded form by using the "mpack" utility. To use this >> > feature, insert the command "ENCODING mime" before the "FILE" >> > command. To decode the response(s), you will need "munpack" or >> > a MIME-compliant mail reader. Different MIME-compliant mail readers >> > exhibit different behavior, especially when dealing with >> > "multipart" MIME messages (i.e. documents which have been split >> > up into multiple messages), so check your local documentation on >> > how to manipulate these messages. >> > >> >Below is the data which will enable a MIME compliant mail reader >> >implementation to automatically retrieve the ASCII version of the >> >Internet-Draft. >> > >> >Content-Type: text/plain >> >Content-ID: <2006-12-19135046.I-D@ietf.org> >> > >> >ENCODING mime >> >FILE /internet-drafts/draft-ietf-smime-multisig-00.txt
- I-D ACTION:draft-ietf-smime-multisig-00.txt Internet-Drafts
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Denis Pinkas
- RE: I-D ACTION:draft-ietf-smime-multisig-00.txt Turner, Sean P.
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Russ Housley
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Denis Pinkas
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Russ Housley
- RE: I-D ACTION:draft-ietf-smime-multisig-00.txt Turner, Sean P.
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Denis Pinkas
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Russ Housley
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Denis Pinkas
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Russ Housley
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Denis Pinkas
- Re: I-D ACTION:draft-ietf-smime-multisig-00.txt Denis Pinkas