Re: More on KEKIdentifiers, and a suggested addition to CMS
jsp@jgvandyke.com (John Pawling) Mon, 15 March 1999 16:50 UTC
Received: from mail.proper.com (mail.proper.com [206.86.127.224]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22337 for <smime-archive@odin.ietf.org>; Mon, 15 Mar 1999 11:50:16 -0500 (EST)
Received: (from majordomo@localhost) by mail.proper.com (8.8.8/8.8.5) id HAA13603 for ietf-smime-bks; Mon, 15 Mar 1999 07:32:29 -0800 (PST)
Received: from apollo.jgvandyke.com (apollo.jgvandyke.com [158.189.10.100]) by mail.proper.com (8.8.8/8.8.5) with ESMTP id HAA13599 for <ietf-smime@imc.org>; Mon, 15 Mar 1999 07:32:27 -0800 (PST)
Received: from ajsn101.jgvandyke.com (ajsn101.jgvandyke.com [158.189.2.101]) by apollo.jgvandyke.com (8.8.8/8.8.8) with SMTP id KAA03353 for <ietf-smime@imc.org>; Mon, 15 Mar 1999 10:44:48 -0500 (EST)
Received: from ajpc81 by ajsn101.jgvandyke.com (SMI-8.6/SMI-SVR4) id KAA27413; Mon, 15 Mar 1999 10:42:07 -0500
Date: Mon, 15 Mar 1999 10:42:07 -0500
Message-Id: <199903151542.KAA27413@ajsn101.jgvandyke.com>
X-Sender: jsp@ajsn101
X-Mailer: Windows Eudora Version 1.4.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: ietf-smime@imc.org
From: jsp@jgvandyke.com
Subject: Re: More on KEKIdentifiers, and a suggested addition to CMS
Sender: owner-ietf-smime@imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smime/mail-archive/>
List-Unsubscribe: <mailto:ietf-smime-request@imc.org?body=unsubscribe>
Peter, I still oppose the addition of "..." to the CMS RecipientInfo syntax. IMHO, "..." does not add any value to the document. Implementors realize that the S/MIME v3 documents are subject to enhancements. If people need to add a CHOICE to the CMS RecipientInfo syntax, then they need to propose a specific syntax and accompanying text for inclusion in CMS. You stated: "- if you don't recognise a CHOICE alternative, you skip it and continue." If you were talking about v3 cert extensions or signedAttributes, I would agree with your "skip it and continue" strategy for unrecognized syntaxes. In the case of a CHOICE syntax, I disagree that it is straightforward to "skip" an unrecognized CHOICE alternative. Most S/MIME implementations use an ASN.1 decoding strategy by which the entire object (i.e. envelopedData, signedData, etc) is decoded via a single call to an ASN.1 library that implements general purpose ASN.1 decoding rules. In this case, there is no easy way to "skip" an unrecognized CHOICE syntax. That is an error condition. For example, if a RecipientInfo includes a CHOICE alternative not defined in the CMS standard, then the decoding software returns an error when attempting to decode the object. I believe that you will find that the vast majority of S/MIME implementations work in this fashion. For example, the S/MIME Freeware Library calls the freeware SNACC ASN.1 library to decode objects. The SNACC ASN.1 library is capable of using general purpose ASN.1 rules to decode the ASN.1 syntaxes included in the ASN.1 modules provided at compile time (ex: CMS ASN.1 module). If the SNACC library encounters an unrecognized CHOICE alternative, it returns an error. There is no easy way to add code to handle a special case like "skip an unrecognized CHOICE alternative in recipientInfo". >This is why I asked for '...' (or text to that effect for those still stuck >with ASN.1:1988) be added to CMS, it means it'll be possible to extend the >CHOICE in the future with further RFC's without requiring an update to CMS >itself (I believe this was the same rationale behind X.500's Name CHOICE). I don't like the idea of splitting a CHOICE syntax definition between multiple documents. IMHO, that is OK for defining attributes and extensions, but not CHOICEs. ========================================================= John Pawling, Director - Systems Engineering J.G. Van Dyke & Associates, Inc., a Wang Global Company =========================================================
- More on KEKIdentifiers, and a suggested addition … Peter Gutmann
- Re: More on KEKIdentifiers, and a suggested addit… Russ Housley
- Re: More on KEKIdentifiers, and a suggested addit… John Pawling
- Re: More on KEKIdentifiers, and a suggested addit… Rich Ankney
- RE: More on KEKIdentifiers, and a suggested addit… Jim Schaad (Exchange)
- Re: More on KEKIdentifiers, and a suggested addit… Peter Gutmann
- Re: More on KEKIdentifiers, and a suggested addit… Magnus Nystrom
- Re: More on KEKIdentifiers, and a suggested addit… John Ross
- Re: More on KEKIdentifiers, and a suggested addit… Paul Hoffman / IMC
- Re: More on KEKIdentifiers, and a suggested addit… Russ Housley
- Re: More on KEKIdentifiers, and a suggested addit… Bruce Greenblatt
- Re: More on KEKIdentifiers, and a suggested addit… Paul Hoffman / IMC
- Re: More on KEKIdentifiers, and a suggested addit… Bruce Greenblatt
- Re: More on KEKIdentifiers, and a suggested addit… Russ Housley
- RE: More on KEKIdentifiers, and a suggested addit… Darren Harter
- Re: More on KEKIdentifiers, and a suggested addit… Peter Gutmann
- Re: More on KEKIdentifiers, and a suggested addit… John Pawling
- Re: More on KEKIdentifiers, and a suggested addit… John Ross
- Re: More on KEKIdentifiers, and a suggested addit… John Pawling
- RE: More on KEKIdentifiers, and a suggested addit… John Pawling
- Re: More on KEKIdentifiers, and a suggested addit… Peter Gutmann
- Re: More on KEKIdentifiers, and a suggested addit… ross@secstan
- Re: More on KEKIdentifiers, and a suggested addit… John Pawling
- Re: More on KEKIdentifiers, and a suggested addit… Peter Gutmann
- Re: More on KEKIdentifiers, and a suggested addit… John Pawling
- Re: More on KEKIdentifiers, and a suggested addit… Peter Gutmann
- Re: More on KEKIdentifiers, and a suggested addit… ross@secstan
- Re: More on KEKIdentifiers, and a suggested addit… Rich Ankney
- Re: More on KEKIdentifiers, and a suggested addit… John Pawling
- Re: More on KEKIdentifiers, and a suggested addit… ross@secstan
- Re: More on KEKIdentifiers, and a suggested addit… Russ Housley