--- 1/draft-ietf-openpgp-rfc2440bis-13.txt 2006-02-05 00:55:46.000000000 +0100 +++ 2/draft-ietf-openpgp-rfc2440bis-14.txt 2006-02-05 00:55:46.000000000 +0100 @@ -1,23 +1,23 @@ Network Working Group Jon Callas Category: INTERNET-DRAFT PGP Corporation -draft-ietf-openpgp-rfc2440bis-13.txt -Expires November 2005 Lutz Donnerhacke -May 2005 +draft-ietf-openpgp-rfc2440bis-14.txt +Expires January 2006 Lutz Donnerhacke +July 2005 Obsoletes: 1991, 2440 Hal Finney - Network Associates + PGP Corporation Rodney Thayer OpenPGP Message Format - draft-ietf-openpgp-rfc2440bis-13.txt + draft-ietf-openpgp-rfc2440bis-14.txt Copyright (C) The Internet Society (2005). Status of this Memo This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC 2026. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that @@ -2584,21 +2584,22 @@ 4 E 21 V 38 m 55 3 5 F 22 W 39 n 56 4 6 G 23 X 40 o 57 5 7 H 24 Y 41 p 58 6 8 I 25 Z 42 q 59 7 9 J 26 a 43 r 60 8 10 K 27 b 44 s 61 9 11 L 28 c 45 t 62 + 12 M 29 d 46 u 63 / 13 N 30 e 47 v - 14 O 31 f 48 w (pad) 15 P 32 g 49 x + 14 O 31 f 48 w (pad) = + 15 P 32 g 49 x 16 Q 33 h 50 y The encoded output stream must be represented in lines of no more than 76 characters each. Special processing is performed if fewer than 24 bits are available at the end of the data being encoded. There are three possibilities: 1. The last data group has 24 bits (3 octets). No special processing is needed. @@ -2641,35 +2642,40 @@ 111110 Decimal: 5 15 46 28 0 61 37 62 Output: F P u c A 9 l + Input data: 0x14fb9c03d9 Hex: 1 4 f b 9 c | 0 3 d 9 8-bit: 00010100 11111011 10011100 | 00000011 11011001 pad with 00 6-bit: 000101 001111 101110 011100 | 000000 111101 100100 Decimal: 5 15 46 28 0 61 36 - pad with Output: F P u c A 9 k + pad with = + Output: F P u c A 9 k = + Input data: 0x14fb9c03 Hex: 1 4 f b 9 c | 0 3 8-bit: 00010100 11111011 10011100 | 00000011 pad with 0000 6-bit: 000101 001111 101110 011100 | 000000 110000 Decimal: 5 15 46 28 0 48 - pad with = Output: F P u c A w = + pad with = = + Output: F P u c A w = = + 6.6. Example of an ASCII Armored Message -----BEGIN PGP MESSAGE----- Version: OpenPrivacy 0.99 yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS - vBSFjNSiVHsuAA= =njUN + vBSFjNSiVHsuAA== + =njUN -----END PGP MESSAGE----- Note that this example is indented by two spaces. 7. Cleartext signature framework It is desirable to sign a textual octet stream without ASCII armoring the stream itself, so the signed text is still readable without special software. In order to bind a signature to such a cleartext, this framework is used. (Note that RFC 3156 defines another way to sign cleartext messages for environments that support @@ -3515,25 +3521,25 @@ home page" [ELGAMAL] T. Elgamal, "A Public-Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms," IEEE Transactions on Information Theory, v. IT-31, n. 4, 1985, pp. 469-472. [FIPS180] Secure Hash Signature Standard (SHS) (FIPS PUB 180-2). + fips180-2/fips180-2withchangenotice.pdf> [FIPS186] Digital Signature Standard (DSS) (FIPS PUB 186-2). - + [HAC] Alfred Menezes, Paul van Oorschot, and Scott Vanstone, "Handbook of Applied Cryptography," CRC Press, 1996. [IDEA] Lai, X, "On the design and security of block ciphers", ETH Series in Information Processing, J.L. Massey (editor), Vol. 1, Hartung-Gorre Verlag Knostanz, Technische Hochschule (Zurich), 1992 [ISO10646] ISO/IEC 10646-1:1993. International Standard --