1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
|
Network Working Group R. Housley
Request for Comments: 4853 Vigil Security
Updates: 3852 April 2007
Category: Standards Track
Cryptographic Message Syntax (CMS)
Multiple Signer Clarification
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The IETF Trust (2007).
Abstract
This document updates the Cryptographic Message Syntax (CMS), which
is published in RFC 3852. This document clarifies the proper
handling of the SignedData protected content type when more than one
digital signature is present.
Housley Standards Track [Page 1]
^L
RFC 4853 CMS Multiple Signer Clarification April 2007
1. Introduction
This document updates the Cryptographic Message Syntax [CMS]. The
CMS SignedData protected content type allows multiple digital
signatures, but the specification is unclear about the appropriate
processing by a recipient of such a signed content. This document
provides replacement text for a few paragraphs, making it clear that
the protected content is validly signed by a given signer, if any of
the digital signatures from that signer are valid.
This property is especially important in two cases. First, when the
recipients do not all implement the same digital signature algorithm,
a signer can sign the content with several different digital
signature algorithms so that each of the recipients can find an
acceptable signature. For example, if some recipients support RSA
and some recipients support ECDSA, then the signer can generate two
signatures, one with RSA and one with ECDSA, so that each recipient
will be able to validate one of the signatures. Second, when a
community is transitioning one-way hash functions or digital
signature algorithms, a signer can sign the content with the older
and the newer signature algorithms so that each recipient can find an
acceptable signature, regardless of their state in the transition.
For example, consider a transition from RSA with SHA-1 to RSA with
SHA-256. The signer can generate two signatures, one with SHA-1 and
one with SHA-256, so that each recipient will be able to 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
RFC 3852, section 5, the next to the last paragraph says:
| 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.
Housley Standards Track [Page 2]
^L
RFC 4853 CMS Multiple Signer Clarification April 2007
This block of text is replaced with:
| 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
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.
This block of text is replaced with:
| 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
Housley Standards Track [Page 3]
^L
RFC 4853 CMS Multiple Signer Clarification April 2007
| 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
The replacement text will reduce 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
Housley Standards Track [Page 4]
^L
RFC 4853 CMS Multiple Signer Clarification April 2007
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.
Housley Standards Track [Page 5]
^L
|