From bf956a7a67d3c81daa43ae3cdf14cf92a411e773 Mon Sep 17 00:00:00 2001 From: sunnavy Date: Tue, 29 Aug 2023 06:51:57 -0400 Subject: [PATCH] Update expired certificates and related tests Fixes: I#37670 --- t/data/smime/keys/demoCA/cacert.pem | 68 ++--- t/data/smime/keys/otherCA/cacert.pem | 93 +++---- t/data/smime/keys/root@example.com.crt | 104 +++++--- t/data/smime/keys/root@example.com.csr | 33 ++- t/data/smime/keys/root@example.com.key | 64 ++++- t/data/smime/keys/root@example.com.pem | 168 +++++++++--- t/data/smime/keys/sender@example.com.crt | 104 +++++--- t/data/smime/keys/sender@example.com.csr | 33 ++- t/data/smime/keys/sender@example.com.key | 64 ++++- t/data/smime/keys/sender@example.com.pem | 168 +++++++++--- t/data/smime/mails/1-signed.eml | 151 +++++------ t/data/smime/mails/2-signed-attachment.eml | 179 +++++++------ t/data/smime/mails/3-signed-binary.eml | 189 +++++++------- t/data/smime/mails/4-encrypted-plain.eml | 81 +++--- t/data/smime/mails/5-encrypted-attachment.eml | 100 ++++--- t/data/smime/mails/6-encrypted-binary.eml | 112 ++++---- .../smime/mails/7-signed-encrypted-plain.eml | 215 ++++++++------- .../mails/8-signed-encrypted-attachment.eml | 234 +++++++++-------- .../smime/mails/9-signed-encrypted-binary.eml | 246 ++++++++++-------- t/web/smime/outgoing.t | 2 +- 20 files changed, 1444 insertions(+), 964 deletions(-) diff --git a/t/data/smime/keys/demoCA/cacert.pem b/t/data/smime/keys/demoCA/cacert.pem index de734a98f4b..c60df4752ca 100644 --- a/t/data/smime/keys/demoCA/cacert.pem +++ b/t/data/smime/keys/demoCA/cacert.pem @@ -1,13 +1,14 @@ Certificate: Data: Version: 3 (0x2) - Serial Number: 11236924883769032812 (0x9bf193a560cd006c) - Signature Algorithm: sha1WithRSAEncryption - Issuer: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=CA Owner/emailAddress=ca.owner@example.com + Serial Number: + 6c:5a:84:c5:d2:ee:02:8e:2f:db:de:25:04:2c:8a:42:36:89:ed:4c + Signature Algorithm: sha256WithRSAEncryption + Issuer: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = CA Owner, emailAddress = ca.owner@example.com Validity - Not Before: Aug 28 21:19:44 2013 GMT - Not After : Aug 26 21:19:44 2023 GMT - Subject: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=CA Owner/emailAddress=ca.owner@example.com + Not Before: Aug 29 10:48:56 2023 GMT + Not After : Aug 29 10:48:56 2123 GMT + Subject: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = CA Owner, emailAddress = ca.owner@example.com Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (1024 bit) @@ -26,33 +27,34 @@ Certificate: X509v3 Subject Key Identifier: 8D:1B:2D:BD:BD:24:E8:19:62:AE:4C:C9:2A:58:90:08:1C:D1:05:2B X509v3 Authority Key Identifier: - keyid:8D:1B:2D:BD:BD:24:E8:19:62:AE:4C:C9:2A:58:90:08:1C:D1:05:2B - - X509v3 Basic Constraints: + 8D:1B:2D:BD:BD:24:E8:19:62:AE:4C:C9:2A:58:90:08:1C:D1:05:2B + X509v3 Basic Constraints: critical CA:TRUE - Signature Algorithm: sha1WithRSAEncryption - 7b:f5:8f:d2:b9:44:34:fe:91:ab:1d:52:d3:10:2d:23:75:05: - 8e:17:70:be:52:11:b0:8e:ee:f6:33:50:7c:c7:82:f3:c4:d2: - 98:90:b3:a6:ad:00:33:36:dc:95:f4:4e:45:d2:09:e9:88:ae: - 88:a2:72:e4:75:95:7a:78:31:16:34:a3:50:e0:c9:25:7f:65: - 51:d4:59:20:23:d5:3e:35:79:cf:ed:3d:3c:8c:d1:79:b0:99: - d3:6b:99:ed:32:c5:29:7a:82:8a:98:cb:c6:95:c7:52:59:7c: - f8:1d:fd:18:b8:ef:4d:1f:9d:5d:09:b0:eb:68:50:ed:c0:21: - 61:eb + Signature Algorithm: sha256WithRSAEncryption + Signature Value: + 2f:76:27:06:f5:76:bb:de:cf:a5:51:8a:07:2f:b2:f9:87:3e: + 23:ec:ee:70:38:33:ac:fb:c9:61:e6:60:3e:27:11:62:ca:61: + 7b:15:1f:73:2a:5e:d3:ff:8c:8e:ee:20:74:71:b9:ac:5c:b6: + e5:bb:39:00:80:03:09:1d:2d:80:9a:e0:3f:d5:4b:b6:ed:b1: + 7b:ea:c5:45:63:79:84:55:92:2f:96:1f:eb:7d:31:46:c5:a4: + d3:dd:66:9d:b5:e9:75:97:98:b5:4b:81:26:92:eb:90:f6:aa: + 77:f7:32:e1:4a:7b:c3:8d:e3:b4:0b:f4:97:f4:c4:a1:cc:ac: + 7a:09 -----BEGIN CERTIFICATE----- -MIICyDCCAjGgAwIBAgIJAJvxk6VgzQBsMA0GCSqGSIb3DQEBBQUAMH0xCzAJBgNV -BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX -aWRnaXRzIFB0eSBMdGQxETAPBgNVBAMMCENBIE93bmVyMSMwIQYJKoZIhvcNAQkB -FhRjYS5vd25lckBleGFtcGxlLmNvbTAeFw0xMzA4MjgyMTE5NDRaFw0yMzA4MjYy -MTE5NDRaMH0xCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYD -VQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxETAPBgNVBAMMCENBIE93bmVy -MSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNvbTCBnzANBgkqhkiG -9w0BAQEFAAOBjQAwgYkCgYEAvsxicL9C7p3wBQQrBUZOyWBqtDGMpWAleQVhiP42 -nmMkvzORb2qQJ4FHXi9JVBnHAlE32f8Lm4rN7X+3a7wK3uXIMvekFlHRP6QClpgJ -g+LtgRm749Qr8YeXAwgF5vdlxpBInXUHMZMEbQm3D9/68rP/4UT0GANPWba60jaL -DrMCAwEAAaNQME4wHQYDVR0OBBYEFI0bLb29JOgZYq5MySpYkAgc0QUrMB8GA1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3DQEBCwUAA4GBAC92Jwb1drvez6VRigcvsvmHPiPs +7nA4M6z7yWHmYD4nEWLKYXsVH3MqXtP/jI7uIHRxuaxctuW7OQCAAwkdLYCa4D/V +S7btsXvqxUVjeYRVki+WH+t9MUbFpNPdZp216XWXmLVLgSaS65D2qnf3MuFKe8ON +47QL9Jf0xKHMrHoJ -----END CERTIFICATE----- diff --git a/t/data/smime/keys/otherCA/cacert.pem b/t/data/smime/keys/otherCA/cacert.pem index bebd5f3a668..9523c3a2dab 100644 --- a/t/data/smime/keys/otherCA/cacert.pem +++ b/t/data/smime/keys/otherCA/cacert.pem @@ -1,13 +1,14 @@ Certificate: Data: Version: 3 (0x2) - Serial Number: 16372135729078323798 (0xe33582b3ca31ca56) - Signature Algorithm: sha1WithRSAEncryption - Issuer: C=AU, ST=Some-State, O=Other Widgits, LLC, CN=CA Owner/emailAddress=ca.owner@example.net + Serial Number: + 6b:df:42:4b:c4:f9:01:08:67:f2:ba:27:a1:21:05:8e:91:65:44:27 + Signature Algorithm: sha256WithRSAEncryption + Issuer: C = AU, ST = Some-State, O = "Other Widgits, LLC", CN = CA Owner, emailAddress = ca.owner@example.net Validity - Not Before: Aug 28 22:16:28 2013 GMT - Not After : Aug 28 22:16:28 2023 GMT - Subject: C=AU, ST=Some-State, O=Other Widgits, LLC, CN=CA Owner/emailAddress=ca.owner@example.net + Not Before: Aug 29 10:49:43 2023 GMT + Not After : Aug 29 10:49:43 2123 GMT + Subject: C = AU, ST = Some-State, O = "Other Widgits, LLC", CN = CA Owner, emailAddress = ca.owner@example.net Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) @@ -35,46 +36,46 @@ Certificate: X509v3 Subject Key Identifier: 7F:75:3B:B2:1E:CF:EF:D6:A7:D1:42:F8:1C:A9:13:63:CF:C9:0E:5A X509v3 Authority Key Identifier: - keyid:7F:75:3B:B2:1E:CF:EF:D6:A7:D1:42:F8:1C:A9:13:63:CF:C9:0E:5A - - X509v3 Basic Constraints: + 7F:75:3B:B2:1E:CF:EF:D6:A7:D1:42:F8:1C:A9:13:63:CF:C9:0E:5A + X509v3 Basic Constraints: critical CA:TRUE - Signature Algorithm: sha1WithRSAEncryption - 44:f7:e8:e6:af:a9:be:cf:28:51:dc:86:14:e2:4d:e4:14:9f: - 09:4d:cb:e9:10:2c:ef:21:ec:b0:8c:14:57:59:45:52:b4:e3: - db:f4:34:e3:39:b6:de:0c:eb:68:78:db:d0:21:d2:c1:51:18: - ce:33:14:a4:4d:91:88:eb:cc:b0:4a:93:73:75:48:e8:56:ce: - 29:c9:07:73:18:28:20:e1:2e:ba:0f:cc:4c:26:e7:45:d5:4c: - 60:89:ef:1d:d7:7a:a5:80:62:bf:30:da:ac:bf:be:f8:54:f3: - fc:8a:09:1c:89:2d:2a:12:20:99:66:54:a0:78:50:f0:46:44: - 9d:ad:95:81:83:c0:47:38:b8:4a:81:3c:72:49:68:a2:a1:04: - c7:d3:e9:e8:6f:65:ce:10:11:7f:0a:8b:96:ce:4e:1e:55:c7: - 54:34:25:5e:ba:95:62:ad:45:43:b1:69:70:d4:c4:33:29:56: - cd:45:08:7d:e5:1e:5c:77:55:7b:f7:34:ea:c5:d5:48:21:b1: - 71:a5:02:16:50:78:64:e4:01:85:28:3e:e4:b8:f6:f8:02:3d: - 01:23:ba:2c:54:c3:72:a5:2a:3d:41:fd:c1:15:60:37:0b:65: - bf:23:bd:33:f6:d8:75:03:71:46:47:97:93:ae:bc:7f:76:1e: - f3:5f:ba:0f + Signature Algorithm: sha256WithRSAEncryption + Signature Value: + 0b:96:50:8a:82:d2:91:b9:d9:13:e5:38:ee:a8:f5:33:4c:1f: + 31:1b:1b:d9:3c:9c:83:c0:64:22:3c:79:4b:b2:35:44:4f:cd: + 93:63:05:ef:63:f7:98:fe:06:44:dc:be:f6:b7:3f:0e:40:18: + 5f:17:77:10:e3:61:dc:d0:ba:67:86:4b:5d:61:c9:34:d8:dd: + 33:22:f9:cf:82:f9:b6:34:19:eb:c7:9f:e0:02:0f:1b:85:6e: + 35:5f:5c:39:bc:20:d3:d7:96:89:bc:2f:a7:6f:c4:e1:17:77: + e8:a7:50:a6:c1:17:fc:0d:82:19:6d:05:09:a4:d8:e0:37:5c: + a6:4e:ca:9c:86:17:6d:90:95:74:60:33:5c:64:f2:cd:af:88: + a3:d3:2c:57:d9:c3:1e:73:99:f2:b2:58:7c:fc:a3:44:2f:52: + 80:36:03:aa:3c:a8:07:60:6b:2b:66:6c:78:f9:3a:e1:28:2d: + 41:47:62:70:0f:8a:49:ce:6b:ee:2d:fd:f3:5c:2e:b0:0b:a5: + f1:b2:0c:63:0d:f3:e6:9f:88:88:d0:ab:73:f4:fd:30:30:2a: + c6:6b:6d:da:1f:d1:b7:09:18:bc:c9:04:87:3e:e5:87:65:4d: + 0f:74:a6:be:30:a6:9a:46:9b:20:48:2a:36:20:71:f0:7b:92: + 19:0d:ba:5b -----BEGIN CERTIFICATE----- -MIIDwTCCAqmgAwIBAgIJAOM1grPKMcpWMA0GCSqGSIb3DQEBBQUAMHcxCzAJBgNV -BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMRswGQYDVQQKDBJPdGhlciBXaWRn -aXRzLCBMTEMxETAPBgNVBAMMCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5v -d25lckBleGFtcGxlLm5ldDAeFw0xMzA4MjgyMjE2MjhaFw0yMzA4MjgyMjE2Mjha -MHcxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMRswGQYDVQQKDBJP -dGhlciBXaWRnaXRzLCBMTEMxETAPBgNVBAMMCENBIE93bmVyMSMwIQYJKoZIhvcN -AQkBFhRjYS5vd25lckBleGFtcGxlLm5ldDCCASIwDQYJKoZIhvcNAQEBBQADggEP -ADCCAQoCggEBANa2UwRT6JiRxmqrJ8O6AVPh81YekMlhfnM3NoBJqbRqnzrYCG+6 -gmTFhZJBU3El7BiFHJ6ASzD3FrT4Bz73m6otn/gIpArmngrSLwZZKFO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bMBkGA1UECgwST3RoZXIgV2lkZ2l0cywgTExDMREwDwYDVQQDDAhDQSBPd25l +cjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5uZXQwggEiMA0GCSqG +SIb3DQEBAQUAA4IBDwAwggEKAoIBAQDWtlMEU+iYkcZqqyfDugFT4fNWHpDJYX5z +NzaASam0ap862AhvuoJkxYWSQVNxJewYhRyegEsw9xa0+Ac+95uqLZ/4CKQK5p4K +0i8GWShTnrR3iivwtcbKr0G+7RcSDzcu6bhDOnYg/eiBkbi/A5J2H0DT4ET9NMfz +1PZ3yVJZ2jeVq1SnEaUaA/rMcRlyyyk5FWm19lsWItjtpLO1g+1p2ZF/LQyvT8ZK +Sk8do9wfEPR3yEjllGQ7KT2dFgzSMDpEDaSHBASE7P0Zggh3tXdk9M68bKXBtxd+ +okreKGJAXj13XJoJ3H6mtqM0ynOkwkJ0TthSLZhPKG6Jk340O+s3AgMBAAGjUzBR +MB0GA1UdDgQWBBR/dTuyHs/v1qfRQvgcqRNjz8kOWjAfBgNVHSMEGDAWgBR/dTuy +Hs/v1qfRQvgcqRNjz8kOWjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUA +A4IBAQALllCKgtKRudkT5TjuqPUzTB8xGxvZPJyDwGQiPHlLsjVET82TYwXvY/eY +/gZE3L72tz8OQBhfF3cQ42Hc0LpnhktdYck02N0zIvnPgvm2NBnrx5/gAg8bhW41 +X1w5vCDT15aJvC+nb8ThF3fop1CmwRf8DYIZbQUJpNjgN1ymTsqchhdtkJV0YDNc +ZPLNr4ij0yxX2cMec5nyslh8/KNEL1KANgOqPKgHYGsrZmx4+TrhKC1BR2JwD4pJ +zmvuLf3zXC6wC6XxsgxjDfPmn4iI0Ktz9P0wMCrGa23aH9G3CRi8yQSHPuWHZU0P +dKa+MKaaRpsgSCo2IHHwe5IZDbpb -----END CERTIFICATE----- diff --git a/t/data/smime/keys/root@example.com.crt b/t/data/smime/keys/root@example.com.crt index 45e3eb44854..c4aaadb75e6 100644 --- a/t/data/smime/keys/root@example.com.crt +++ b/t/data/smime/keys/root@example.com.crt @@ -1,43 +1,85 @@ Certificate: Data: Version: 1 (0x0) - Serial Number: 9974010075738841110 (0x8a6acd51be94a016) - Signature Algorithm: sha1WithRSAEncryption - Issuer: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=CA Owner/emailAddress=ca.owner@example.com + Serial Number: + 8a:6a:cd:51:be:94:a0:16 + Signature Algorithm: sha256WithRSAEncryption + Issuer: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = CA Owner, emailAddress = ca.owner@example.com Validity - Not Before: Aug 28 21:41:07 2013 GMT - Not After : Aug 28 21:41:07 2023 GMT - Subject: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=Enoch Root/emailAddress=root@example.com + Not Before: Aug 29 10:49:26 2023 GMT + Not After : Aug 29 10:49:26 2123 GMT + Subject: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = Enoch Root, emailAddress = root@example.com Subject Public Key Info: Public Key Algorithm: rsaEncryption - Public-Key: (512 bit) + Public-Key: (4096 bit) Modulus: - 00:b2:77:b9:bc:09:7d:14:8e:6b:6f:7e:33:a9:95: - 21:5d:f3:3c:91:61:f1:bc:5c:1d:7e:e7:54:25:e8: - cb:5f:b7:18:0e:23:26:00:42:09:bd:89:da:5c:06: - cb:52:08:43:f6:4e:fe:dd:f8:0a:8a:95:35:8f:4a: - 25:16:da:e6:bf + 00:d7:38:31:b4:41:16:d8:bb:6f:cf:f8:ba:90:ed: + 88:d3:aa:51:5d:05:19:19:4b:69:95:95:f5:40:0e: + fc:20:49:32:fb:59:9d:5b:54:bd:cd:a6:4c:cf:07: + 13:51:0a:2b:80:01:bf:49:da:fe:f4:a8:9b:ec:9e: + c5:ad:4e:1a:72:02:87:cd:57:c1:a9:82:a3:36:3d: + 96:62:81:e1:9d:a6:92:88:d0:fc:70:be:11:c0:3a: + d2:8b:e3:c7:51:f2:b0:13:c8:65:c7:f9:f0:13:d8: + 33:c1:46:53:48:67:89:6a:0a:25:75:86:89:b6:cf: + 3e:f0:c9:94:97:4d:c5:f5:9a:5e:2e:7d:af:55:78: + b3:65:95:4c:a7:e8:4a:f3:10:e9:29:20:10:00:65: + bf:97:fd:68:e3:ed:2d:68:07:5d:6b:ea:78:1d:01: + 73:56:24:26:eb:7b:26:78:97:9a:41:bf:1a:cb:18: + 6c:67:31:19:47:79:55:b9:4f:00:9a:d9:65:bd:0f: + 74:b9:08:39:39:0c:4e:bb:a8:78:21:ba:4b:52:07: + 72:7b:50:37:ee:2e:ab:f0:2d:79:0f:53:58:b7:a5: + a0:c2:bb:9f:86:7c:a6:a4:7a:68:c1:d3:d4:66:25: + e8:7d:f7:41:0a:96:25:bc:c6:87:b6:ed:34:71:17: + 55:e1:95:4a:c2:e2:5b:7a:6a:5f:67:5e:cd:0f:d8: + 43:f4:4d:13:d8:00:bf:4b:e2:d9:df:1a:6e:14:13: + e3:30:6e:05:ad:35:1d:5c:c9:be:59:cb:9f:9f:f8: + 9d:e6:0f:de:06:db:4c:15:9e:a6:8f:84:b5:37:2c: + 72:bc:45:9b:61:72:d0:0e:23:fb:d4:a2:cb:bd:77: + c3:70:69:4c:bc:6b:09:1c:00:26:0b:90:5b:c9:d8: + 10:f4:18:04:6e:9b:1a:f2:7b:da:60:30:df:78:04: + de:39:bb:c7:a3:36:30:41:38:5e:7f:7a:3e:6f:40: + 1d:c2:58:05:bf:a3:16:1e:ba:77:bd:30:1d:3f:0b: + 16:98:a4:67:98:2a:ae:b2:42:2d:30:72:9c:bb:1d: + 8d:0a:25:85:2d:7b:42:4d:8b:87:4b:7a:15:ae:af: + 2a:3e:78:a7:a6:a7:50:cc:ad:6e:dd:75:d1:f7:d6: + 07:2a:44:92:4a:88:3b:30:e9:72:84:54:e4:68:4e: + db:da:42:7e:d2:88:28:79:bb:0b:0d:d0:22:7f:b7: + 75:f7:57:8b:45:25:0b:b6:02:6f:8d:56:27:1e:14: + 5a:6e:c5:84:ff:f5:d5:79:54:c5:24:e4:b2:fa:ab: + 55:95:1d:d2:56:d8:46:c9:1c:77:bd:64:57:cf:88: + e9:04:cf Exponent: 65537 (0x10001) - Signature Algorithm: sha1WithRSAEncryption - 1a:cd:7e:0e:e0:6f:90:b7:22:0e:4d:79:4d:6a:9b:ac:a1:6a: - ab:85:32:9c:86:9c:d2:10:96:f7:e0:00:2c:7d:3c:16:a4:ff: - dd:9e:37:fb:a3:7a:43:ab:2f:ee:c4:ff:be:77:0f:40:f8:0e: - 45:3e:48:46:bf:ec:e1:b0:46:8d:13:37:7a:a6:d1:7c:16:cb: - 28:6b:37:88:4d:0a:12:6b:87:b9:7c:d9:c4:d7:57:93:b9:f6: - 21:26:1b:32:88:1d:cd:84:0f:6a:f9:05:0a:76:01:de:5e:99: - 86:10:fc:7d:ee:d5:70:b2:44:99:41:0a:d7:0e:e8:5b:c9:ca: - 10:39 + Signature Algorithm: sha256WithRSAEncryption + Signature Value: + 0c:76:a3:14:d4:b5:2d:0c:9c:6b:e8:54:89:87:00:78:3c:12: + 50:7f:a7:f1:7b:3f:81:a7:0f:d6:ef:a2:28:24:16:61:32:69: + 57:43:27:2a:be:1d:50:76:23:cf:44:90:20:7c:89:5b:de:3a: + b2:eb:b5:37:a2:84:7a:10:e6:7a:d3:8c:13:b1:fd:9b:89:24: + ec:ff:8b:9c:e7:6e:c3:b5:17:cb:5f:76:61:5c:10:a3:5e:49: + e4:f8:ad:0c:fe:f6:b8:33:6b:85:a7:f1:6f:43:d1:97:de:c8: + 83:d7:56:e9:34:77:c0:77:2a:a6:64:0c:7b:6f:ab:fb:34:d6: + 64:51 -----BEGIN CERTIFICATE----- -MIICKzCCAZQCCQCKas1RvpSgFjANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJB +MIID9TCCA14CCQCKas1RvpSgFjANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJB VTETMBEGA1UECAwKU29tZS1TdGF0ZTEhM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KL48dR8rATyGXH+fAT2DPBRlNIZ4lqCiV1hom2zz7wyZSXTcX1 +ml4ufa9VeLNllUyn6ErzEOkpIBAAZb+X/Wjj7S1oB11r6ngdAXNWJCbreyZ4l5pB +vxrLGGxnMRlHeVW5TwCa2WW9D3S5CDk5DE67qHghuktSB3J7UDfuLqvwLXkPU1i3 +paDCu5+GfKakemjB09RmJeh990EKliW8xoe27TRxF1XhlUrC4lt6al9nXs0P2EP0 +TRPYAL9L4tnfGm4UE+MwbgWtNR1cyb5Zy5+f+J3mD94G20wVnqaPhLU3LHK8RZth +ctAOI/vUosu9d8NwaUy8awkcACYLkFvJ2BD0GARumxrye9pgMN94BN45u8ejNjBB +OF5/ej5vQB3CWAW/oxYeune9MB0/CxaYpGeYKq6yQi0wcpy7HY0KJYUte0JNi4dL +ehWuryo+eKemp1DMrW7dddH31gcqRJJKiDsw6XKEVORoTtvaQn7SiCh5uwsN0CJ/ +t3X3V4tFJQu2Am+NViceFFpuxYT/9dV5VMUk5LL6q1WVHdJW2EbJHHe9ZFfPiOkE +zwIDAQABMA0GCSqGSIb3DQEBCwUAA4GBAAx2oxTUtS0MnGvoVImHAHg8ElB/p/F7 +P4GnD9bvoigkFmEyaVdDJyq+HVB2I89EkCB8iVveOrLrtTeihHoQ5nrTjBOx/ZuJ +JOz/i5znbsO1F8tfdmFcEKNeSeT4rQz+9rgza4Wn8W9D0ZfeyIPXVuk0d8B3KqZk +DHtvq/s01mRR -----END CERTIFICATE----- diff --git a/t/data/smime/keys/root@example.com.csr b/t/data/smime/keys/root@example.com.csr index a72677a55dc..c0afa8f2e45 100644 --- a/t/data/smime/keys/root@example.com.csr +++ b/t/data/smime/keys/root@example.com.csr @@ -1,9 +1,28 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIBNTCB4AIBADB7MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEh -MB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRMwEQYDV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rJCLTBynLsdjQol +hS17Qk2Lh0t6Fa6vKj54p6anUMytbt110ffWBypEkkqIOzDpcoRU5GhO29pCftKI +KHm7Cw3QIn+3dfdXi0UlC7YCb41WJx4UWm7FhP/11XlUxSTksvqrVZUd0lbYRskc +d71kV8+I6QTPAgMBAAGgADANBgkqhkiG9w0BAQsFAAOCAgEAnMJmWXN1AqFQqnJd +PSDJs/oLrpCYD+eDTtWtwsAVrAuBNMdwjsZqVAihnjm4ewiZSexQWg+U28RizhzQ +HkS44dY93jT8jzbsd7z34FJ7odqDcO3+V2lKDyFYkJTaOcUsJCcBYgw8u0abPhII +/rkI3s7gwHbfsOYLPtOvYCo9mqWAQlr5YvpjIxPm39gIuBc92x9oAjIwKMaPqry2 +qLdS4LH5NdZPsMaNhgXdCRabMuRix6UXxP8iUFsqUb2H1OFMwfz+4R3allbpj8SL +Xo7R9nWj0fIZcNyhWUTIEBdn3GskUo4FXYnmQZdYww+zHt2mOXL24yY4ZK6myqY8 +kH+BNFbnHGO/4YYhrkVdT0Adhryy/sSVCcrs4/MX9XAJhY6+3AD0H9OWRBezaoeg +jrXOFGyjQj1A5hxBjHsLHu0qV/r6cvW8+WfSQ0jzCVJSBqVGMWvH3Pr9nxJN2Lmq +C0Qrotm8pBVvggqbX8FYdc5JbYUXg2+e/0wmF0XX+GKSS+caJABJmFwjgRk2HOzy +iqESp4IS3ye2zWtIiOXMPAoYcM6yTNJ6l6C+ekdqFUp7bamRK0iJCcJyVkevfV1w +sjuCYqByt9DjtItYgaL+Eool6QJsNU+RLh3MgazJfuUk5v3R1oNfycY6fxjm/D7x +QUdddI/E8yQtTWVV9oPbl3GJHCg= -----END CERTIFICATE REQUEST----- diff --git a/t/data/smime/keys/root@example.com.key b/t/data/smime/keys/root@example.com.key index 7b24e4e828e..0e44023fcea 100644 --- a/t/data/smime/keys/root@example.com.key +++ b/t/data/smime/keys/root@example.com.key @@ -1,12 +1,52 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,6356CE6012402B9B - -Lco5rf3/rHlShktH/o6NHF1mVH00k+pZ3bWodejMaHW1ofZXe9/yjzPM2jqqi+Dj -xmzZ9R/MijO07vpxWHqdvhXeFf0TW67gW413M/bwiRd/rV0mUFz81nowFe9e15tm -Itku1sePFvvL/UUxBGeYhplHAP6e76JqQcJTkBaG04KitH9GHtj1HFQR8P9/8h6d -f0ZtU8wqnhkZvtzb72ZLwsw0YZ7R9YLIqCmOn1twW0CC77deACy+deJOC0N4CxW6 -+jEGbJKMN5rOPsFiieDzZXAaTlGd6qXVWaxUPYH89yWedYoAZgbi6zxGGwNGbc/Q -2Y7g+qHi3L30uJvgJEGihIM+9iAKUJSazyGYl9Xl2FwTpNFOMJAYFyNKNv5FHwdm -deoslrbEXVtqurOQYr955cyqs2NN+JYLsz5nNnfBpGo= ------END RSA PRIVATE KEY----- +-----BEGIN PRIVATE KEY----- +MIIJRAIBADANBgkqhkiG9w0BAQEFAASCCS4wggkqAgEAAoICAQDXODG0QRbYu2/P ++LqQ7YjTqlFdBRkZS2mVlfVADvwgSTL7WZ1bVL3NpkzPBxNRCiuAAb9J2v70qJvs +nsWtThpyAofNV8GpgqM2PZZigeGdppKI0PxwvhHAOtKL48dR8rATyGXH+fAT2DPB +RlNIZ4lqCiV1hom2zz7wyZSXTcX1ml4ufa9VeLNllUyn6ErzEOkpIBAAZb+X/Wjj +7S1oB11r6ngdAXNWJCbreyZ4l5pBvxrLGGxnMRlHeVW5TwCa2WW9D3S5CDk5DE67 +qHghuktSB3J7UDfuLqvwLXkPU1i3paDCu5+GfKakemjB09RmJeh990EKliW8xoe2 +7TRxF1XhlUrC4lt6al9nXs0P2EP0TRPYAL9L4tnfGm4UE+MwbgWtNR1cyb5Zy5+f ++J3mD94G20wVnqaPhLU3LHK8RZthctAOI/vUosu9d8NwaUy8awkcACYLkFvJ2BD0 +GARumxrye9pgMN94BN45u8ejNjBBOF5/ej5vQB3CWAW/oxYeune9M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6dqS0YQFspWTHrlYFFC28eezCeEpvVhpLjm80PbsO/740IL0EOffK3z +BPpTQB7sCb6mPI1d3SlsINqTTO8qpB93NFAeVTFCne+kcEaNGqa4CHCzpFknD0h/ +JnZTAoIBAQD1l7UdJcaaRux9pLL9B6mNRdxY9STfRkt444UtQZTL/117v5uAsF1z +sz+f+wRkUVz0DxLPaziW3VewqAHOWf1jmB/Xl/+umqwvQdjGPL/SfWaN2rjCT6xi +oN3CkN/FShGXl6GAh1UaFEftkYp7nnjQCiRRHIsZ1kfgxkiwzg/FRGNk0JDYReDK +oiC0wnxpobH1GVmDPNQCzlQBwInkI74wltJIaHdRTGtM9Ow7aKH+lBFoJT3cb3Vv +SpvMIMXVusAP519iRubVFu6F9TKg33nHjlYBsMqoK73fV1W2epCGbH5ZZK4a3fV5 +l8kdzuSa4Kx4pnCQ4gjGtcDyaYWDfrna +-----END PRIVATE KEY----- diff --git a/t/data/smime/keys/root@example.com.pem b/t/data/smime/keys/root@example.com.pem index 802475e6652..6d641a2aff4 100644 --- a/t/data/smime/keys/root@example.com.pem +++ b/t/data/smime/keys/root@example.com.pem @@ -1,55 +1,137 @@ Certificate: Data: Version: 1 (0x0) - Serial Number: 9974010075738841110 (0x8a6acd51be94a016) - Signature Algorithm: sha1WithRSAEncryption - Issuer: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=CA Owner/emailAddress=ca.owner@example.com + Serial Number: + 8a:6a:cd:51:be:94:a0:16 + Signature Algorithm: sha256WithRSAEncryption + Issuer: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = CA Owner, emailAddress = ca.owner@example.com Validity - Not Before: Aug 28 21:41:07 2013 GMT - Not After : Aug 28 21:41:07 2023 GMT - Subject: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=Enoch Root/emailAddress=root@example.com + Not Before: Aug 29 10:49:26 2023 GMT + Not After : Aug 29 10:49:26 2123 GMT + Subject: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = Enoch Root, emailAddress = root@example.com Subject Public Key Info: Public Key Algorithm: rsaEncryption - Public-Key: (512 bit) + Public-Key: (4096 bit) Modulus: - 00:b2:77:b9:bc:09:7d:14:8e:6b:6f:7e:33:a9:95: - 21:5d:f3:3c:91:61:f1:bc:5c:1d:7e:e7:54:25:e8: - cb:5f:b7:18:0e:23:26:00:42:09:bd:89:da:5c:06: - cb:52:08:43:f6:4e:fe:dd:f8:0a:8a:95:35:8f:4a: - 25:16:da:e6:bf + 00:d7:38:31:b4:41:16:d8:bb:6f:cf:f8:ba:90:ed: + 88:d3:aa:51:5d:05:19:19:4b:69:95:95:f5:40:0e: + fc:20:49:32:fb:59:9d:5b:54:bd:cd:a6:4c:cf:07: + 13:51:0a:2b:80:01:bf:49:da:fe:f4:a8:9b:ec:9e: + c5:ad:4e:1a:72:02:87:cd:57:c1:a9:82:a3:36:3d: + 96:62:81:e1:9d:a6:92:88:d0:fc:70:be:11:c0:3a: + d2:8b:e3:c7:51:f2:b0:13:c8:65:c7:f9:f0:13:d8: + 33:c1:46:53:48:67:89:6a:0a:25:75:86:89:b6:cf: + 3e:f0:c9:94:97:4d:c5:f5:9a:5e:2e:7d:af:55:78: + b3:65:95:4c:a7:e8:4a:f3:10:e9:29:20:10:00:65: + bf:97:fd:68:e3:ed:2d:68:07:5d:6b:ea:78:1d:01: + 73:56:24:26:eb:7b:26:78:97:9a:41:bf:1a:cb:18: + 6c:67:31:19:47:79:55:b9:4f:00:9a:d9:65:bd:0f: + 74:b9:08:39:39:0c:4e:bb:a8:78:21:ba:4b:52:07: + 72:7b:50:37:ee:2e:ab:f0:2d:79:0f:53:58:b7:a5: + a0:c2:bb:9f:86:7c:a6:a4:7a:68:c1:d3:d4:66:25: + e8:7d:f7:41:0a:96:25:bc:c6:87:b6:ed:34:71:17: + 55:e1:95:4a:c2:e2:5b:7a:6a:5f:67:5e:cd:0f:d8: + 43:f4:4d:13:d8:00:bf:4b:e2:d9:df:1a:6e:14:13: + e3:30:6e:05:ad:35:1d:5c:c9:be:59:cb:9f:9f:f8: + 9d:e6:0f:de:06:db:4c:15:9e:a6:8f:84:b5:37:2c: + 72:bc:45:9b:61:72:d0:0e:23:fb:d4:a2:cb:bd:77: + c3:70:69:4c:bc:6b:09:1c:00:26:0b:90:5b:c9:d8: + 10:f4:18:04:6e:9b:1a:f2:7b:da:60:30:df:78:04: + de:39:bb:c7:a3:36:30:41:38:5e:7f:7a:3e:6f:40: + 1d:c2:58:05:bf:a3:16:1e:ba:77:bd:30:1d:3f:0b: + 16:98:a4:67:98:2a:ae:b2:42:2d:30:72:9c:bb:1d: + 8d:0a:25:85:2d:7b:42:4d:8b:87:4b:7a:15:ae:af: + 2a:3e:78:a7:a6:a7:50:cc:ad:6e:dd:75:d1:f7:d6: + 07:2a:44:92:4a:88:3b:30:e9:72:84:54:e4:68:4e: + db:da:42:7e:d2:88:28:79:bb:0b:0d:d0:22:7f:b7: + 75:f7:57:8b:45:25:0b:b6:02:6f:8d:56:27:1e:14: + 5a:6e:c5:84:ff:f5:d5:79:54:c5:24:e4:b2:fa:ab: + 55:95:1d:d2:56:d8:46:c9:1c:77:bd:64:57:cf:88: + e9:04:cf Exponent: 65537 (0x10001) - Signature Algorithm: sha1WithRSAEncryption - 1a:cd:7e:0e:e0:6f:90:b7:22:0e:4d:79:4d:6a:9b:ac:a1:6a: - ab:85:32:9c:86:9c:d2:10:96:f7:e0:00:2c:7d:3c:16:a4:ff: - dd:9e:37:fb:a3:7a:43:ab:2f:ee:c4:ff:be:77:0f:40:f8:0e: - 45:3e:48:46:bf:ec:e1:b0:46:8d:13:37:7a:a6:d1:7c:16:cb: - 28:6b:37:88:4d:0a:12:6b:87:b9:7c:d9:c4:d7:57:93:b9:f6: - 21:26:1b:32:88:1d:cd:84:0f:6a:f9:05:0a:76:01:de:5e:99: - 86:10:fc:7d:ee:d5:70:b2:44:99:41:0a:d7:0e:e8:5b:c9:ca: - 10:39 + Signature Algorithm: sha256WithRSAEncryption + Signature Value: + 0c:76:a3:14:d4:b5:2d:0c:9c:6b:e8:54:89:87:00:78:3c:12: + 50:7f:a7:f1:7b:3f:81:a7:0f:d6:ef:a2:28:24:16:61:32:69: + 57:43:27:2a:be:1d:50:76:23:cf:44:90:20:7c:89:5b:de:3a: + b2:eb:b5:37:a2:84:7a:10:e6:7a:d3:8c:13:b1:fd:9b:89:24: + ec:ff:8b:9c:e7:6e:c3:b5:17:cb:5f:76:61:5c:10:a3:5e:49: + e4:f8:ad:0c:fe:f6:b8:33:6b:85:a7:f1:6f:43:d1:97:de:c8: + 83:d7:56:e9:34:77:c0:77:2a:a6:64:0c:7b:6f:ab:fb:34:d6: + 64:51 -----BEGIN CERTIFICATE----- -MIICKzCCAZQCCQCKas1RvpSgFjANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJB +MIID9TCCA14CCQCKas1RvpSgFjANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJB VTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0 cyBQdHkgTHRkMREwDwYDVQQDDAhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eu -b3duZXJAZXhhbXBsZS5jb20wHhcNMTMwODI4MjE0MTA3WhcNMjMwODI4MjE0MTA3 -WjB7MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMY -SW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRMwEQYDVQQDEwpFbm9jaCBSb290MR8w -HQYJKoZIhvcNAQkBFhByb290QGV4YW1wbGUuY29tMFwwDQYJKoZIhvcNAQEBBQAD -SwAwSAJBALJ3ubwJfRSOa29+M6mVIV3zPJFh8bxcHX7nVCXoy1+3GA4jJgBCCb2J -2lwGy1IIQ/ZO/t34CoqVNY9KJRba5r8CAwEAATANBgkqhkiG9w0BAQUFAAOBgQAa -zX4O4G+QtyIOTXlNapusoWqrhTKchpzSEJb34AAsfTwWpP/dnjf7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1WVHdJW2EbJHHe9ZFfPiOkE +zwIDAQABMA0GCSqGSIb3DQEBCwUAA4GBAAx2oxTUtS0MnGvoVImHAHg8ElB/p/F7 +P4GnD9bvoigkFmEyaVdDJyq+HVB2I89EkCB8iVveOrLrtTeihHoQ5nrTjBOx/ZuJ +JOz/i5znbsO1F8tfdmFcEKNeSeT4rQz+9rgza4Wn8W9D0ZfeyIPXVuk0d8B3KqZk +DHtvq/s01mRR -----END CERTIFICATE----- ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,6356CE6012402B9B - -Lco5rf3/rHlShktH/o6NHF1mVH00k+pZ3bWodejMaHW1ofZXe9/yjzPM2jqqi+Dj -xmzZ9R/MijO07vpxWHqdvhXeFf0TW67gW413M/bwiRd/rV0mUFz81nowFe9e15tm -Itku1sePFvvL/UUxBGeYhplHAP6e76JqQcJTkBaG04KitH9GHtj1HFQR8P9/8h6d -f0ZtU8wqnhkZvtzb72ZLwsw0YZ7R9YLIqCmOn1twW0CC77deACy+deJOC0N4CxW6 -+jEGbJKMN5rOPsFiieDzZXAaTlGd6qXVWaxUPYH89yWedYoAZgbi6zxGGwNGbc/Q -2Y7g+qHi3L30uJvgJEGihIM+9iAKUJSazyGYl9Xl2FwTpNFOMJAYFyNKNv5FHwdm -deoslrbEXVtqurOQYr955cyqs2NN+JYLsz5nNnfBpGo= ------END RSA PRIVATE KEY----- +-----BEGIN PRIVATE KEY----- +MIIJRAIBADANBgkqhkiG9w0BAQEFAASCCS4wggkqAgEAAoICAQDXODG0QRbYu2/P ++LqQ7YjTqlFdBRkZS2mVlfVADvwgSTL7WZ1bVL3NpkzPBxNRCiuAAb9J2v70qJvs +nsWtThpyAofNV8GpgqM2PZZigeGdppKI0PxwvhHAOtKL48dR8rATyGXH+fAT2DPB +RlNIZ4lqCiV1hom2zz7wyZSXTcX1ml4ufa9VeLNllUyn6ErzEOkpIBAAZb+X/Wjj +7S1oB11r6ngdAXNWJC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UZu1HznBiCehGcuzwRPQWrD3D +tctLTuxXxjqJp8Gb+7kn6EuWUFsWY/px+QsYMLSxAoIBAQDJVutPj2Ynn9RhEEpH +X4uF9P00sskocQf17S3vr6lN/LCgIp17GSafi01uCjsxFFQzi5+67UEtQWFflNxe +uI6LSo9q05GqkAFVJO7yX0CrkYY94DtDkczOH5bJmfqwmGc3YJppqaTePqdFm9VF +VqYUa/XJa3/13QI/iPXBWWkp9QzUvM+f0gS4WAY6ww2EsDIxCh0sQA1idEp/WNRg +HhU61BbAW6dqS0YQFspWTHrlYFFC28eezCeEpvVhpLjm80PbsO/740IL0EOffK3z +BPpTQB7sCb6mPI1d3SlsINqTTO8qpB93NFAeVTFCne+kcEaNGqa4CHCzpFknD0h/ +JnZTAoIBAQD1l7UdJcaaRux9pLL9B6mNRdxY9STfRkt444UtQZTL/117v5uAsF1z +sz+f+wRkUVz0DxLPaziW3VewqAHOWf1jmB/Xl/+umqwvQdjGPL/SfWaN2rjCT6xi +oN3CkN/FShGXl6GAh1UaFEftkYp7nnjQCiRRHIsZ1kfgxkiwzg/FRGNk0JDYReDK +oiC0wnxpobH1GVmDPNQCzlQBwInkI74wltJIaHdRTGtM9Ow7aKH+lBFoJT3cb3Vv +SpvMIMXVusAP519iRubVFu6F9TKg33nHjlYBsMqoK73fV1W2epCGbH5ZZK4a3fV5 +l8kdzuSa4Kx4pnCQ4gjGtcDyaYWDfrna +-----END PRIVATE KEY----- diff --git a/t/data/smime/keys/sender@example.com.crt b/t/data/smime/keys/sender@example.com.crt index 9497a202222..9ef323807b6 100644 --- a/t/data/smime/keys/sender@example.com.crt +++ b/t/data/smime/keys/sender@example.com.crt @@ -1,43 +1,85 @@ Certificate: Data: Version: 1 (0x0) - Serial Number: 9974010075738841109 (0x8a6acd51be94a015) - Signature Algorithm: sha1WithRSAEncryption - Issuer: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=CA Owner/emailAddress=ca.owner@example.com + Serial Number: + 8a:6a:cd:51:be:94:a0:15 + Signature Algorithm: sha256WithRSAEncryption + Issuer: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = CA Owner, emailAddress = ca.owner@example.com Validity - Not Before: Aug 28 21:41:45 2013 GMT - Not After : Aug 28 21:41:45 2023 GMT - Subject: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=sender/emailAddress=sender@example.com + Not Before: Aug 29 10:49:06 2023 GMT + Not After : Aug 29 10:49:06 2123 GMT + Subject: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = sender, emailAddress = sender@example.com Subject Public Key Info: Public Key Algorithm: rsaEncryption - Public-Key: (512 bit) + Public-Key: (4096 bit) Modulus: - 00:a8:38:41:90:1d:e7:cd:2b:cb:62:cf:ad:ff:70: - f6:44:5d:f3:4b:7e:21:75:b6:5c:e1:7e:c2:27:3b: - 85:eb:72:9b:5a:94:0a:69:1d:83:ca:c5:91:b2:3f: - 04:72:61:e4:b8:eb:5b:ce:b5:10:77:d8:a7:df:8b: - c9:5a:14:15:61 + 00:8f:5d:6c:de:e9:ca:79:e5:01:9e:b6:cf:60:e3: + 6a:b0:fb:c7:f4:1a:9a:5d:60:f6:74:f7:a7:86:84: + cf:8b:e3:92:7f:f2:23:e9:6a:d3:37:7c:db:e6:fe: + 30:6a:2b:ed:41:27:47:b7:11:fe:12:2f:b6:88:cb: + 01:11:3d:44:7b:d7:73:23:65:4d:72:10:62:99:de: + 76:9b:11:9e:3c:ea:1a:89:1a:62:73:ba:8f:ae:c2: + 2a:de:40:78:dc:dc:19:99:f3:c6:9b:32:fc:bc:c6: + 0e:57:f5:7a:48:cc:39:ea:08:bf:5d:2c:9d:31:ac: + a4:68:7c:69:9f:5c:a1:77:ab:f5:53:b2:d8:d1:10: + 17:3d:fe:6d:92:9f:39:bc:b2:8d:0e:2e:58:27:53: + dd:eb:ca:1e:10:3a:b2:74:ff:30:db:78:cb:27:bf: + 8f:41:57:d0:ba:f9:a3:cd:a7:88:67:46:67:cf:d6: + 65:ef:c1:52:fd:22:8c:f0:73:fb:7d:ca:1f:d8:59: + f2:4f:01:b3:92:ac:30:00:02:fd:13:30:e2:54:54: + 5b:43:5d:31:44:b9:e4:dd:14:a0:36:24:48:6a:ba: + eb:1d:53:8c:84:f9:68:a3:d8:d4:0f:10:9e:00:b9: + c7:a2:ab:f6:51:87:04:d4:6f:0d:65:f0:47:d3:c4: + 88:7a:62:45:a1:f2:49:79:98:6e:40:f0:50:91:44: + 37:0f:86:99:37:16:ff:16:ea:4b:38:2b:2d:41:fb: + 5a:e1:e6:7c:6d:ac:c4:31:6f:4f:a8:7f:bb:ce:84: + b5:4c:9a:ab:9a:d4:ea:56:e1:d5:50:f3:b3:66:ae: + a5:fe:81:14:21:13:e1:f8:9d:75:4e:f3:29:e3:cc: + 06:b8:34:f0:8c:2d:e0:e4:d7:58:21:16:0e:97:8d: + b6:b0:74:e8:61:d2:57:3f:fc:15:5b:1b:a9:11:86: + 73:d0:18:b9:a5:a3:45:b8:ae:a3:3c:9f:06:6c:3a: + c4:a5:19:cb:65:3d:2a:86:8c:d5:5b:75:15:00:7d: + 98:4a:ba:f1:07:e1:de:36:2f:c1:d3:c9:e3:49:bf: + 80:4a:96:3c:33:59:4d:57:bf:31:28:bb:c3:c3:f0: + 0f:36:b4:a8:e3:33:aa:5a:e4:4a:5f:b7:b5:25:1e: + 8e:57:21:3a:1b:ea:38:ca:63:74:ac:81:56:a0:3a: + 65:b8:68:39:22:02:df:e0:0d:75:07:5e:31:b0:da: + 57:87:4e:5f:23:3a:55:da:29:8a:5e:87:d9:60:7d: + 6e:95:6d:d6:50:10:28:5d:ea:b0:38:13:d4:03:8b: + 0b:85:0b:b4:16:83:4b:42:7e:12:04:28:7f:e8:f9: + bf:57:8b Exponent: 65537 (0x10001) - Signature Algorithm: sha1WithRSAEncryption - 91:74:84:00:98:40:30:6b:a6:61:6b:7b:d7:c9:9d:6e:ef:bb: - c8:ba:8b:83:15:62:3e:d1:c2:9d:1c:4e:ce:09:ce:d8:4f:4a: - 49:a8:97:e8:3b:ed:82:2c:a3:20:45:72:f3:d9:23:66:93:d5: - 54:14:ce:ce:cf:27:04:52:43:b4:a7:0b:ac:b8:45:a3:96:bf: - 2f:43:59:61:02:7a:36:39:9c:01:ad:b7:63:6e:b5:b6:29:cb: - 79:78:93:95:25:24:4a:83:bd:1d:d6:07:86:06:6a:fa:04:60: - 6e:ba:41:11:0a:cb:b2:84:03:ac:30:55:94:ed:b2:2d:3c:c5: - 99:6f + Signature Algorithm: sha256WithRSAEncryption + Signature Value: + b9:6b:c9:58:6a:34:f3:8d:53:b3:2e:c8:34:87:2a:0e:06:6e: + bc:9e:40:eb:12:ca:03:41:c2:ef:03:e4:8d:1f:d2:78:0d:fd: + a2:f8:7d:39:bc:5f:06:6e:95:d3:6c:46:3e:42:9b:2e:a2:da: + 82:f0:5d:bd:5a:f3:1c:a8:ca:e1:9b:d9:59:0f:dc:be:e5:51: + b1:8b:b4:9f:23:e1:19:6a:56:de:ab:61:93:70:25:9a:09:22: + 60:c8:9c:50:89:43:c4:f9:35:99:f6:48:eb:23:62:c8:83:b6: + 70:36:ba:10:54:aa:3f:1a:cd:2b:eb:38:0b:19:ba:29:ae:de: + aa:9b -----BEGIN CERTIFICATE----- -MIICKTCCAZICCQCKas1RvpSgFTANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJB +MIID8zCCA1wCCQCKas1RvpSgFTANBgkqhkiG9w0BAQsFADB9MQswCQYDVQQGEwJB VTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0 cyBQdHkgTHRkMREwDwYDVQQDDAhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eu -b3duZXJAZXhhbXBsZS5jb20wHhcNMTMwODI4MjE0MTQ1WhcNMjMwODI4MjE0MTQ1 -WjB5MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMY -SW50ZXJuZXQgV2lkZ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xb/FupLOCstQfta4eZ8bazEMW9PqH+7zoS1TJqrmtTqVuHVUPOzZq6l/oEUIRPh ++J11TvMp48wGuDTwjC3g5NdYIRYOl422sHToYdJXP/wVWxupEYZz0Bi5paNFuK6j +PJ8GbDrEpRnLZT0qhozVW3UVAH2YSrrxB+HeNi/B08njSb+ASpY8M1lNV78xKLvD +w/APNrSo4zOqWuRKX7e1JR6OVyE6G+o4ymN0rIFWoDpluGg5IgLf4A11B14xsNpX +h05fIzpV2imKXofZYH1ulW3WUBAoXeqwOBPUA4sLhQu0FoNLQn4SBCh/6Pm/V4sC +AwEAATANBgkqhkiG9w0BAQsFAAOBgQC5a8lYajTzjVOzLsg0hyoOBm68nkDrEsoD +QcLvA+SNH9J4Df2i+H05vF8GbpXTbEY+QpsuotqC8F29WvMcqMrhm9lZD9y+5VGx +i7SfI+EZalbeq2GTcCWaCSJgyJxQiUPE+TWZ9kjrI2LIg7ZwNroQVKo/Gs0r6zgL +Gboprt6qmw== -----END CERTIFICATE----- diff --git a/t/data/smime/keys/sender@example.com.csr b/t/data/smime/keys/sender@example.com.csr index 18fa799a4c0..44d4ffe07e3 100644 --- a/t/data/smime/keys/sender@example.com.csr +++ b/t/data/smime/keys/sender@example.com.csr @@ -1,9 +1,28 @@ -----BEGIN CERTIFICATE REQUEST----- -MIIBMzCB3gIBADB5MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEh -MB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMQ8wDQYDVQQDEwZzZW5k -ZXIxITAfBgkqhkiG9w0BCQEWEnNlbmRlckBleGFtcGxlLmNvbTBcMA0GCSqGSIb3 -DQEBAQUAA0sAMEgCQQCoOEGQHefNK8tiz63/cPZEXfNLfiF1tlzhfsInO4Xrcpta -lAppHYPKxZGyPwRyYeS461vOtRB32Kffi8laFBVhAgMBAAGgADANBgkqhkiG9w0B -AQUFAANBAFoi5bepEWsl0cQiO7k314NAuHenXaVrsWt3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0FFIE9bPsYxWadnKNzuvN7N +iRnM4Efm/m0kbNhNbe1TVPNXzSpEwSKlQVMQ4j9xF0aTwbztPTznAzxYqcUgE+P8 +VZ7lAneWTlZl3z2I47x0Oy3HSQ2okeNBH9IsnhUYZT2ZlsLKEqulmDhrYsiYpyVu +82jL7pWpudRsjhdmmoZbzIwc5mqIWGeSP/vY9wwlVfxP69MUXdMwguvO7erQ5SA+ +K6OcjDEWqXtMhaQBnq/iJdfXO9aBMdVo+EUkTf27KVqhF3zTvm8/rOGxMeV66D96 +V6MBgVxcJ7uc8j0KHs3+3T5ShSwvmzYOdSjsUomfSlooxcZzGJWREgTFpgJ0QhN+ +pdYtwpDUkpNgyW3Bq007UYieq0uoZBWx7zYaywMpi0M9LDTK4V2TbJmGGNkGWEbO +m0uVQxSSPv5y9fGbJQLWRSrNx7w/6DMysB+rceEexGmAkYP29fPFm4iI6UKe5L5K +WhWol6ZHMP/gj4PNt8BtKKDpxqNYEOKR5NRFhM+lRPGmjbu5ZBTUWnDhslcktono +gMBgRRSpAmf2zBqenKNDPFCvZW5I1EU7tG/yAbfkJE3Dmc0Q8gRXsgyPerFreZXf +qQWDtWQ+XRCayAJG5sox73Je -----END CERTIFICATE REQUEST----- diff --git a/t/data/smime/keys/sender@example.com.key b/t/data/smime/keys/sender@example.com.key index 26ed850662d..fe8609a1433 100644 --- a/t/data/smime/keys/sender@example.com.key +++ b/t/data/smime/keys/sender@example.com.key @@ -1,12 +1,52 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,605762440BC8261C - -MpUs66ILz2ePX4NKQ408LOAwvmpLLLnSwDX/Zmr/LG4SyZ7AnY6dY06XB6suev3m -AS+xm/LM44lvUaDvPnl4gO8jnCw3D1yktcfeHc6XqcFx2U9AiUTawmoSTKwrT4P+ -tnpSrrBJY3WghElbckK3vbZboX9Eld+dJjGPf9YqMrkixObp0ul1zW7Wt+aSEV5B -ngP3VmQinB1Ej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/ioISe2f1tNKA9vkSXbM5gjSfPFpjQ90m83uTm+1tiSEUI +OHwVf98GK7fkguUIN1WLFMAhv4dERDmO1LL5z9GMdKT2BRGnBP1EGhnbKLWByxAL +t/lo0PAPGre/YYfqLbLfugZxun2trIDCPHgIJo4HJcEwpwRwl267hjYha0+5wzfT +dHqRUYCN5ZCu4fkcSxpruoi60MeC2N1J0sWo5Fy2/H6RAxjh6dtkGyxtMwjdCI5S +oysIX0sWQfO1ZCDtnWL5ow9Z446flzk= +-----END PRIVATE KEY----- diff --git a/t/data/smime/keys/sender@example.com.pem b/t/data/smime/keys/sender@example.com.pem index 500bc83f731..95b282bd16a 100644 --- a/t/data/smime/keys/sender@example.com.pem +++ b/t/data/smime/keys/sender@example.com.pem @@ -1,55 +1,137 @@ Certificate: Data: Version: 1 (0x0) - Serial Number: 9974010075738841109 (0x8a6acd51be94a015) - Signature Algorithm: sha1WithRSAEncryption - Issuer: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=CA Owner/emailAddress=ca.owner@example.com + Serial Number: + 8a:6a:cd:51:be:94:a0:15 + Signature Algorithm: sha256WithRSAEncryption + Issuer: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = CA Owner, emailAddress = ca.owner@example.com Validity - Not Before: Aug 28 21:41:45 2013 GMT - Not After : Aug 28 21:41:45 2023 GMT - Subject: C=AU, ST=Some-State, O=Internet Widgits Pty Ltd, CN=sender/emailAddress=sender@example.com + Not Before: Aug 29 10:49:06 2023 GMT + Not After : Aug 29 10:49:06 2123 GMT + Subject: C = AU, ST = Some-State, O = Internet Widgits Pty Ltd, CN = sender, emailAddress = sender@example.com Subject Public Key Info: Public Key Algorithm: rsaEncryption - Public-Key: (512 bit) + Public-Key: (4096 bit) Modulus: - 00:a8:38:41:90:1d:e7:cd:2b:cb:62:cf:ad:ff:70: - f6:44:5d:f3:4b:7e:21:75:b6:5c:e1:7e:c2:27:3b: - 85:eb:72:9b:5a:94:0a:69:1d:83:ca:c5:91:b2:3f: - 04:72:61:e4:b8:eb:5b:ce:b5:10:77:d8:a7:df:8b: - c9:5a:14:15:61 + 00:8f:5d:6c:de:e9:ca:79:e5:01:9e:b6:cf:60:e3: + 6a:b0:fb:c7:f4:1a:9a:5d:60:f6:74:f7:a7:86:84: + cf:8b:e3:92:7f:f2:23:e9:6a:d3:37:7c:db:e6:fe: + 30:6a:2b:ed:41:27:47:b7:11:fe:12:2f:b6:88:cb: + 01:11:3d:44:7b:d7:73:23:65:4d:72:10:62:99:de: + 76:9b:11:9e:3c:ea:1a:89:1a:62:73:ba:8f:ae:c2: + 2a:de:40:78:dc:dc:19:99:f3:c6:9b:32:fc:bc:c6: + 0e:57:f5:7a:48:cc:39:ea:08:bf:5d:2c:9d:31:ac: + a4:68:7c:69:9f:5c:a1:77:ab:f5:53:b2:d8:d1:10: + 17:3d:fe:6d:92:9f:39:bc:b2:8d:0e:2e:58:27:53: + dd:eb:ca:1e:10:3a:b2:74:ff:30:db:78:cb:27:bf: + 8f:41:57:d0:ba:f9:a3:cd:a7:88:67:46:67:cf:d6: + 65:ef:c1:52:fd:22:8c:f0:73:fb:7d:ca:1f:d8:59: + f2:4f:01:b3:92:ac:30:00:02:fd:13:30:e2:54:54: + 5b:43:5d:31:44:b9:e4:dd:14:a0:36:24:48:6a:ba: + eb:1d:53:8c:84:f9:68:a3:d8:d4:0f:10:9e:00:b9: + c7:a2:ab:f6:51:87:04:d4:6f:0d:65:f0:47:d3:c4: + 88:7a:62:45:a1:f2:49:79:98:6e:40:f0:50:91:44: + 37:0f:86:99:37:16:ff:16:ea:4b:38:2b:2d:41:fb: + 5a:e1:e6:7c:6d:ac:c4:31:6f:4f:a8:7f:bb:ce:84: + b5:4c:9a:ab:9a:d4:ea:56:e1:d5:50:f3:b3:66:ae: + a5:fe:81:14:21:13:e1:f8:9d:75:4e:f3:29:e3:cc: + 06:b8:34:f0:8c:2d:e0:e4:d7:58:21:16:0e:97:8d: + b6:b0:74:e8:61:d2:57:3f:fc:15:5b:1b:a9:11:86: + 73:d0:18:b9:a5:a3:45:b8:ae:a3:3c:9f:06:6c:3a: + c4:a5:19:cb:65:3d:2a:86:8c:d5:5b:75:15:00:7d: + 98:4a:ba:f1:07:e1:de:36:2f:c1:d3:c9:e3:49:bf: + 80:4a:96:3c:33:59:4d:57:bf:31:28:bb:c3:c3:f0: + 0f:36:b4:a8:e3:33:aa:5a:e4:4a:5f:b7:b5:25:1e: + 8e:57:21:3a:1b:ea:38:ca:63:74:ac:81:56:a0:3a: + 65:b8:68:39:22:02:df:e0:0d:75:07:5e:31:b0:da: + 57:87:4e:5f:23:3a:55:da:29:8a:5e:87:d9:60:7d: + 6e:95:6d:d6:50:10:28:5d:ea:b0:38:13:d4:03:8b: + 0b:85:0b:b4:16:83:4b:42:7e:12:04:28:7f:e8:f9: + bf:57:8b Exponent: 65537 (0x10001) - Signature Algorithm: sha1WithRSAEncryption - 91:74:84:00:98:40:30:6b:a6:61:6b:7b:d7:c9:9d:6e:ef:bb: - c8:ba:8b:83:15:62:3e:d1:c2:9d:1c:4e:ce:09:ce:d8:4f:4a: - 49:a8:97:e8:3b:ed:82:2c:a3:20:45:72:f3:d9:23:66:93:d5: - 54:14:ce:ce:cf:27:04:52:43:b4:a7:0b:ac:b8:45:a3:96:bf: - 2f:43:59:61:02:7a:36:39:9c:01:ad:b7:63:6e:b5:b6:29:cb: - 79:78:93:95:25:24:4a:83:bd:1d:d6:07:86:06:6a:fa:04:60: - 6e:ba:41:11:0a:cb:b2:84:03:ac:30:55:94:ed:b2:2d:3c:c5: - 99:6f + Signature Algorithm: sha256WithRSAEncryption + Signature Value: + b9:6b:c9:58:6a:34:f3:8d:53:b3:2e:c8:34:87:2a:0e:06:6e: + bc:9e:40:eb:12:ca:03:41:c2:ef:03:e4:8d:1f:d2:78:0d:fd: + a2:f8:7d:39:bc:5f:06:6e:95:d3:6c:46:3e:42:9b:2e:a2:da: + 82:f0:5d:bd:5a:f3:1c:a8:ca:e1:9b:d9:59:0f:dc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jrI2LIg7ZwNroQVKo/Gs0r6zgL +Gboprt6qmw== -----END CERTIFICATE----- ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: DES-EDE3-CBC,605762440BC8261C - -MpUs66ILz2ePX4NKQ408LOAwvmpLLLnSwDX/Zmr/LG4SyZ7AnY6dY06XB6suev3m -AS+xm/LM44lvUaDvPnl4gO8jnCw3D1yktcfeHc6XqcFx2U9AiUTawmoSTKwrT4P+ -tnpSrrBJY3WghElbckK3vbZboX9Eld+dJjGPf9YqMrkixObp0ul1zW7Wt+aSEV5B -ngP3VmQinB1EjSUhGF/gsFzhJsutsX4Z1SE/U4K1A1OPl3Oz4e+9VLGgUN4ao84y -pcNYdXO/BCax4Uk8l0r0DcMd73P9WZs9+bcSgmkqduWCXkNXDbfi4RTOEn19Ehpu -MyKc3JrskRhNRN1vfMSRFUsrmppxBdPfkrGrTCJNBuL7zdbQh9k9XMaNzfw5Tt2R -oCWay5shBGEEKXRLIEqzO+Jx1BWVlWwxUwDLr73ItHA= ------END RSA PRIVATE KEY----- +-----BEGIN PRIVATE KEY----- +MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCPXWze6cp55QGe +ts9g42qw+8f0GppdYPZ096eGhM+L45J/8iPpatM3fNvm/jBqK+1BJ0e3Ef4SL7aI +ywERPUR713MjZU1yEGKZ3nabEZ486hqJGmJzuo+uwireQHjc3BmZ88abMvy8xg5X +9XpIzDnqCL9dLJ0xrKRofGmfXKF3q/VTstjREBc9/m2Snzm8so0OLlgnU93ryh4Q +OrJ0/zDbeMsnv49BV9C6+aPNp4hnRmfP1mXvwVL9Iozwc/t9yh/YWfJPAbOSrDAA +Av0TMOJUVFtDXTFEueTdFKA2JEhquusdU4yE+Wij2NQPEJ4Auceiq/ZRhwTUbw1l +8EfTxIh6YkWh8kl5mG5A8FCRRDcPhpk3Fv8W6ks4Ky1B+1rh5nxtrMQxb0+of7vO +hLVMmqua1OpW4dV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0J1kUQ8rcfXcO3lnTSVtkVmK2U1e2W9LbsSXGnngs8df1Q3XHNVs3vjezWQMI +XCxUnnWEp6FVnUncMomc2NAQAKAoGCdTlUH8SXIew1fUAGJIStC80352PVHyhUkI ++jMZbrdrp7iKEmbAC49GN3X8CrcZG+LkYdBahUxnApacYljAIcJhfz0EmwRJwyXp +GWNaO2YL07KxvoddDTQYTcZL1XZtn2+/crQDAbmMTeWk4WksWAAZcHxuWpOCsfR0 +cyTJAoIBAFo/l9kChPrgjSA198l/VUuJ5lWR++WTUO7CYNgk8aVt+UHG81jmzJaf +yziJb32XFEwGUHvEAO/ioISe2f1tNKA9vkSXbM5gjSfPFpjQ90m83uTm+1tiSEUI +OHwVf98GK7fkguUIN1WLFMAhv4dERDmO1LL5z9GMdKT2BRGnBP1EGhnbKLWByxAL +t/lo0PAPGre/YYfqLbLfugZxun2trIDCPHgIJo4HJcEwpwRwl267hjYha0+5wzfT +dHqRUYCN5ZCu4fkcSxpruoi60MeC2N1J0sWo5Fy2/H6RAxjh6dtkGyxtMwjdCI5S +oysIX0sWQfO1ZCDtnWL5ow9Z446flzk= +-----END PRIVATE KEY----- diff --git a/t/data/smime/mails/1-signed.eml b/t/data/smime/mails/1-signed.eml index 57c09b7ac2e..906c21839e9 100644 --- a/t/data/smime/mails/1-signed.eml +++ b/t/data/smime/mails/1-signed.eml @@ -1,74 +1,77 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709B50.6040609@example.com> -Date: Tue, 09 Feb 2010 02:16:32 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:1 -Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms010504020705000203070202" - -This is a cryptographically signed message in MIME format. - ---------------ms010504020705000203070202 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: quoted-printable - -This is a test email with detached signature. -ID:1 - - ---------------ms010504020705000203070202 -Content-Type: application/pkcs7-signature; name="smime.p7s" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7s" -Content-Description: S/MIME Cryptographic Signature - -MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFXjCC -AqswggIUoAMCAQICCQCKas1RvpSgFTANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJBVTET -MBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRk -MREwDwYDVQQDEwhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5j -b20wHhcNMTAwMjA4MTYyNTQyWhcNMTEwMjA4MTYyNTQyWjB5MQswCQYDVQQGEwJBVTETMBEG -A1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMQ8w -DQYDVQQDEwZzZW5kZXIxITAfBgkqhkiG9w0BCQEWEnNlbmRlckBleGFtcGxlLmNvbTBcMA0G -CSqGSIb3DQEBAQUAA0sAMEgCQQCoOEGQHefNK8tiz63/cPZEXfNLfiF1tlzhfsInO4Xrcpta -lAppHYPKxZGyPwRyYeS461vOtRB32Kffi8laFBVhAgMBAAGjezB5MAkGA1UdEwQCMAAwLAYJ -YIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBTz -NObDUXiSm5NJjk4wvBiIJGk0CTAfBgNVHSMEGDAWgBSNGy29vSToGWKuTMkqWJAIHNEFKzAN -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/wfT8cqCADfh0LaTIFAAAAAAAAA== ---------------ms010504020705000203070202-- +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: <7134873f-729f-4df8-9538-4545603123b6@example.com> +Date: Tue, 29 Aug 2023 19:29:53 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:1 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms050903060100010602090608" + +This is a cryptographically signed message in MIME format. + +--------------ms050903060100010602090608 +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 7bit + +This is a test email with detached signature. +ID:1 + + +--------------ms050903060100010602090608 +Content-Type: application/pkcs7-signature; name="smime.p7s" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7s" +Content-Description: S/MIME Cryptographic Signature + +MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC +A/cwggPzMIIDXAIJAIpqzVG+lKAVMA0GCSqGSIb3DQEBCwUAMH0xCzAJBgNVBAYTAkFVMRMw +EQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQx +ETAPBgNVBAMMCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNv +bTAgFw0yMzA4MjkxMDQ5MDZaGA8yMTIzMDgyOTEwNDkwNloweTELMAkGA1UEBhMCQVUxEzAR +BgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEP +MA0GA1UEAwwGc2VuZGVyMSEwHwYJKoZIhv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C/VXTw8kQ4Q7WsMx5e +ApC/0o4tNqcL3ndvkcRsfC0PpT84XjZFsgRgouRje5MfTKJfsRG/OC2zYlblG7nkKgYsKZE7 +TdGxLE9LeXzZXEERyPB8YsSEgpoMqAwG1yC9F4oFZ4uSvyDxbVGXgITR/HRJWPmBzkUDlMvK +TBj6dSPnbzFqykjTKm1LnoPZ9H3nxJnbgmLU25Ldzs0PbBI0CYDahxpLoB7vAh7pjD4yYJj5 +fRgPNg+k3FUtb6qELiktq++aHtx4yRrGSl4XoGC+hy8mq17RnFAI3f8bt7rrcm0io/PEA+Ev +S1ipoKTJJkqnqrVqU57l03znlODwA105Blmc8RDMPh/7UNsgzTw1zmuoHjvSp6a1GGUdLHzd +zLRI6B+JNBJSvtLgAUuwgtpMH54JsLXo4vUqrunDxl+AezP/1u74jzyewex+Xsu6n792aA0R +hl92w1tGgt08+zfz9VPwmbMpTUgMW8imnZeADOs0pbUQTKaH4wpNM4SwjzYSn/YyJHoXnsce +m9DZ6yb9pvd1yS2FLOmvjwAAAAAAAA== +--------------ms050903060100010602090608-- diff --git a/t/data/smime/mails/2-signed-attachment.eml b/t/data/smime/mails/2-signed-attachment.eml index 5c8ab27cbea..6afea9f7aa4 100644 --- a/t/data/smime/mails/2-signed-attachment.eml +++ b/t/data/smime/mails/2-signed-attachment.eml @@ -1,90 +1,89 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709C48.4030908@example.com> -Date: Tue, 09 Feb 2010 02:20:40 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:2 -Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms090206030705090204050109" - -This is a cryptographically signed message in MIME format. - ---------------ms090206030705090204050109 -Content-Type: multipart/mixed; - boundary="------------090009090000030005040209" - -This is a multi-part message in MIME format. ---------------090009090000030005040209 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: quoted-printable - -This is a test email with a text attachment. -ID:2 - - ---------------090009090000030005040209 -Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; - name="text-attachment" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; - filename="text-attachment" - -VGhpcyBpcyBhIHRlc3QgYXR0YWNobWVudC4gIFRoZSBtYWdpYyB3b3JkIGlzOiAgemFuemli -YXIuCg== ---------------090009090000030005040209-- - ---------------ms090206030705090204050109 -Content-Type: application/pkcs7-signature; name="smime.p7s" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7s" -Content-Description: S/MIME Cryptographic Signature - -MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFXjCC -AqswggIUoAMCAQICCQCKas1RvpSgFTANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJBVTET -MBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRk -MREwDwYDVQQDEwhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5j -b20wHhcNMTAwMjA4MTYyNTQyWhcNMTEwMjA4MTYyNTQyWjB5MQswCQYDVQQGEwJBVTETMBEG -A1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMQ8w -DQYDVQQDEwZzZW5kZXIxITAfBgkqhkiG9w0BCQEWEnNlbmRlckBleGFtcGxlLmNvbTBcMA0G -CSqGSIb3DQEBAQUAA0sAMEgCQQCoOEGQHefNK8tiz63/cPZEXfN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S1TdGF0 -ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMREwDwYDVQQDEwhDQSBPd25l -cjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5jb20CCQCKas1RvpSgFTANBgkq -hkiG9w0BAQEFAARAai2FuYDJS0n8idViQ6y3pocwSKJRg0hrSP1K3GiVyh4an5y1lWuotK/q -tziPXZ2qeGSB/mmBf7mwfjPYgGZkoQAAAAAAAA== ---------------ms090206030705090204050109-- +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: <1f559aba-f74f-4017-921a-b515b7fd6076@example.com> +Date: Tue, 29 Aug 2023 19:35:39 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:2 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms060104030103070206000606" + +This is a cryptographically signed message in MIME format. + +--------------ms060104030103070206000606 +Content-Type: multipart/mixed; boundary="------------5bTJu71y0e4RaxyyRgqLplkg" + +--------------5bTJu71y0e4RaxyyRgqLplkg +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 7bit + +This is a test email with a text attachment. +ID:2 + +--------------5bTJu71y0e4RaxyyRgqLplkg +Content-Type: text/plain; charset=UTF-8; name="text-attachment.txt" +Content-Disposition: attachment; filename="text-attachment.txt" +Content-Transfer-Encoding: base64 + +VGhpcyBpcyBhIHRlc3QgYXR0YWNobWVudC4gIFRoZSBtYWdpYyB3b3JkIGlzOiAgemFuemli +YXIuCg== + +--------------5bTJu71y0e4RaxyyRgqLplkg-- + +--------------ms060104030103070206000606 +Content-Type: application/pkcs7-signature; name="smime.p7s" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7s" +Content-Description: S/MIME Cryptographic Signature + +MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC +A/cwggPzMIIDXAIJAIpqzVG+lKAVMA0GCSqGSIb3DQEBCwUAMH0xCzAJBgNVBAYTAkFVMRMw +EQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQx +ETAPBgNVBAMMCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNv +bTAgFw0yMzA4MjkxMDQ5MDZaGA8yMTIzMDgyOTEwNDkwNloweTELMAkGA1UEBhMCQVUxEzAR +BgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEP +MA0GA1UEAwwGc2VuZGVyMSEwHwYJKoZIhvcNAQkBFhJzZW5kZXJAZXhhbXBsZS5jb20wggIi +MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCPXWze6cp55QGets9g42qw+8f0GppdYPZ0 +96eGhM+L45J/8iPpatM3fNvm/jBqK+1BJ0e3Ef4SL7aIywERPUR713MjZU1yEGKZ3nabEZ48 +6hqJGmJzuo+uwireQHjc3BmZ88abMvy8xg5X9XpIzDnqCL9dLJ0xrKRofGmfXKF3q/VTstjR +EBc9/m2Snzm8so0OLlgnU93ryh4QOrJ0/zDbeMsnv49BV9C6+aPNp4hnRmfP1mXvwVL9Iozw +c/t9yh/YWfJPAbOSrDAAAv0TMOJUVFtDXTFEueTdFKA2JEhquusdU4yE+Wij2NQPEJ4Aucei +q/ZRhwTUbw1l8EfTxIh6YkWh8kl5mG5A8FCRRDcPhpk3Fv8W6ks4Ky1B+1rh5nxtrMQxb0+o +f7vOhLVMmqua1OpW4dVQ87NmrqX+gRQhE+H4nXVO8ynjzAa4NPCMLeDk11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K5ueBQt7qb7XsbSoRQgAAAAAAAA== +--------------ms060104030103070206000606-- diff --git a/t/data/smime/mails/3-signed-binary.eml b/t/data/smime/mails/3-signed-binary.eml index ff3449daf57..0588c1b9ad6 100644 --- a/t/data/smime/mails/3-signed-binary.eml +++ b/t/data/smime/mails/3-signed-binary.eml @@ -1,95 +1,94 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709CC5.4010607@example.com> -Date: Tue, 09 Feb 2010 02:22:45 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:3 -Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020101060809030506070801" - -This is a cryptographically signed message in MIME format. - ---------------ms020101060809030506070801 -Content-Type: multipart/mixed; - boundary="------------060502090104050607070406" - -This is a multi-part message in MIME format. ---------------060502090104050607070406 -Content-Type: text/plain; charset=UTF-8; format=flowed -Content-Transfer-Encoding: quoted-printable - -This is a test email with binary attachment and detached signature. -ID:3 - - ---------------060502090104050607070406 -Content-Type: image/png; - name="favicon.png" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; - filename="favicon.png" - -iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t/AAAB -BElEQVR42u1WWw6DMAwz0+5FbzbvZuZk2cfUritpea77wVIRIBQ7dhsBdIQkM8AMMJImyW6d -BXweyJ7UAMnUvQFGwHp2bizIJfUTUHZO8j/k1pt8lntvchbdH8ndtqyS+Gj3fyVPAtZAkm3N -ffCyi/chBIQQ3iqs3cQ0TZCERzbhngDocOS4z94wXTCmu2V45LuQW8hsSWpaP8v9sy+2IRZj -ZTP5ububbp8Az4ly5W6QqJ33YwKSkIYbZVy5uNMFsOJGLaLTBMRC8Yy7bmR/OD8TUB00DvkW -AcPSB7FIPoji0AGQBtU4jt+Fh1R6Dcc6B2Znv4HTHTiAJkfXv+ILFy5c8PACgtsiPj7qOgAA -AAAASUVORK5CYII= ---------------060502090104050607070406-- - ---------------ms020101060809030506070801 -Content-Type: application/pkcs7-signature; name="smime.p7s" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7s" -Content-Description: S/MIME Cryptographic Signature - -MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFXjCC -AqswggIUoAMCAQICCQCKas1RvpSgFTANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJBVTET -MBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRk -MREwDwYDVQQDEwhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5j -b20wHhcNMTAwMjA4MTYyNTQyWhcNMTEwMjA4MTYyNTQyWjB5MQswCQYDVQQGEwJBVTETMBEG -A1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMQ8w -DQYDVQQDEwZzZW5kZXIxITAfBgkqhkiG9w0BCQEWEnNlbmRlckBleGFtcGxlLmNvbTBcMA0G -CSqGSIb3DQEBAQUAA0sAMEgCQQCoOEGQHefNK8tiz63/cPZEXfNLfiF1tlzhfsInO4Xrcpta -lAppHYPKxZGyPwRyYeS461vOtRB32Kffi8laFBVhAgMBAAGjezB5MAkGA1UdEwQCMAAwLAYJ -YIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBTz -NObDUXiSm5NJjk4wv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hqT+WUyoEH/mUn9ZLg/yB3KnRRs3tsqYeJt2SlQrD+zN9 -53knAqbgZ9v3viuGCo0fj6RvFU4CHgAAAAAAAA== ---------------ms020101060809030506070801-- +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: +Date: Tue, 29 Aug 2023 19:36:36 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:3 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms080409050107030404080700" + +This is a cryptographically signed message in MIME format. + +--------------ms080409050107030404080700 +Content-Type: multipart/mixed; boundary="------------60x0NuLY0SgqmauMsaTWB9Uo" + +--------------60x0NuLY0SgqmauMsaTWB9Uo +Content-Type: text/plain; charset=UTF-8; format=flowed +Content-Transfer-Encoding: 7bit + +This is a test email with binary attachment and detached signature. +ID:3 + +--------------60x0NuLY0SgqmauMsaTWB9Uo +Content-Type: image/png; name="favicon.png" +Content-Disposition: attachment; filename="favicon.png" +Content-Transfer-Encoding: base64 + +iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QAAAAAAAD5Q7t/AAAB +BElEQVR42u1WWw6DMAwz0+5FbzbvZuZk2cfUritpea77wVIRIBQ7dhsBdIQkM8AMMJImyW6d +BXweyJ7UAMnUvQFGwHp2bizIJfUTUHZO8j/k1pt8lntvchbdH8ndtqyS+Gj3fyVPAtZAkm3N +ffCyi/chBIQQ3iqs3cQ0TZCERzbhngDocOS4z94wXTCmu2V45LuQW8hsSWpaP8v9sy+2IRZj +ZTP5ububbp8Az4ly5W6QqJ33YwKSkIYbZVy5uNMFsOJGLaLTBMRC8Yy7bmR/OD8TUB00DvkW +AcPSB7FIPoji0AGQBtU4jt+Fh1R6Dcc6B2Znv4HTHTiAJkfXv+ILFy5c8PACgtsiPj7qOgAA +AAAASUVORK5CYII= + +--------------60x0NuLY0SgqmauMsaTWB9Uo-- + +--------------ms080409050107030404080700 +Content-Type: application/pkcs7-signature; name="smime.p7s" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7s" +Content-Description: S/MIME Cryptographic Signature + +MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC +A/cwggPzMIIDXAIJAIpqzVG+lKAVMA0GCSqGSIb3DQEBCwUAMH0xCzAJBgNVBAYTAkFVMRMw +EQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQx +ETAPBgNVBAMMCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNv +bTAgFw0yMzA4MjkxMDQ5MDZaGA8yMTIzMDgyOTEwNDkwNloweTELMAkGA1UEBhMCQVUxEzAR +BgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDEP +MA0GA1UEAwwGc2VuZGVyMSEwHwYJKoZIhvcNAQkBFhJzZW5kZXJAZXhhbXBsZS5jb20wggIi +MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCPXWze6cp55QGets9g42qw+8f0GppdYPZ0 +96eGhM+L45J/8iPpatM3fNvm/jBqK+1BJ0e3Ef4SL7aIywERPUR713MjZU1yEGKZ3nabEZ48 +6hqJGmJzuo+uwireQHjc3BmZ88abMvy8xg5X9XpIzDnqCL9dLJ0xrKRofGmfXKF3q/VTstjR +EBc9/m2Snzm8so0OLlgnU93ryh4QOrJ0/zDbeMsnv49BV9C6+aPNp4hnRmfP1mXvwVL9Iozw +c/t9yh/YWfJPAbOSrDAAAv0TMOJUVFtDXTFEueTdFKA2JEhquusdU4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fZ+p +4kaSLWZu9aGtHveEAUmrMFbuZVciQ3X1aeKsFzAtquD+NIale+evBihI/Hanbl+YS9Pf7h0T +e7aceMNOZ5nRFBqOFCH1JnFCx5LmQv7mwjAt3eYWNWZUXgD4sUdFiq3hFxy4FIryeWuDzqmd +/Muu/T7yCrODtxAWVZQI5gAAAAAAAA== +--------------ms080409050107030404080700-- diff --git a/t/data/smime/mails/4-encrypted-plain.eml b/t/data/smime/mails/4-encrypted-plain.eml index 481a858b03b..ccec76f9860 100644 --- a/t/data/smime/mails/4-encrypted-plain.eml +++ b/t/data/smime/mails/4-encrypted-plain.eml @@ -1,32 +1,49 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709D39.6090102@example.com> -Date: Tue, 09 Feb 2010 02:24:41 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:4 -Content-Type: application/pkcs7-mime; name="smime.p7m" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7m" -Content-Description: S/MIME Encrypted Message - -MIAGCSqGSIb3DQEHA6CAMIACAQAxggHIMIHhAgEAMIGKMH0xCzAJBgNVBAYTAkFVMRMwEQYD -VQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxETAP -BgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNvbQIJ -AIpqzVG+lKAVMA0GCSqGSIb3DQEBAQUABEB4NUWl1nJB+cQVXPRmHEj+uxapSKRQ2PFeP+Eh -VJHyPpsgf8APPxhS/6s1DBIWE9fwkghiM7JTgYZow42q/tdfMIHhAgEAMIGKMH0xCzAJBgNV -BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRz -IFB0eSBMdGQxETAPBgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBl -eGFtcGxlLmNvbQIJAIpqzVG+lKAWMA0GCSqGSIb3DQEBAQUABEAFd/zqPwzjH8gKZoGUA/yY -7aDfJzlAsg2tar47hM1xeSTgJ5JpluYy9V/43oK++Q+3HceI4P+aE91CjMrcbqvlMIAGCSqG -SIb3DQEHATAaBggqhkiG9w0DAjAOAgIAoAQIsDsGzNXDhPmggASBiBdO/BdF/SrEjAeIi2is -G71RuJ/lcnNlAltdk9lMJLoOxxTaa495lk8HuVD0xFYQueNS8AsACRjkOwgSf9Avh1elFRV5 -U3XZrmCOqbnDsWRTr2KEc8K9CXxqY6CwFizaoFlTftpji7W3ATU2+/QufIKYBS7Za3Zq1u7M -HLbv4GLdEP1GVPDj2fAECP7azsN17fhCAAAAAAAAAAAAAA== +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: <481f547a-73ea-4d07-8e14-7a978d8b580b@example.com> +Date: Tue, 29 Aug 2023 19:47:40 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:4 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: application/pkcs7-mime; name="smime.p7m"; smime-type=enveloped-data +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7m" +Content-Description: S/MIME Encrypted Message + +MIAGCSqGSIb3DQEHA6CAMIACAQAxggVOMIICowIBADCBijB9MQswCQYDVQQGEwJBVTETMBEG +A1UECA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YJKoZIhvcNAQEB +BQAEggIAh+jBeAcOmwotEGgm6ZNu92VliW+nQF0gUqMjm+OyLsaQlj2snX5xEsY7/cOqY+Fh +QKDpM6pLmWwHucuRHUxULVGJXWa0GGt66h2OfPKV1jL6m5fD96nd5enxf+mbqk3UcZn3TqFl +pnmuSbYxFei9Lv2d2MPzNyaBtBiuD4vaU60R1TYVQ90I0pNpw50Qa5CLanj/BfeiaiGw62uM +SlNeTvKjK1N31ec5bENH0wIfeSASK5Z2waj+l+D+Atj5du2OLgSwzPkMwQM3gcZU+BkohXEm +ynOzy+X38lAVhN1CiOSlq18T+1D/+EP0MQQL2Dp2F0s63p7sh3P+cNVJj7BPTxtGdkSQdI2u +tqalFjdPOhC5f5rfKwRCsRzrMnGFUQaI8klC61jJwaw85aViOfnLdH7A/G6UEnEupENplTBk +Vx6IW6EBPL5oN20jQDEcxLO368Lc7IThGY+NJZmFNmFg/yt8qiNsQJ9Oi+/3ycgVbX7MNhuo +RoVSf5Q8T3iNOHtKX2oLXKaFkjqf0WIC99ihPEwU7LVp7KtzLUFIzHfkpJsMnQc0YpJV+C4h +aIIWlDWsetc8GI0TnS8Uw3wyOnJIaFELX1z0F3dHVzhkbPF4ut6bX5mJig8mASUZKouSO9gx +lwAX9MryJLhLtU1Gtol9E1oGoYaZ4cgOmidFe+qI52AwgAYJKoZIhvcNAQcBMB0GCWCGSAFl +AwQBKgQQ5sopNB9QZABtJuMpFI+/yKCABIGASmZRlcJuAVxymd0fh+q5qOAwC19sYwuvnypS +JO/wB40aBPnCjF17DtqXI43qNV6x2sLTXrBi9VZgrqoPrstL/QafEGer4pYgbvx7h1X1IpdR +tztQLcmzLtUknjfp6rXC6OdjTQsv3S8XLdgzEo/zPd0Y/6Mn403KBvup7rQoWnYEEIm7iyjq +QchMtSkYzCMSHlEAAAAAAAAAAAAA diff --git a/t/data/smime/mails/5-encrypted-attachment.eml b/t/data/smime/mails/5-encrypted-attachment.eml index b6fb9b46bcd..50cf4ad2561 100644 --- a/t/data/smime/mails/5-encrypted-attachment.eml +++ b/t/data/smime/mails/5-encrypted-attachment.eml @@ -1,42 +1,58 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709D8E.1000001@example.com> -Date: Tue, 09 Feb 2010 02:26:06 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:5 -Content-Type: application/pkcs7-mime; name="smime.p7m" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7m" -Content-Description: S/MIME Encrypted Message - -MIAGCSqGSIb3DQEHA6CAMIACAQAxggHIMIHhAgEAMIGKMH0xCzAJBgNVBAYTAkFVMRMwEQYD -VQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxETAP -BgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNvbQIJ -AIpqzVG+lKAVMA0GCSqGSIb3DQEBAQUABEALN6in6tg2C0yVmkb0XWJr6qRLrwrJLiqcoamd -a3VAyQeHcqIB14UYuHiN6zZA2lABUI1DsjFlDiCEg8TSyJuAMIHhAgEAMIGKMH0xCzAJBgNV -BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRz -IFB0eSBMdGQxETAPBgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBl -eGFtcGxlLmNvbQIJAIpqzVG+lKAWMA0GCSqGSIb3DQEBAQUABEBDqZbltMcqBRxIshfZ+jSa -49l6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A +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: +Date: Tue, 29 Aug 2023 19:49:39 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:5 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: application/pkcs7-mime; name="smime.p7m"; smime-type=enveloped-data +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7m" +Content-Description: S/MIME Encrypted Message + +MIAGCSqGSIb3DQEHA6CAMIACAQAxggVOMIICowIBADCBijB9MQswCQYDVQQGEwJBVTETMBEG +A1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMREw +DwYDVQQDDAhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5jb20C +CQCKas1RvpSgFTANBgkqhkiG9w0BAQEFAASCAgCA51j1n3MUOh5GCgRgeS9c8f/Lu29/b0Cb +WBVlvCbKZXmhzdpGCd8dozIShwhVhIPJFmLRkZZ9EyRo5n76chWKjO/p3gBjK1An4jtIFG+4 +SKsK9bKKW7ZDHoA6DDU95TrfDV0wwxUjB2ZJKvLGRu9x4K0ViJ3+h91Dd6pwK+miXiHLHo3Y +uX1chaIayPcvnFQRuG+ImZ2NCu32mmdN9Re2VtY9cv2oc/iRXhQOgLitbM4a1YdUm3ADcohP +LxuApuamZmq6uMErDYpTBgmVPxTOh49Bs4yyeS97sxAiYtKF5NEyGtgxIcmhkSuGxDUTqY9q +E7y4xuK6Dg1UDwT3I7C/Eb0mLBQ4i9K2CuFMzvSHJNiNE5deS4MlqDzMDRzt/TDcRuVFmsO9 +3KOiWEZx+q4gGMjCujR4RQnKovvEJYSvW1rvPB9z357LByeOpXBP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k2pNnMLQSdesQ8b5dR2nx+d6BQxiDlRy50pEqX3GEg +O5pUBta95xrgWaUQhaTBp0W9A4ysxp+7w+It4/3vbvgwgAYJKoZIhvcNAQcBMB0GCWCGSAFl +AwQBKgQQpiuagM3oh7QdbPcZAgRr7aCABIICYK51gq44M92sTIgcMcBIggeTLE9vqwiFySDB +kaJJOOuP/dlx1NGfq3/S9r/QH5sh0yfT1y2P+mnoccjpyCWcDeGM/NvVlWaelJgx5XUAzl/j +abhTBqQUGcMs6w5lAPHUV8AKtFSznFTJ/wnbEbAQpLEwPUzZqz+XS2o8bY6ZHnc3ne9zdoHs +SMjMQYf9ccPM+TjZWwD/u07f5f6xNTmjkgguwVXjkvIwRPiJd2ZKB+7303ATrSIljDQgjZ4+ +Xvl4l4rDWLnytkPj+NqUUq0VoIjIvxf4JBSOByks9XT2aj88izaBmciStjDSShuladNFbwCb +uRQ8ij9rAxyJhOKK+OvQjZ7zvQ31VQPUoM472ZNjRWMJxWZ1bMCx7ENC4epvIDd1pPsOJSUs +v8dIDFozdkC23PHrkngxjTxB9x0eWz/gEm1nT4zqbdS6BVufF8tw5QWqJa89a5Uh7rm8JZ2r +vdhylN9LDQZpwbN1ukBEZgQYgmGXDY+q10SDK6QbV7N/KdHZ6Rglw4x6KiSxokfPbVVm0ZJQ +ymNTz6Taxrh78q+0KkklXjsc6VJmmtIOjhje71MZAkHmiDD0zSVG4rFTCf4iHg/LgXnCTT+a ++e8EWDUgIBQ0RaxbKNna2/EfRemxg7BEniRiPaRH3xn14VpnZoqVw3Avql4sybm6M3NAAB58 +iJovKjO+JHIeoRDEVlAfB9LrPxF9ivNR3UJpQGyj37w6yZdSbkgbsjrpwnf+oTVVL7HLRT9v +YEfJ1X0560sjklABpXEzzDOPUVu2aV0XIq3TV3n7u5+khaG85duuDKZaBBCjV9C70vnzn3Gt +pmNe5VAVAAAAAAAAAAAAAA== diff --git a/t/data/smime/mails/6-encrypted-binary.eml b/t/data/smime/mails/6-encrypted-binary.eml index f4d50886b3d..2171dc49035 100644 --- a/t/data/smime/mails/6-encrypted-binary.eml +++ b/t/data/smime/mails/6-encrypted-binary.eml @@ -1,48 +1,64 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709DE8.9000101@example.com> -Date: Tue, 09 Feb 2010 02:27:36 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:6 -Content-Type: application/pkcs7-mime; name="smime.p7m" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7m" -Content-Description: S/MIME Encrypted Message - -MIAGCSqGSIb3DQEHA6CAMIACAQAxggHIMIHhAgEAMIGKMH0xCzAJBgNVBAYTAkFVMRMwEQYD -VQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxETAP -BgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNvbQIJ -AIpqzVG+lKAVMA0GCSqGSIb3DQEBAQUABEBaD8gD14bNN6JP7//sSTSKfd8xt9qWPMhY9bua -KfkSNpEiV0NIcdnJLJxMfgQ3ox6+eHOt5PlU67FgdStmUoHZMIHhAgEAMIGKMH0xCzAJBgNV -BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRz -IFB0eSBMdGQxETAPBgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBl -eGFtcGxlLmNvbQIJAIpqzVG+lKAWMA0GCSqGSIb3DQEBAQUABEAdwlv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BF6T5MJtS90LQtq/7iYv3sTS9PDqXBHW4+ -SgLSOcFH4vmodrP3nu+TnLWU33aboPBvdNzGO2CpOzGRsvft0QanTq3vhSwLG5Nhqiv7XHKE -MRphztDRdNlxNQjEyV5q0ER/bEltrMtksFIcPKEWXfsNjbW4PTgjlsjLVBnMOkOU/dX812UK -byJW7l0SrWo6bFrooP1pht0IyGWLSxmRMb4CivKgqQuLq+z869I479RlReVBwoYJ+bxoOjD5 -5RQUkljjEg/ZCo9OvVVgA9LFUhT3nATjHQJTqJKx6jZxITiy9EfXymX71SxDXyPsM9sdqrdQ -SYX217aHveMarK6v9V8smV+LtxKq9Bgkm2ZbUiqZ0/oBcsIIca9HYC7hUxIXkQRvJBcsi7BB -Lk7Xm/Egkcc9ZfcnGevgIntzdVYod6LpUodzYavdewQIiEXE/XWx8fgAAAAAAAAAAAAA +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: <79c3119e-31ac-4f27-8d80-540cec474da6@example.com> +Date: Tue, 29 Aug 2023 19:50:55 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:6 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: application/pkcs7-mime; name="smime.p7m"; smime-type=enveloped-data +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7m" +Content-Description: S/MIME Encrypted Message + +MIAGCSqGSIb3DQEHA6CAMIACAQAxggVOMIICowIBADCBijB9MQswCQYDVQQGEwJBVTETMBEG +A1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMREw +DwYDVQQDDAhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5jb20C +CQCKas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q0q59RUNzhB4WmoHo61C5ScW/FO220dmt9uY2OEij+GLZEjCDH +YA4sggtcP9pzjKGMfZCoXPAEmo61OsMCy5WiBg148/2Wws4GpDHDCMo+TGE+Hoo/ISX3pbIB +l7mQ4neJye5XQqxhI1+7Wr0XmMUpGU86oTWMiNsbhWBDpjip6cpH4CLaoQfXJE67GneAnkNJ +/0A+HXE1p43kmdvnQ0Sn+OjPgRCrN7zqDAiBHdU7DdaNU6YYsGPyRAECo7/gqQ+3q3RBm4ya +aA0/ro3LKu4gizp/jdtpqpZq5ESBHBtKZAU+ZWHSBjDw+3xP4JQN6HXUsbC5sEQHiUDH7WUR +0giXtD+IQzvQYyhJP8xw1wz4ytEAcwJ0qGYmBJTF3NdYWcwnk9d+WFY9j1Z32L6GS1I+Adqt +x6rDmFoohG1rpHyagOrfeASmD44KOmKtq93SnmgvsjtKt7PvEdzpZ/6jHWWQT+IgyAcqr+TG +/WTcN88agLUNCCdj3E7JiA4esB+TpEkshgsJIudOYXCEn7QrmxBLtXS+2suXlAakT24+g5pJ +z6jVad9DYutEIyAZ+sIX47dENRuvP1WCFcwoWtkY2JhORraL7uMcmcf9Au1lmDWIs3FYjiqQ +0xT1XJoVwiTo+U1AT7+/UR1SekODbNT9JMYakXsTpvy2RGnI7E4Ek7zWcR6HVzlzjjr6edGC +VEMT/eRrsj/yOvG2U1DayecRrxqSz3Skc4thStoZy6Cb8XxH00/VlNviKRcFe+v7zdWwN3oe +ygaHaTOI+6yHVMAfXHe4mQGZW31IWv9gjRP/qW8JZdmzhq45ZxAJuSdEbEVP4LwcFcLzO9/d +IsjKG2IdXYr3w+vfOwZpCAQQssh609K/PKF4P8m3ZBzkbQAAAAAAAAAAAAA= diff --git a/t/data/smime/mails/7-signed-encrypted-plain.eml b/t/data/smime/mails/7-signed-encrypted-plain.eml index 7dd981a240a..d58ecfd4962 100644 --- a/t/data/smime/mails/7-signed-encrypted-plain.eml +++ b/t/data/smime/mails/7-signed-encrypted-plain.eml @@ -1,97 +1,118 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709E37.3080003@example.com> -Date: Tue, 09 Feb 2010 02:28:55 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:7 -Content-Type: application/pkcs7-mime; name="smime.p7m" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7m" -Content-Description: S/MIME Encrypted Message - -MIAGCSqGSIb3DQEHA6CAMIACAQAxggHIMIHhAgEAMIGKMH0xCzAJBgNVBAYTAkFVMRMwEQYD -VQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxETAP -BgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNvbQIJ -AIpqzVG+lKAVMA0GCSqGSIb3DQEBAQUABEBn4w9xFhp6LNJPyt9G4QzJMyNIHsRVgJRb5gnw -TjP9wid5D1+bi6FKg4ydAmC1xicBtrUj5P+ZVwZHEnPKl2DqMIHhAgEAMIGKMH0xCzAJBgNV -BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRz -IFB0eSBMdGQxETAPBgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBl -eGFtcGxlLmNvbQIJAIpqzVG+lKAWMA0GCSqGSIb3DQEBAQUABECW3Ck8XGyHghaSy3AklUgR -hgeyhd/eARl2L6MZDLZX54xjSY1rFpgXreuM9Ttscp9lWvXv7zt0cYO4Aq178SHmM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1cXkwZr0da7ESjHYT/Gua3OthPf3xT3Rv6 -ZaQaNOiVMfqCenAnCQX+yi3HgLJA2iWddhre61GE3x4ggpCa/UbLVs4gvlNaQO9bANZDDMwr -rk+5fw6paoabhLulMUe+XM1ZUA5hj/rBXkr/ytEDNefB9aKoPUm0ZI6WDtKttJsa4FNV+6Bf -SoOrQ/mRAmhaOyGxwCkG+cVo4KkZz1XgcLypnRv/VLB32td1KwmpJZ+hZihI/s4NhO+9BHNT -ATu2wsHCeO/e0hzLvKVcRjuzUu/wGzK3r2XX6Bkynz2g1NRLw0dFfmiz/QjlWdDatrmTX6QB -/7e4h7zFrYB8YGqzFEoPTVvLoLCilBs563LrgVCAOi8v/lm88ZKBN95G5x1nI6YvSrxqAMzE -mSciIlosHS4baea67BNAkRIUg4Bgx+J8vmJIYhGQJSQNtFPc3mJgtOQ/NQtombr4PdzLJda6 -rpdeHoU+F1/pq46TqwQl7deB3YPfa8D84Ma0/5W7ZyO9UZ3sGUXcZhJBsxo8rzd8NqF4whag -4wrSWe8NSrigwkzVTc0r3M8jz2xzTLJqSnvuM04fgrCZEsz2aroP6dR4mhbuj5F8JdEZVW3g -/xtcSkPsRuRVo8cD0FzQdjSbNG3GO2ITOA2+ZPnh7vBDfAMekmAeBAin2A20Eh6sGAAAAAAA -AAAAAAA= +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: <22b320dc-7dd9-4c6b-aabf-c6b36995a1b4@example.com> +Date: Tue, 29 Aug 2023 19:52:30 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:7 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: application/pkcs7-mime; name="smime.p7m"; smime-type=enveloped-data +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7m" +Content-Description: S/MIME Encrypted Message + +MIAGCSqGSIb3DQEHA6CAMIACAQAxggVOMIICowIBADCBijB9MQswCQYDVQQGEwJBVTETMBEG +A1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMREw +DwYDVQQDDAhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5jb20C +CQCKas1RvpSgFTANBgkqhkiG9w0BAQEFAASCAgBn1K4UbU+0vT9R2fJDjpOg9/PbAc74rzen +Xgrrz5w3C4yEGaKp/JbhakVFGpHw+vI22eO4mo3PCCLf/j7eEOZqHB9pFXXXuWFotJ+PkUau +5G3GmxLLKhH0PipMM4MtWcn3kN44QmSmnHgYA4GLMvvkngv8CpCExov8dOrJzcEvjevFjRmT +9nqt8wSXM/obj+URq7PanlcZgpnK/iMdJks6Ek3lSyPyVMkKIHbSpgboOyF1Eql46npAGdmL +cOG7n222/PgfeIWCR/Ln2l7EZCCHthU2VLqagQrMLxnmqxEnHvgZQRKFTNjbk0+4kzc4u2MS +GwJdoVdaqXbiXNrNowhZtpSr3jyn3YezhmEbEae+fAREbiTrJLECZ5zjj+scD9z7ovb+Ks5Z +ixAZTCnT9LO9ebq0Ww0TMdUx2mr7eABdMPHxtMiKM037H/dNOdlD1vf+heQWLa6Pay8lj+hZ +8YOLUpLKCTdF14auBxhf/T7yKnVDX5oEA4ugxgsGFuuE+mVxJzbm7OrbffzyySNwBrZFQu9x +zbMUEGlqoNtI4WD3ddSaSx6GdmQMFb7b1gbuQuIwKjiN1LXEKYjpOwjN+5lB15toQcO3U1l5 +E/tCHcROMA1GmsJjrf0hB3asSQqw8EuNh0yXrYNOHtgJuvTQROS4JoP++LMccCZGURI/xVnp +4TCCAqMCAQAwgYowfTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNV +BAoMGEludGVybmV0IFdpZGdpdHMgUHR5I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CdhH0dCPuGAA1xSqu49PrNLyh1IsT42ph +rP/ns8l7k3JhGez7dertUOw569Pox5hylfFOa931tEGS9/ulAVYJSDGmsK17I8JHBak16ipk +lltxiCg50k8kG7dLeQk25JlrNVbYoKZuuznimjMHwqTW/uVnLKJvRLPxuPwb86zC0RlGNzPS +0mcXlpv6aHPzxJdiR3T16JQTNo9pzb/3CFvfZECkTb35vJtKI5NaNNrWKR+jW0IGzrjyEERv +gRpjdbLGm69K5iBuA3Y+u5rmi2/MKnYsgXXMxMJ2MToLcDENrnMZ3dXY4NGxYIz5UJSN6QB4 +8DrfAFX6Jd9ao0FCi8r0EK1IIpJq6kfMyx6jx6sxO9csLcXExLgJFlsyfL/DGQaEUo6uCJq2 +gJiUeoBsKaWq0t8AfERxolimO9s+u5ZVVr8XHQQs2UiFOOl36z9Qh87bbFuZ3OFBAYpOI/RU +WHSsKH062rF+rHvTI25kxvrHY3LiuAgi4ISGdmy0uupWeGyzwdh+dhY/AyotxexC74V6tCvR +eI61XcLdW84S3SvOwOZJUbiX/4mE/KIgz5VfIJw+UanZ7rJneM5TlsS+FMRdvg55PwvXPuI8 +IbMhrSP/gDN4Tt6GLeUk+0rOvV6aSDHr1bGsPi+Jq6/e0QeHIDh6EL6dxdbD1m4plQnSJwmP +O5KiCiM9ad5zTWmXYPKCXJBHX81l0ptNl417SuHhFvnFPgQQMoJoMFziJ229oq4CJ4PJtgAA +AAAAAAAAAAA= diff --git a/t/data/smime/mails/8-signed-encrypted-attachment.eml b/t/data/smime/mails/8-signed-encrypted-attachment.eml index 1c53ad9562a..3087778c3d0 100644 --- a/t/data/smime/mails/8-signed-encrypted-attachment.eml +++ b/t/data/smime/mails/8-signed-encrypted-attachment.eml @@ -1,107 +1,127 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709E7D.8050407@example.com> -Date: Tue, 09 Feb 2010 02:30:05 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:8 -Content-Type: application/pkcs7-mime; name="smime.p7m" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7m" -Content-Description: S/MIME Encrypted Message - -MIAGCSqGSIb3DQEHA6CAMIACAQAxggHIMIHhAgEAMIGKMH0xCzAJBgNVBAYTAkFVMRMwEQYD -VQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxETAP -BgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNvbQIJ -AIpqzVG+lKAVMA0GCSqGSIb3DQEBAQUABEADxC8CAlzKMNF0mslS0vildCM5FQxOllhn1/nC -DWM3qsFtrFLIy56M3Knz4GZUFAk3cRObg21WABJysenXaqYEMIHhAgEAMIGKMH0xCzAJBgNV -BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRz -IFB0eSBMdGQxETAPBgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBl -eGFtcGxlLmNvbQIJAIpqzVG+lKAWMA0GCSqGSIb3DQEBAQUABEAVZIiRyhVjCAOFOZpkGsES -yu/zqlRn/AhhtHVwB+9+RpLr+POuaBCXlp8705wOyokMpFbV5Lan5MGitd7vmGpqMIAGCSqG -SIb3DQEHATAaBggqhkiG9w0DAjAOAgIAoAQIEhlk2O2sbNCggASCEED/gpJpoTTN4xn+aW+X -G+pGKN5s4lp00IyQTZ2yfrUIrEtcekJBSzGPbOTK6sbwN2LJzNUlgWzcblxvIhP+6kJtMQ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veWsp6RA6pS3AGH1p+NvBzo1rbijBwiFlsgL7VyLUmXz6uxDvNm -cnVof0+Y/nUJ30vWUzbW38lUDQOks+ZOhWBDZ4Dx1B9lrQ+SyQtIlXi5AEmTJcbYb+f1rp7O -BKknFBBRd8kW7H5ryxyY1wyfYZ7TVhCQD7I41pXg8Mj41C6BTlqXvndhJQQI5iqg/OuwSHwA -AAAAAAAAAAAA +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: +Date: Tue, 29 Aug 2023 19:53:37 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:8 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: application/pkcs7-mime; name="smime.p7m"; smime-type=enveloped-data +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7m" +Content-Description: S/MIME Encrypted Message + +MIAGCSqGSIb3DQEHA6CAMIACAQAxggVOMIICowIBADCBijB9MQswCQYDVQQGEwJBVTETMBEG +A1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMREw +DwYDVQQDDAhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5jb20C +CQCKas1RvpSgFTANBgkqhkiG9w0BAQEFAASCAgALcQZlwaCOkSK2qgR5XsfnIrU/Lgj3Dn+n +KIzu7gU5NzebgrbIsyLlk8jg9LJEjc/OddfwZN9bnO/Ne9IQTHqeJd2o4TzJ8CBOOe4g4d94 +ChPZ9g/woc1JsyG4RauD+jsE9Jsnzku5tTBN6KcoJMuuL4jUo6LZilMnz2hdNoS9y9gFgKGt +TwUoP1WbRFv31+gbRrWhWnJnAo/AitTn79wg4JeWT+BG8Sgkxl+89KMyI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sy+aTu2xEFdv1YbpJ1wXQUV9l7tc84zlp1xJrQTHCj7vw8Ekrkr4G87d1H51SQpoQS1pPxO +9PyLFD9bucKDxDVDM7f/p2h7Z0Dt/zexO60jblIWHItIbAMH2dX39fQGzQd9Y5PIirRwmATn +Hi3dZ8+exSUrvKEFT6L1iaTAGHCbbdkYlQV1iqJEZre5agXOwtDhcC71Q/b1ZZMPXJWkYexb +n0IL5wmSq546Dobpl1PFlKe0AKjRLVAImNAn6tDLuXl7zEgWYRIBkH+0GvmvYd7A25+6oUHg +dhIRYOx/ugDSm6TueAyNMuTWEshCToFdQbR5Pf9ctVRjxEVva+LrptRbV77dthwr9xwPpn28 +Wj3x/G2XLe1vBSGa3iBZuFj/tKI53oe/Ma37bFgepZWZgMw1wCCRIpGLwEkeCKEVbCvwk9bb +3XSLT3zhXKxLM57cgtlgC5/C5BuDAEC0OdiJMIkHl7Av+00Q6JQKfoKoTV1ff6tRnZ5XbjIR +zTvwBBtGZ6NC867mfdrOKqRDb/bdW2WORXI5yNktI04icvfmy1VJ+vbbN1hHoYFH7WTiZiQU +sJ0SVYS5jn22tYooLdg8aLX15vMUwiBAupUpvJqwh4hsYRC4u7qSQr5E1gZT10NZo8IPczDn +l0k0EiPRQJvltMfet3RGfM43ofGz9RWZvQ7UOHcP88kA8zAjwP0gRzspHUYbOxg/BMJOaFFb +ES7D+G01C5ILrtT72TMnk2hmLoS2ta5zxWH8YAl8oBu1fkCqlObX39xXgcYXZQpIX10bv0AI +xC6XoePChJvueMJwDMjxTS/8tgDtRgq+Zm1VdQQQqdfPAKnftJEqnwLHPYcIigAAAAAAAAAA +AAA= diff --git a/t/data/smime/mails/9-signed-encrypted-binary.eml b/t/data/smime/mails/9-signed-encrypted-binary.eml index eab9d5b6558..6d7e143185e 100644 --- a/t/data/smime/mails/9-signed-encrypted-binary.eml +++ b/t/data/smime/mails/9-signed-encrypted-binary.eml @@ -1,113 +1,133 @@ -X-Mozilla-Status: 0801 -X-Mozilla-Status2: 00000000 -X-Mozilla-Keys: -FCC: imap://sender@localhost/Sent -X-Identity-Key: id1 -X-Account-Key: account1 -Message-ID: <4B709ECC.4020500@example.com> -Date: Tue, 09 Feb 2010 02:31:24 +0300 -From: tester -X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 -User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 -MIME-Version: 1.0 -To: root@example.com -Subject: Test Email ID:9 -Content-Type: application/pkcs7-mime; name="smime.p7m" -Content-Transfer-Encoding: base64 -Content-Disposition: attachment; filename="smime.p7m" -Content-Description: S/MIME Encrypted Message - -MIAGCSqGSIb3DQEHA6CAMIACAQAxggHIMIHhAgEAMIGKMH0xCzAJBgNVBAYTAkFVMRMwEQYD -VQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxETAP -BgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBleGFtcGxlLmNvbQIJ -AIpqzVG+lKAVMA0GCSqGSIb3DQEBAQUABEAS1T2vHU5laVZc98o4TkRhMbMRNq/ScHm0yBUG -3ibvOwes56fhE65qZvzpKlpv5dtl/7ZXn99GHxmybCyUN1tcMIHhAgEAMIGKMH0xCzAJBgNV -BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRz -IFB0eSBMdGQxETAPBgNVBAMTCENBIE93bmVyMSMwIQYJKoZIhvcNAQkBFhRjYS5vd25lckBl -eGFtcGxlLmNvbQIJAIpqzVG+lKAWMA0GCSqGSIb3DQEBAQUABEBrG0OYfAeKnXGrznADm/YK -zVh4n//J85fRJhKOEgCjBmo6nUrB5oklBe9nn7/6B5/75+sR7O9yVAlSAx4arlzeMIAGCSqG -SIb3DQEHATAaBggqhkiG9w0DAjAOAgIAoAQI1Sy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wSwC614H0euyDxckhQe3DY/OAGxhFz/uHKy3bbydY3I6WuX -ix+CbovWufHrlXJv29qMT0as5BpXHQnXcEi87FCcFoYCv34J3TPrUQRkW/UKR/OQB9ghWyn2 -3nN61B+lpOygnTqCvoBYs0ZF3GEFP/fpqNYRJZn7ThnIOOwTcbp2kawWMmcZ1jLxvpT1KnM+ -I01c8v+Nsu6G3h/HhI5aOc1qhZgzNbo3BMPScpf0rMvwdAxoXd9E/Z4JX58v33m64fImSg4r -+oByCxR1NjPFZdc9NeC29hTLsEd6pzC/ojsQQqpjw0ezKDuCBxgiPep9NdXoqrS2AsJQqeDI -nim5yf4EDteUlS8NruqHhSCHfgi9Ofn5R84dWn1rGTZCZdxLKWa+BlSA0AHiJSHv04Ozj8H0 -GrZvM7GEXATNYN/cMr9Hi0BQTZVDzjXnCjpRqjvuY6K1TbrxwbAjMfGJyKSJCZQOhgGZySbh -iB9WbqH2O7cEmUQTgzFnSY5TEVuJZGxyX9TSHUOLCt+KgxATKudGtjWX80G0+058BrqRHpu4 -AGqJ+nBifnxMihVcm8fZ6XbC8r/KWgbFt7laXBJLal0i847kYnFYwGGOdhsImfiCrbdaQ99c -BLqjGxMyqHF9p+WJjVq2GleBLTZNADdAbi8ILc+1aNAWrCvgYC2CXEJIyw5xFzLByklP1IY5 -VJl16vAQxKLzOzQET0xzS5Jic/d6ponxjcBiXLsTxNnS/DHXkPpDWzz+2Fy9p7sz7NScH9+3 -qwQIeNe1tczOd/sAAAAAAAAAAAAA +X-Mozilla-Status: 0800 +X-Mozilla-Status2: 00000000 +Message-ID: <76006a2b-33a3-40b1-90c6-78ff3650080d@example.com> +Date: Tue, 29 Aug 2023 19:55:20 +0800 +MIME-Version: 1.0 +User-Agent: Mozilla Thunderbird +Content-Language: en-US +To: root@example.com +From: sender +Subject: Test Email ID:9 +X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; + attachmentreminder=0; deliveryformat=1 +X-Identity-Key: id1 +Fcc: imap://sender%40example.com@.example.com/Sent +Content-Type: application/pkcs7-mime; name="smime.p7m"; smime-type=enveloped-data +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="smime.p7m" +Content-Description: S/MIME Encrypted Message + +MIAGCSqGSIb3DQEHA6CAMIACAQAxggVOMIICowIBADCBijB9MQswCQYDVQQGEwJBVTETMBEG +A1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMREw +DwYDVQQDDAhDQSBPd25lcjEjMCEGCSqGSIb3DQEJARYUY2Eub3duZXJAZXhhbXBsZS5jb20C +CQCKas1RvpSgFTANBgkqhkiG9w0BAQEFAASCAgAd/z3poPDyrgMIKQOWijLL7NsxPmEd4jzv +Sc/HGN9bLMtZs10me10NXFN34GRBfZmfSEa0fFHMW+c6bJCdMuTDwMFlIHXAysHUR+Cx1c5N +Ty0zJwH9QLzS+MGqo9gT7Cc3hcjdb9nPUXON/Wqg4vtcBSHhjmU7eeo+msrWfW0YwTJyDERS +FMOr+yybABOP4EDNBLsD9zdDj7sfF54CLCW20fcq2nnjTdMv3Yl+VB3lmR3BNrhS8UcWJOIB +vkEotZ4cMlZgrhoiGtHeL/AWdZTSUDvkbyuYcxHSPbLzeRui9Oi4NJv7n3/PhDB91HTo6Y5N +Wijy+2d5pXRMrcL+vXc3jBPAjDxwpWHOViQgQY+xER/2x+c2Rq35XK5XSV4EIozKaZn2E9qu +1wWMMYR5mHn07o905VKlcIC8/7gLgS33pSSkew2p+tU5/vWqubywuLq9CAPUYYDn1hVUx5ga +7WxqbdBKHkLS3l8tc+OioYZGr3XRBRSjrjQ/xodjXEPVhCC2eEuHw4LIyKVvxPCeioD6Vc8q +/RMhk/PmG4tnTvZLBNWZu2f3QjqlD5x7iIsVZtiQg0q2NJ8ErJU9tbnGZqLB6AYi93XTcC46 +alqGhwIHx08iej9NMjhua+QEsFZZNE03pxCtyIlwywAA3+UPtC8HoKZf74ZrY1dBYglX/HX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F7oJcD3sm6tVUtxsFrT6CZEUiVW1GjWINCfuXRcwLalnkvj4UzWssXtEFUvHu0YDd +GmexBOOKd5tGgEK5TvWMUNk/oq1xZfBg5YMJW+Gp7pCXEX4oEtXhAOvaTjMinIOrPtv9iewP +TW4BiC7UHp39AIFXjsmpv2X+uviNZKUN4P4X5lZ1+PUaF7yhVAtD14CtJbWBqa102DspSUh4 +rBZ8DzSmEDFfRpCNwd8P/2ykqkaM2LauTvfKpH1mh2OIpm252mckSkOz32omru+J6V9Qt3V0 +1jrERK1yNjNkFolzmBAJDN7pyh6BFnZoskcRbf8gbU2Ff/aI04NUTdHrw6i0T8IcK81VE8lM +QMRZvDWzep4k/sxbgy9dph5TlT1IqrFIWwSo+9cNiHk3X1s9WAXnKCFFCHX0GHSrZlZK5rrv +uZtcx/sAsHww1WkVYAwFIQTWde7ttD2a6LVdWeg+1NuBMb61pVrUHx6h1tbE6COza9diqlIR +ibxcw6iSdRAG6424ymT22GWISjhZIswViWbGb+NVeVuJZ2eU53ksuMVZ3srDijgJbKyZqNCH +lJuEUMCJdvfeAENSJMcv7rQy1iR0Kd0NFY7HOFqj8MIrOX9dhViXyX4nauCPb6rZKfR7I1Vt +v7wHpVZXyM3hbBZ3r6kHowNs/Nv9iGS02WOTt1Fw+HcOgSnnIixFEBVautpBp7pbNBFctOLE +R+qaFPnHkxD4MslykCl9GNJZjnmAqc7RVXpIleD86oRXvt+k6e/4fbGyfvjA1ypChABLNxbg +a1iEPHDwoq1aDlDJRG4D5uFK7kz7py7Ckd24z1Izvhy38A4JJqRypwQQ2m8XG6wa54nkE44y +YcWmNQAAAAAAAAAAAAA= diff --git a/t/web/smime/outgoing.t b/t/web/smime/outgoing.t index 227a9230253..84b03cd12d2 100644 --- a/t/web/smime/outgoing.t +++ b/t/web/smime/outgoing.t @@ -222,7 +222,7 @@ foreach my $mail ( map cleanup_headers($_), @{ $mail{'signed_encrypted'} } ) { 'Signature status correctly displayed' ); $m->content_like( - qr{}m, + qr{}m, 'Tooltip correctly displayed' );