RFC 4853
Cryptographic Message Syntax (CMS) Multiple Signer Clarification
RFC 4853: Cryptographic Message Syntax (CMS) Multiple Signer Clarification π¦
okay bestie, this one is a Standards Track doc from April 2007 π It's written by Russell Housley from Vigil Security, and it's published as RFC 4853 from the Network Working Group. It updates RFC 3852, which is the CMS spec. The title block doesn't list anything under Obsoletes, so it doesn't obsolete anything. π
Status of This Memo β¨
ok so this is an Internet standards track protocol for the Internet community, and the authors are asking for discussion and suggestions for improvements π For the official standardization state and status, check the current edition of "Internet Official Protocol Standards" (STD 1). Distribution of this memo is unlimited πΈ
Copyright Notice π
Copyright (C) The IETF Trust (2007). π
Abstract π§
so this doc updates CMS, which is published in RFC 3852 π«Ά It clarifies how you properly handle the SignedData protected content type when there's more than one digital signature on it π₯
1. Introduction β¨
this doc updates the Cryptographic Message Syntax [CMS] π The SignedData protected content type lets you have multiple digital signatures, but the spec isn't clear on how a recipient should process that signed content π So this doc gives replacement text for a few paragraphs and makes it crystal clear: the protected content is validly signed by a given signer if any of that signer's digital signatures are valid β¨
this property is a big deal in two situations π
First, when recipients don't all support the same digital signature algorithm. The signer can sign the content with several different algorithms so that each recipient can find one they accept. For example, if some recipients support RSA and some support ECDSA, the signer can make two signatures, one with RSA and one with ECDSA, so each recipient can validate one of them π¦
Second, when a community is transitioning between one-way hash functions or digital signature algorithms. The signer can sign with both the older and the newer algorithms, so every recipient finds an acceptable signature no matter where they are in the transition π For example, think about moving from RSA with SHA-1 to RSA with SHA-256. The signer makes two signatures, one with SHA-1 and one with SHA-256, so each recipient can validate at least one of the RSA signatures π
2. Terminology π
the key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [STDWORDS]. π
3. Update to RFC 3852, Section 5: Signed-data Content Type π₯
okay so RFC 3852, section 5, the next to the last paragraph says this π
| A recipient independently computes the message digest. This message
| digest and the signer's public key are used to verify the signature
| value. The signer's public key is referenced either by an issuer
| distinguished name along with an issuer-specific serial number or by
| a subject key identifier that uniquely identifies the certificate
| containing the public key. The signer's certificate can be included
| in the SignedData certificates field.
and that block gets replaced with this π«Ά
| A recipient independently computes the message digest. This message
| digest and the signer's public key are used to verify the signature
| value. The signer's public key is referenced either by an issuer
| distinguished name along with an issuer-specific serial number or by
| a subject key identifier that uniquely identifies the certificate
| containing the public key. The signer's certificate can be included
| in the SignedData certificates field.
|
| When more than one signature is present, the successful validation
| of one signature associated with a given signer is usually treated
| as a successful signature by that signer. However, there are some
| application environments where other rules are needed. An
| application that employs a rule other than one valid signature for
| each signer must specify those rules. Also, where simple matching of
| the signer identifier is not sufficient to determine whether the
| signatures were generated by the same signer, the application
| specification must describe how to determine which signatures were
| generated by the same signer. Support of different communities of
| recipients is the primary reason that signers choose to include more
| than one signature. For example, the signed-data content type might
| include signatures generated with the RSA signature algorithm and
| with the ECDSA signature algorithm. This allows recipients to
| verify the signature associated with one algorithm or the other.
4. Update to RFC 3852, Section 5.1: SignedData Type π
same energy here: RFC 3852, section 5.1, the next to the last paragraph says π
| signerInfos is a collection of per-signer information. There MAY
| be any number of elements in the collection, including zero. The
| details of the SignerInfo type are discussed in section 5.3.
| Since each signer can employ a digital signature technique and
| future specifications could update the syntax, all implementations
| MUST gracefully handle unimplemented versions of SignerInfo.
| Further, since all implementations will not support every possible
| signature algorithm, all implementations MUST gracefully handle
| unimplemented signature algorithms when they are encountered.
and it gets replaced with this β¨
| signerInfos is a collection of per-signer information. There MAY
| be any number of elements in the collection, including zero. When
| the collection represents more than one signature, the successful
| validation of one of signature from a given signer ought to be
| treated as a successful signature by that signer. However,
| there are some application environments where other rules are
| needed. The details of the SignerInfo type are discussed in
| section 5.3. Since each signer can employ a different digital
| signature technique, and future specifications could update the
| syntax, all implementations MUST gracefully handle unimplemented
| versions of SignerInfo. Further, since all implementations will
| not support every possible signature algorithm, all
| implementations MUST gracefully handle unimplemented signature
| algorithms when they are encountered.
6. Security Considerations π₯
this is the serious part, bestie π The replacement text reduces the likelihood of interoperability errors during the transition from MD5 and SHA-1 to stronger one-way hash functions, or to better signature algorithms π
7. Normative References π
[CMS] Housley, R., "Cryptographic Message Syntax (CMS)", RFC
3852, July 2004.
[STDWORDS] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
Author's Address πΈ
Russell Housley
Vigil Security, LLC
918 Spring Knoll Drive
Herndon, VA 20170
USA
EMail: housley@vigilsec.com
Full Copyright Statement π
Copyright (C) The IETF Trust (2007).
This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.
This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property π¦
The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org.
Acknowledgement π«Ά
Funding for the RFC Editor function is currently provided by the Internet Society. π
π¦ where this page comes from
- ietf: rfc4853 2007-04
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms