Subject: Comment on draft-ietf-smime-examples-07

From: [email-masked]
Date: Fri, 1 Mar 2002 13:54:58 +0100

Mr. Hoffman:
There is a mismatch in the definition of Bob´s RSA public key: the fields
"privateKey modulus" in BobPrivRSAEncrypt (1) , and "subjectPublicKey
modulus" in BobRSASignByCarl (2) should be the same.

BobPrivRSAEncrypt =
     0 30  630: SEQUENCE {
     4 02    1:   INTEGER 0
     7 30   13:   SEQUENCE {
     9 06    9:     OBJECT IDENTIFIER rsaEncryption (1 2 840 113549 1 1 1)
              :       (PKCS #1)
    20 05    0:     NULL
              :     }
    22 04  608:   OCTET STRING, encapsulates {
    26 30  604:       SEQUENCE {
    30 02    1:         INTEGER 0
    33 02  129:         INTEGER
              :           00 E4 4B FF 18 B8 24 57 F4 77 FF 6E 73 7B 93 71
<---- ( 1 )
              :           5C BC ...

BobRSASignByCarl =
     0 30  520: SEQUENCE {
     4 30  369:   SEQUENCE {
     8 A0    3:     [0] {
    10 02    1:       INTEGER 2
              :       }
  [...]

   117 30  159:     SEQUENCE {
   120 30   13:       SEQUENCE {
   122 06    9:         OBJECT IDENTIFIER rsaEncryption (1 2 840 113549 1 1
1)
              :           (PKCS #1)
   133 05    0:         NULL
              :         }
   135 03  141:       BIT STRING 0 unused bits, encapsulates {
   139 30  137:           SEQUENCE {
   142 02  129:             INTEGER
              :               00 CA 5C E1 2E EC CF C1 3B 5D 10 1B DF 54 35
71   <--- ( 2 )
              :               99 0A ...

Luciano Medina