rfc5581.txt revision 1.1 1
2
3
4
5
6
7 Network Working Group D. Shaw
8 Request for Comments: 5581 June 2009
9 Updates: 4880
10 Category: Informational
11
12
13 The Camellia Cipher in OpenPGP
14
15 Status of This Memo
16
17 This memo provides information for the Internet community. It does
18 not specify an Internet standard of any kind. Distribution of this
19 memo is unlimited.
20
21 Copyright Notice
22
23 Copyright (c) 2009 IETF Trust and the persons identified as the
24 document authors. All rights reserved.
25
26 This document is subject to BCP 78 and the IETF Trust's Legal
27 Provisions Relating to IETF Documents in effect on the date of
28 publication of this document (http://trustee.ietf.org/license-info).
29 Please review these documents carefully, as they describe your rights
30 and restrictions with respect to this document.
31
32 Abstract
33
34 This document presents the necessary information to use the Camellia
35 symmetric block cipher in the OpenPGP protocol.
36
37 Table of Contents
38
39 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 2
40 2. Requirements Notation . . . . . . . . . . . . . . . . . . . . . 2
41 3. Camellia . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
42 4. Security Considerations . . . . . . . . . . . . . . . . . . . . 2
43 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 3
44 6. Normative References . . . . . . . . . . . . . . . . . . . . . 3
45
46
47
48
49
50
51
52
53
54
55
56
57
58 Shaw Informational [Page 1]
59
61 RFC 5581 The Camellia Cipher in OpenPGP June 2009
62
63
64 1. Introduction
65
66 The OpenPGP protocol [RFC4880] can support many different symmetric
67 ciphers. This document presents the necessary information to use the
68 Camellia [RFC3713] symmetric cipher in the OpenPGP protocol.
69
70 2. Requirements Notation
71
72 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
73 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
74 document are to be interpreted as described in [RFC2119].
75
76 3. Camellia
77
78 Camellia is specified in [RFC3713]. It is a 128-bit symmetric block
79 cipher (as are AES and Twofish in OpenPGP) that supports 128-bit,
80 192-bit, and 256-bit keys. This document defines the use of Camellia
81 in OpenPGP.
82
83 +---------------------+----------------------------------------+
84 | Camellia Key Length | OpenPGP Symmetric-Key Algorithm Number |
85 +---------------------+----------------------------------------+
86 | 128 | 11 |
87 | 192 | 12 |
88 | 256 | 13 |
89 +---------------------+----------------------------------------+
90
91 OpenPGP applications MAY implement Camellia. If implemented,
92 Camellia may be used in any place in OpenPGP where a symmetric cipher
93 is usable, and it is subject to the same usage requirements (such as
94 its presence in the Preferred Symmetric Algorithms signature
95 subpacket) as the other symmetric ciphers in OpenPGP.
96
97 While the OpenPGP algorithm preferences system prevents
98 interoperability problems with public key encrypted messages, if
99 Camellia (or any other optional cipher) is used for encrypting
100 private keys, there could be interoperability problems when migrating
101 a private key from one system to another. A similar issue can arise
102 when using an optional cipher for symmetrically encrypted messages,
103 as this OpenPGP message type does not use the algorithm preferences
104 system. Those using optional ciphers in this manner should take care
105 they are using a cipher that their intended recipient can decrypt.
106
107 4. Security Considerations
108
109 At publication time, there are no known weak keys for Camellia, and
110 the Camellia algorithm is believed to be strong. However, as with
111 any technology involving cryptography, implementers should check the
112
113
114
115 Shaw Informational [Page 2]
116
118 RFC 5581 The Camellia Cipher in OpenPGP June 2009
119
120
121 current literature, as well as the Camellia home page at
122 http://info.isl.ntt.co.jp/camellia/ to determine if Camellia has been
123 found to be vulnerable to attack.
124
125 5. IANA Considerations
126
127 IANA assigned three algorithm numbers from the registry of OpenPGP
128 Symmetric-Key Algorithms that was created by [RFC4880].
129
130 6. Normative References
131
132 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
133 Requirement Levels", BCP 14, RFC 2119, March 1997.
134
135 [RFC3713] Matsui, M., Nakajima, J., and S. Moriai, "A Description of
136 the Camellia Encryption Algorithm", RFC 3713, April 2004.
137
138 [RFC4880] Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R.
139 Thayer, "OpenPGP Message Format", RFC 4880, November 2007.
140
141 Author's Address
142
143 David Shaw
144
145 EMail: dshaw (a] jabberwocky.com
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 Shaw Informational [Page 3]
173
175