People,
I now have only a couple of examples that I have not checked. There are
a couple of failures in this set of messages from my perspective.
jim
4.1 pass
4.2 pass
5.1 pass
5.2 pass
5.3 -- not checked ---
5.4 pass with comments
1. certificates are Alice DSS, Carl DSS (root), Alice RSA
5.5 pass
5.6 --- not checked -- - structurally fine -
- First Sig checks
Diane signature unchecked
5.7 pass
5.8 -- not checked --
1. I have an assumption that the wrong signature OID is used in
the message.
5.9 FAILED
1. id-dsa is the signature algorithm not id-dsa-with-sha1
2. Commentary text states that the body part is the same as 5.1
- this is not correct as the signature values and exContent are
different (content is actually "\0xd\0xaThis is some sample content."
5.10 pass with comments
1. List of attributes is
1. content type
2. message digest
3. 1.2.5555 (unknown)
4. content hint
5. smime capabilities
6. security label
7. content reference
8. encrypt key preference
9. ML expansion history
10. Equivalent label
5.11 pass with comments
1. Text should be Alice's and Carl's DSS certificates.
6.1 passed with comments
1. New commentary to add to replace that at the end of the
message is appended to this message.
6.2 passed
6.3 passed with comments
1. RC2/128 for the content encryption algorithm.
6.4 passed
6.5 passed
6.6 -- not checked --
6.7 passed
6.8 -- not checked --
6.9 FAILED
Recip #1 pass
Recip #2 pass
Recip #3 FAIL
Content hints says the content is 1.2.6.5.4 not id-data
6.10 pass
6.11 FAILED
test vectors are appended below on this message. I don't know
where I am going wrong and this code worked in the past.
7.0 pass
8.1 passed
8.2 passed with comment
Need to specify that this uses the same key value as does 8.1
9 -- checked--
10.1 -- not checked --
10.2 checked
11.1 FAILED
1. Text states signed with RSA, message signed with DSA
2. DSA signature OID incorrect
3. I retract the comments about the receipt request and
AliceRSA. This is fine. The only odditity is the the receipt is going
to a non-example address (robert(_dot_)colestock(_at_)wang(_dot_)com)
11.2 FAILED
1. I do not get the same value for the msgSigDigest attribute as
this message has. I am investigating further.
11.3 passed
11.4 passed
11.5 -- not checked --
11.6 -- not checked --
***************************** 6.1 intermediate data for document
**********************
Z
ae c3 35 7f 90 75 b5 e4 c5 f8 92 6b 9e c5 96 a3
24 52 9d 85 32 60 7b 8b bd c2 a7 39 63 e9 d6 93
ad d5 1f 56 8d 91 97 72 a9 c2 f4 83 27 fa 37 3d
13 12 f3 3b 5c 8d ec ce 6b 2d 4f f1 9b 4c 91 e4
6d c0 68 1a 2e e0 c4 07 46 c3 f2 90 f4 ae fe c8
d8 ef dc ca 84 d5 fd 3a 36 ee ba 67 16 18 7f a3
de f3 df 3b 66 e1 6a 0b 79 bb 6a 50 c2 63 9f 24
ed 9b 17 d8 c1 b4 4e 8a a1 6a 35 02 d0 81 9c a3
X9.42 Other Info encoding for first hash
30 61 30 13 06 0b 2a 86 48 86 f7 0d 01 09 10 03
06 04 04 00 00 00 01 a0 42 04 40 a9 74 c4 e9 aa
79 d3 ce 5c 74 a4 ed a5 db 65 f5 c0 37 d6 81 f1
0a 93 5f 24 a1 db 97 96 ee 87 8b 79 db e9 07 11
23 ce 70 24 84 30 72 02 83 d5 7d 60 d3 d4 f6 a7
4d 4c c2 e0 89 fa cd 59 20 a2 93 a2 06 04 04 00
00 00 c0
Hash Result #1
5d fa dc ad 89 87 33 7c ec cf af 8a fc e8 fd 56
38 d8 89 0c
Hash Result #2
74 f2 fb f8 2c d7 bd 7a 92 1b 3c 10 df 16 0b a9
64 08 f2 a5
3DES Key Encryption Key
5d fb dc ad 89 86 32 7c ec ce ae 8a fd e9 fd 57
38 d9 89 0d 75 f2 fb f8
3DES Content Encryption Key
92 40 51 b6 43 16 13 52 f7 ad 92 cb f2 57 3e 7f
a8 ce 02 ba b6 2a cd c2
***************************** 6.11 intermediate data from my test
**************** But it fails....
Wrapped key
0x0012F248 74 31 c0 45 51 4c 3c 2d 2e da 63 50 8b ae d4 ac
t1ÀEQL<-.ÚcP.®Ô¬ 0x0012F258 64 cc 95 ae af cd 0f 8c b6 48 1f 0b 45 12
4d fb dÌ.®¯Í..¶H..E.M.
0x0012F268 a4 ab c7 83 30 4b 69 ad ¤«Ç.0Ki
Mail list key
0x00324354 25 5e 0d 1c 07 b6 46 df b3 13 4c c8 43 ba 8a a7
%^...¶Fß³.LÈCº.§ 0x00324364 1f 02 5b 7c 08 38 25 1f
After decrypt #1
0x00324630 d7 10 66 ee 9a 42 e0 80 62 a3 e5 de b5 ef 4e 7e
×.f..B..b£.Þµ.N~ 0x00324640 5f 13 30 b5 13 d3 a8 4f be dc 02 d4 81 27
db 50 _.0µ.Ó¨O¾Ü.Ô.'ÛP
0x00324650 e5 d8 0f e9 25 38 f1 7b .Ø..%8.{
IV
0x00324630 7b f1 38 25 e9 0f d8 e5 {.8%..Ø.
Post Decrypt #2
0x00324630 50 db 27 81 d4 02 dc be 4f a8 d3 13 b5 30 13 5f
PÛ'.Ô.ܾO¨Ó.µ0._ 0x00324640 7e 4e ef b5 de e5 a3 62 80 e0 42 9a ee 66
10 d7 ~N.µÞ.£b..B..f.×
Computed check sum
0x0012EFD8 53 fb 3e cc 8a 06 cc af S.>Ì..̯
Actual Check sum
80 e0 42 9a ee 66 10 d7
--- they don't match!!!!!