Network Working Group                                            D. Shaw
Request for Comments: 5581                                     June 2009
Updates: 4880
Category: Informational
        
Network Working Group                                            D. Shaw
Request for Comments: 5581                                     June 2009
Updates: 4880
Category: Informational
        

The Camellia Cipher in OpenPGP

OpenPGP中的Camellia密码

Status of This Memo

关于下段备忘

This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.

本备忘录为互联网社区提供信息。它没有规定任何类型的互联网标准。本备忘录的分发不受限制。

Copyright Notice

版权公告

Copyright (c) 2009 IETF Trust and the persons identified as the document authors. All rights reserved.

版权所有(c)2009 IETF信托基金和确定为文件作者的人员。版权所有。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents in effect on the date of publication of this document (http://trustee.ietf.org/license-info). Please review these documents carefully, as they describe your rights and restrictions with respect to this document.

本文件受BCP 78和IETF信托在本文件出版之日生效的与IETF文件有关的法律规定的约束(http://trustee.ietf.org/license-info). 请仔细阅读这些文件,因为它们描述了您对本文件的权利和限制。

Abstract

摘要

This document presents the necessary information to use the Camellia symmetric block cipher in the OpenPGP protocol.

本文档介绍了在OpenPGP协议中使用Camellia对称分组密码的必要信息。

Table of Contents

目录

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . 2
   2.  Requirements Notation . . . . . . . . . . . . . . . . . . . . . 2
   3.  Camellia  . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
   4.  Security Considerations . . . . . . . . . . . . . . . . . . . . 2
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 3
   6.  Normative References  . . . . . . . . . . . . . . . . . . . . . 3
        
   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . 2
   2.  Requirements Notation . . . . . . . . . . . . . . . . . . . . . 2
   3.  Camellia  . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
   4.  Security Considerations . . . . . . . . . . . . . . . . . . . . 2
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 3
   6.  Normative References  . . . . . . . . . . . . . . . . . . . . . 3
        
1. Introduction
1. 介绍

The OpenPGP protocol [RFC4880] can support many different symmetric ciphers. This document presents the necessary information to use the Camellia [RFC3713] symmetric cipher in the OpenPGP protocol.

OpenPGP协议[RFC4880]可以支持许多不同的对称密码。本文档介绍了在OpenPGP协议中使用Camellia[RFC3713]对称密码的必要信息。

2. Requirements Notation
2. 需求符号

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].

本文件中的关键词“必须”、“不得”、“必需”、“应”、“不应”、“应”、“不应”、“建议”、“可”和“可选”应按照[RFC2119]中所述进行解释。

3. Camellia
3. 山茶花

Camellia is specified in [RFC3713]. It is a 128-bit symmetric block cipher (as are AES and Twofish in OpenPGP) that supports 128-bit, 192-bit, and 256-bit keys. This document defines the use of Camellia in OpenPGP.

[RFC3713]中规定了茶花。它是一种128位对称分组密码(与OpenPGP中的AES和Twofish一样),支持128位、192位和256位密钥。本文档定义了Camellia在OpenPGP中的使用。

     +---------------------+----------------------------------------+
     | Camellia Key Length | OpenPGP Symmetric-Key Algorithm Number |
     +---------------------+----------------------------------------+
     |         128         |                   11                   |
     |         192         |                   12                   |
     |         256         |                   13                   |
     +---------------------+----------------------------------------+
        
     +---------------------+----------------------------------------+
     | Camellia Key Length | OpenPGP Symmetric-Key Algorithm Number |
     +---------------------+----------------------------------------+
     |         128         |                   11                   |
     |         192         |                   12                   |
     |         256         |                   13                   |
     +---------------------+----------------------------------------+
        

OpenPGP applications MAY implement Camellia. If implemented, Camellia may be used in any place in OpenPGP where a symmetric cipher is usable, and it is subject to the same usage requirements (such as its presence in the Preferred Symmetric Algorithms signature subpacket) as the other symmetric ciphers in OpenPGP.

OpenPGP应用程序可以实现Camellia。如果实现,Camellia可以在OpenPGP中使用对称密码的任何地方使用,并且它受到与OpenPGP中其他对称密码相同的使用要求的约束(例如它在首选对称算法签名子包中的存在)。

While the OpenPGP algorithm preferences system prevents interoperability problems with public key encrypted messages, if Camellia (or any other optional cipher) is used for encrypting private keys, there could be interoperability problems when migrating a private key from one system to another. A similar issue can arise when using an optional cipher for symmetrically encrypted messages, as this OpenPGP message type does not use the algorithm preferences system. Those using optional ciphers in this manner should take care they are using a cipher that their intended recipient can decrypt.

虽然OpenPGP算法首选项系统可防止与公钥加密消息的互操作性问题,但如果使用Camellia(或任何其他可选密码)加密私钥,则在将私钥从一个系统迁移到另一个系统时可能存在互操作性问题。当为对称加密的消息使用可选密码时,可能会出现类似的问题,因为此OpenPGP消息类型不使用算法首选项系统。以这种方式使用可选密码的人应该注意,他们使用的密码是其预期收件人可以解密的密码。

4. Security Considerations
4. 安全考虑

At publication time, there are no known weak keys for Camellia, and the Camellia algorithm is believed to be strong. However, as with any technology involving cryptography, implementers should check the

在出版时,没有已知的Camellia弱密钥,并且Camellia算法被认为是强的。然而,与任何涉及加密的技术一样,实现者应该检查

current literature, as well as the Camellia home page at http://info.isl.ntt.co.jp/camellia/ to determine if Camellia has been found to be vulnerable to attack.

目前的文献,以及茶花的主页http://info.isl.ntt.co.jp/camellia/ 确定是否发现茶花容易受到攻击。

5. IANA Considerations
5. IANA考虑

IANA assigned three algorithm numbers from the registry of OpenPGP Symmetric-Key Algorithms that was created by [RFC4880].

IANA从[RFC4880]创建的OpenPGP对称密钥算法注册表中分配了三个算法编号。

6. Normative References
6. 规范性引用文件

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC2119]Bradner,S.,“RFC中用于表示需求水平的关键词”,BCP 14,RFC 2119,1997年3月。

[RFC3713] Matsui, M., Nakajima, J., and S. Moriai, "A Description of the Camellia Encryption Algorithm", RFC 3713, April 2004.

[RFC3713]Matsui,M.,Nakajima,J.,和S.Moraii,“茶花加密算法的描述”,RFC 37132004年4月。

[RFC4880] Callas, J., Donnerhacke, L., Finney, H., Shaw, D., and R. Thayer, "OpenPGP Message Format", RFC 4880, November 2007.

[RFC4880]Callas,J.,Donnerhacke,L.,Finney,H.,Shaw,D.,和R.Thayer,“OpenPGP消息格式”,RFC 48802007年11月。

Author's Address

作者地址

David Shaw

大卫·肖

   EMail: dshaw@jabberwocky.com
        
   EMail: dshaw@jabberwocky.com