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 U. Blumenthal
Request for Comments: 4785 P. Goel
Category: Standards Track Intel Corporation
January 2007
Pre-Shared Key (PSK) Ciphersuites with NULL Encryption for
Transport Layer Security (TLS)
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 specifies authentication-only ciphersuites (with no
encryption) for the Pre-Shared Key (PSK) based Transport Layer
Security (TLS) protocol. These ciphersuites are useful when
authentication and integrity protection is desired, but
confidentiality is not needed or not permitted.
Table of Contents
1. Introduction ....................................................2
1.1. Applicability Statement ....................................2
2. Conventions Used in This Document ...............................2
3. Cipher Usage ....................................................3
4. Security Considerations .........................................3
5. IANA Considerations .............................................3
6. Acknowledgments .................................................3
7. References ......................................................4
7.1. Normative References .......................................4
7.2. Informative References .....................................4
Blumenthal & Goel Standards Track [Page 1]
^L
RFC 4785 PSK NULL Encryption Ciphersuites for TLS January 2007
1. Introduction
The RFC for Pre-Shared Key (PSK) based Transport Layer Security (TLS)
[TLS-PSK] specifies ciphersuites for supporting TLS using pre-shared
symmetric keys. However, all the ciphersuites defined in [TLS-PSK]
require encryption. However there are cases when only authentication
and integrity protection is required, and confidentiality is not
needed. There are also cases when confidentiality is not permitted -
e.g., for implementations that must meet import restrictions in some
countries. Even though no encryption is used, these ciphersuites
support authentication of the client and server to each other, and
message integrity. This document augments [TLS-PSK] by adding three
more ciphersuites (PSK, DHE_PSK, RSA_PSK) with authentication and
integrity only - no encryption. The reader is expected to become
familiar with [TLS-PSK] standards prior to studying this document.
1.1. Applicability Statement
The ciphersuites defined in this document are intended for a rather
limited set of applications, usually involving only a very small
number of clients and servers. Even in such environments, other
alternatives may be more appropriate.
If the main goal is to avoid Public-key Infrastructures (PKIs),
another possibility worth considering is using self-signed
certificates with public key fingerprints. Instead of manually
configuring a shared secret in, for instance, some configuration
file, a fingerprint (hash) of the other party's public key (or
certificate) could be placed there instead.
It is also possible to use the Secure Remote Password (SRP)
ciphersuites for shared secret authentication [SRP]. SRP was
designed to be used with passwords, and it incorporates protection
against dictionary attacks. However, it is computationally more
expensive than the PSK ciphersuites in [TLS-PSK].
2. Conventions Used in This Document
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 [RFC2119].
Blumenthal & Goel Standards Track [Page 2]
^L
RFC 4785 PSK NULL Encryption Ciphersuites for TLS January 2007
3. Cipher Usage
The three new ciphersuites proposed here match the three cipher
suites defined in [TLS-PSK], except that we define suites with null
encryption.
The ciphersuites defined here use the following options for key
exchange and hash part of the protocol:
CipherSuite Key Exchange Cipher Hash
TLS_PSK_WITH_NULL_SHA PSK NULL SHA
TLS_DHE_PSK_WITH_NULL_SHA DHE_PSK NULL SHA
TLS_RSA_PSK_WITH_NULL_SHA RSA_PSK NULL SHA
For the meaning of the terms PSK, please refer to section 1 in [TLS-
PSK]. For the meaning of the terms DHE, RSA, and SHA, please refer
to appendixes A.5 and B in [TLS].
4. Security Considerations
As with all schemes involving shared keys, special care should be
taken to protect the shared values and to limit their exposure over
time. As this document augments [TLS-PSK], everything stated in its
Security Consideration section applies here. In addition, as cipher
suites defined here do not support confidentiality, care should be
taken not to send sensitive information (such as passwords) over
connections protected with one of the ciphersuites defined in this
document.
5. IANA Considerations
This document defines three new ciphersuites whose values are in the
TLS Cipher Suite registry defined in [TLS].
CipherSuite TLS_PSK_WITH_NULL_SHA = { 0x00, 0x2C };
CipherSuite TLS_DHE_PSK_WITH_NULL_SHA = { 0x00, 0x2D };
CipherSuite TLS_RSA_PSK_WITH_NULL_SHA = { 0x00, 0x2E };
6. Acknowledgments
The ciphersuites defined in this document are an augmentation to and
based on [TLS-PSK].
Blumenthal & Goel Standards Track [Page 3]
^L
RFC 4785 PSK NULL Encryption Ciphersuites for TLS January 2007
7. References
7.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[TLS] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.1", RFC 4346, April 2006.
[TLS-PSK] Eronen, P. and H. Tschofenig, "Pre-Shared Key Ciphersuites
for Transport Layer Security (TLS)", RFC 4279, December
2005.
7.2. Informative References
[SRP] Taylor, D., Wu, T., Mavrogiannopoulos, N., and T. Perrin,
"Using SRP for TLS Authentication", Work in Progress,
December 2006.
Authors' Addresses
Uri Blumenthal
Intel Corporation
1515 State Route 10,
PY2-1 10-4
Parsippany, NJ 07054
USA
EMail: urimobile@optonline.net
Purushottam Goel
Intel Corporation
2111 N.E. 25 Ave.
JF3-414
Hillsboro, OR 97124
USA
EMail: Purushottam.Goel@intel.com
Blumenthal & Goel Standards Track [Page 4]
^L
RFC 4785 PSK NULL Encryption Ciphersuites for TLS January 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.
Blumenthal & Goel Standards Track [Page 5]
^L
|