Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: net/data/verify_certificate_chain_unittest/target-signed-with-md5.pem

Issue 2728953003: Add support for MD2, MD4, and MD5 to SignatureAlgorithm. (Closed)
Patch Set: wow. dumb Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/data/verify_certificate_chain_unittest/intermediate-signed-with-md5.pem ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [Created by: generate-target-signed-with-md5.py] 1 [Created by: generate-target-signed-with-md5.py]
2 2
3 Certificate chain with an intermediate that uses MD5 to sign the target 3 Certificate chain with an intermediate that uses MD5 to sign the target
4 certificate. This is expected to fail because MD5 is too weak. 4 certificate. This is expected to fail because MD5 is too weak.
5 5
6 Certificate: 6 Certificate:
7 Data: 7 Data:
8 Version: 3 (0x2) 8 Version: 3 (0x2)
9 Serial Number: 1 (0x1) 9 Serial Number: 1 (0x1)
10 Signature Algorithm: md5WithRSAEncryption 10 Signature Algorithm: md5WithRSAEncryption
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 MTUwMzAyMTIwMDAwWg== 276 MTUwMzAyMTIwMDAwWg==
277 -----END TIME----- 277 -----END TIME-----
278 278
279 FAIL 279 FAIL
280 -----BEGIN VERIFY_RESULT----- 280 -----BEGIN VERIFY_RESULT-----
281 RkFJTA== 281 RkFJTA==
282 -----END VERIFY_RESULT----- 282 -----END VERIFY_RESULT-----
283 283
284 [Context] Processing Certificate 284 [Context] Processing Certificate
285 index: 1 285 index: 1
286 [Error] Invalid or unsupported signature algorithm 286 [Error] Unacceptable signature algorithm
287 algorithm: 300D06092A864886F70D0101040500 287 [Error] VerifySignedData failed
288 288
289 -----BEGIN ERRORS----- 289 -----BEGIN ERRORS-----
290 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMQogICAgICBbRXJyb3JdIElu dmFsaWQgb3IgdW5zdXBwb3J0ZWQgc2lnbmF0dXJlIGFsZ29yaXRobQogICAgICAgIGFsZ29yaXRobTog MzAwRDA2MDkyQTg2NDg4NkY3MEQwMTAxMDQwNTAwCg== 290 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMQogICAgICBbRXJyb3JdIFVu YWNjZXB0YWJsZSBzaWduYXR1cmUgYWxnb3JpdGhtCiAgICAgIFtFcnJvcl0gVmVyaWZ5U2lnbmVkRGF0 YSBmYWlsZWQK
291 -----END ERRORS----- 291 -----END ERRORS-----
OLDNEW
« no previous file with comments | « net/data/verify_certificate_chain_unittest/intermediate-signed-with-md5.pem ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698