rfc4880bis: Apply errata 2270
authorWerner Koch <wk@gnupg.org>
Wed, 27 May 2015 15:41:15 +0000 (17:41 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 27 May 2015 15:41:15 +0000 (17:41 +0200)
--
Status: Verified
Type: Technical

Reported By: David Shaw
Date Reported: 2010-05-18
Verifier Name: Sean Turner
Date Verified: 2010-07-20

Section 5.2.2 says:

       SHA224:     0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86,
                   0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04, 0x05,
                   0x00, 0x04, 0x1C

It should say:

       SHA224:     0x30, 0x2d, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86,
                   0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04, 0x05,
                   0x00, 0x04, 0x1C

Notes:

The second byte as published in 4880 is 0x31 but should be 0x2d.

Hal Finney noted this once, but I didn't see it entered in as an errata.

misc/id/rfc4880bis/middle.mkd

index 52ca4c4..b37bf00 100644 (file)
@@ -866,7 +866,7 @@ The full hash prefixes for these are as follows:
        SHA-1:      0x30, 0x21, 0x30, 0x09, 0x06, 0x05, 0x2b, 0x0E,
                    0x03, 0x02, 0x1A, 0x05, 0x00, 0x04, 0x14
 
-       SHA224:     0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86,
+       SHA224:     0x30, 0x2D, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86,
                    0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04, 0x05,
                    0x00, 0x04, 0x1C