|
| 1 | +diff --git a/test/recipes/80-test_cms.t b/test/recipes/80-test_cms.t |
| 2 | +index f038bea3..dc8574ed 100644 |
| 3 | +--- a/test/recipes/80-test_cms.t |
| 4 | ++++ b/test/recipes/80-test_cms.t |
| 5 | +@@ -137,9 +137,9 @@ my @smime_pkcs7_tests = ( |
| 6 | + "-CAfile", catfile($smdir, "smroot.pem"), "-out", "smtst.txt" ] |
| 7 | + ], |
| 8 | + |
| 9 | +- [ "enveloped content test streaming S/MIME format, DES, 3 recipients", |
| 10 | ++ [ "enveloped content test streaming S/MIME format, AES-128, 3 recipients", |
| 11 | + [ "-encrypt", "-in", $smcont, |
| 12 | +- "-stream", "-out", "test.cms", |
| 13 | ++ "-aes128", "-stream", "-out", "test.cms", |
| 14 | + catfile($smdir, "smrsa1.pem"), |
| 15 | + catfile($smdir, "smrsa2.pem"), |
| 16 | + catfile($smdir, "smrsa3.pem") ], |
| 17 | +@@ -147,9 +147,9 @@ my @smime_pkcs7_tests = ( |
| 18 | + "-in", "test.cms", "-out", "smtst.txt" ] |
| 19 | + ], |
| 20 | + |
| 21 | +- [ "enveloped content test streaming S/MIME format, DES, 3 recipients, 3rd used", |
| 22 | ++ [ "enveloped content test streaming S/MIME format, AES-128, 3 recipients, 3rd used", |
| 23 | + [ "-encrypt", "-in", $smcont, |
| 24 | +- "-stream", "-out", "test.cms", |
| 25 | ++ "-aes128", "-stream", "-out", "test.cms", |
| 26 | + catfile($smdir, "smrsa1.pem"), |
| 27 | + catfile($smdir, "smrsa2.pem"), |
| 28 | + catfile($smdir, "smrsa3.pem") ], |
| 29 | +@@ -157,9 +157,9 @@ my @smime_pkcs7_tests = ( |
| 30 | + "-in", "test.cms", "-out", "smtst.txt" ] |
| 31 | + ], |
| 32 | + |
| 33 | +- [ "enveloped content test streaming S/MIME format, DES, 3 recipients, key only used", |
| 34 | ++ [ "enveloped content test streaming S/MIME format, AES-128, 3 recipients, key only used", |
| 35 | + [ "-encrypt", "-in", $smcont, |
| 36 | +- "-stream", "-out", "test.cms", |
| 37 | ++ "-aes128", "-stream", "-out", "test.cms", |
| 38 | + catfile($smdir, "smrsa1.pem"), |
| 39 | + catfile($smdir, "smrsa2.pem"), |
| 40 | + catfile($smdir, "smrsa3.pem") ], |
| 41 | +@@ -219,9 +219,9 @@ my @smime_cms_tests = ( |
| 42 | + "-CAfile", catfile($smdir, "smroot.pem") ] |
| 43 | + ], |
| 44 | + |
| 45 | +- [ "enveloped content test streaming S/MIME format, DES, 3 recipients, keyid", |
| 46 | ++ [ "enveloped content test streaming S/MIME format, AES-128, 3 recipients, keyid", |
| 47 | + [ "-encrypt", "-in", $smcont, |
| 48 | +- "-stream", "-out", "test.cms", "-keyid", |
| 49 | ++ "-aes128", "-stream", "-out", "test.cms", "-keyid", |
| 50 | + catfile($smdir, "smrsa1.pem"), |
| 51 | + catfile($smdir, "smrsa2.pem"), |
| 52 | + catfile($smdir, "smrsa3.pem") ], |
| 53 | +@@ -324,43 +324,43 @@ my @smime_cms_param_tests = ( |
| 54 | + "-CAfile", catfile($smdir, "smroot.pem"), "-out", "smtst.txt" ] |
| 55 | + ], |
| 56 | + |
| 57 | +- [ "enveloped content test streaming S/MIME format, DES, OAEP default parameters", |
| 58 | ++ [ "enveloped content test streaming S/MIME format, AES-128, OAEP default parameters", |
| 59 | + [ "-encrypt", "-in", $smcont, |
| 60 | +- "-stream", "-out", "test.cms", |
| 61 | ++ "-aes128", "-stream", "-out", "test.cms", |
| 62 | + "-recip", catfile($smdir, "smrsa1.pem"), "-keyopt", "rsa_padding_mode:oaep" ], |
| 63 | + [ "-decrypt", "-recip", catfile($smdir, "smrsa1.pem"), |
| 64 | + "-in", "test.cms", "-out", "smtst.txt" ] |
| 65 | + ], |
| 66 | + |
| 67 | +- [ "enveloped content test streaming S/MIME format, DES, OAEP SHA256", |
| 68 | ++ [ "enveloped content test streaming S/MIME format, AES-128, OAEP SHA256", |
| 69 | + [ "-encrypt", "-in", $smcont, |
| 70 | +- "-stream", "-out", "test.cms", |
| 71 | ++ "-aes128", "-stream", "-out", "test.cms", |
| 72 | + "-recip", catfile($smdir, "smrsa1.pem"), "-keyopt", "rsa_padding_mode:oaep", |
| 73 | + "-keyopt", "rsa_oaep_md:sha256" ], |
| 74 | + [ "-decrypt", "-recip", catfile($smdir, "smrsa1.pem"), |
| 75 | + "-in", "test.cms", "-out", "smtst.txt" ] |
| 76 | + ], |
| 77 | + |
| 78 | +- [ "enveloped content test streaming S/MIME format, DES, ECDH", |
| 79 | ++ [ "enveloped content test streaming S/MIME format, AES-128, ECDH", |
| 80 | + [ "-encrypt", "-in", $smcont, |
| 81 | +- "-stream", "-out", "test.cms", |
| 82 | ++ "-aes128", "-stream", "-out", "test.cms", |
| 83 | + "-recip", catfile($smdir, "smec1.pem") ], |
| 84 | + [ "-decrypt", "-recip", catfile($smdir, "smec1.pem"), |
| 85 | + "-in", "test.cms", "-out", "smtst.txt" ] |
| 86 | + ], |
| 87 | + |
| 88 | +- [ "enveloped content test streaming S/MIME format, DES, ECDH, 2 recipients, key only used", |
| 89 | ++ [ "enveloped content test streaming S/MIME format, AES-128, ECDH, 2 recipients, key only used", |
| 90 | + [ "-encrypt", "-in", $smcont, |
| 91 | +- "-stream", "-out", "test.cms", |
| 92 | ++ "-aes128", "-stream", "-out", "test.cms", |
| 93 | + catfile($smdir, "smec1.pem"), |
| 94 | + catfile($smdir, "smec3.pem") ], |
| 95 | + [ "-decrypt", "-inkey", catfile($smdir, "smec3.pem"), |
| 96 | + "-in", "test.cms", "-out", "smtst.txt" ] |
| 97 | + ], |
| 98 | + |
| 99 | +- [ "enveloped content test streaming S/MIME format, ECDH, DES, key identifier", |
| 100 | ++ [ "enveloped content test streaming S/MIME format, ECDH, AES-128, key identifier", |
| 101 | + [ "-encrypt", "-keyid", "-in", $smcont, |
| 102 | +- "-stream", "-out", "test.cms", |
| 103 | ++ "-aes128", "-stream", "-out", "test.cms", |
| 104 | + "-recip", catfile($smdir, "smec1.pem") ], |
| 105 | + [ "-decrypt", "-recip", catfile($smdir, "smec1.pem"), |
| 106 | + "-in", "test.cms", "-out", "smtst.txt" ] |
| 107 | +@@ -374,14 +374,14 @@ my @smime_cms_param_tests = ( |
| 108 | + "-in", "test.cms", "-out", "smtst.txt" ] |
| 109 | + ], |
| 110 | + |
| 111 | +- [ "enveloped content test streaming S/MIME format, ECDH, K-283, cofactor DH", |
| 112 | +- [ "-encrypt", "-in", $smcont, |
| 113 | +- "-stream", "-out", "test.cms", |
| 114 | +- "-recip", catfile($smdir, "smec2.pem"), "-aes128", |
| 115 | +- "-keyopt", "ecdh_kdf_md:sha256", "-keyopt", "ecdh_cofactor_mode:1" ], |
| 116 | +- [ "-decrypt", "-recip", catfile($smdir, "smec2.pem"), |
| 117 | +- "-in", "test.cms", "-out", "smtst.txt" ] |
| 118 | +- ], |
| 119 | ++# [ "enveloped content test streaming S/MIME format, ECDH, K-283, cofactor DH", |
| 120 | ++# [ "-encrypt", "-in", $smcont, |
| 121 | ++# "-stream", "-out", "test.cms", |
| 122 | ++# "-recip", catfile($smdir, "smec2.pem"), "-aes128", |
| 123 | ++# "-keyopt", "ecdh_kdf_md:sha256", "-keyopt", "ecdh_cofactor_mode:1" ], |
| 124 | ++# [ "-decrypt", "-recip", catfile($smdir, "smec2.pem"), |
| 125 | ++# "-in", "test.cms", "-out", "smtst.txt" ] |
| 126 | ++# ], |
| 127 | + |
| 128 | + [ "enveloped content test streaming S/MIME format, X9.42 DH", |
| 129 | + [ "-encrypt", "-in", $smcont, |
0 commit comments