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

Side by Side Diff: net/data/verify_certificate_chain_unittest/intermediate-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
OLDNEW
1 [Created by: generate-intermediate-signed-with-md5.py] 1 [Created by: generate-intermediate-signed-with-md5.py]
2 2
3 Certificate chain with 1 intermediate and a trusted root. The intermediate 3 Certificate chain with 1 intermediate and a trusted root. The intermediate
4 however is signed using the MD5 hash. Verification is expected to fail because 4 however is signed using the MD5 hash. Verification is expected to fail because
5 MD5 is too weak. 5 MD5 is too weak.
6 6
7 Certificate: 7 Certificate:
8 Data: 8 Data:
9 Version: 3 (0x2) 9 Version: 3 (0x2)
10 Serial Number: 1 (0x1) 10 Serial Number: 1 (0x1)
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 MTUwMzAyMTIwMDAwWg== 277 MTUwMzAyMTIwMDAwWg==
278 -----END TIME----- 278 -----END TIME-----
279 279
280 FAIL 280 FAIL
281 -----BEGIN VERIFY_RESULT----- 281 -----BEGIN VERIFY_RESULT-----
282 RkFJTA== 282 RkFJTA==
283 -----END VERIFY_RESULT----- 283 -----END VERIFY_RESULT-----
284 284
285 [Context] Processing Certificate 285 [Context] Processing Certificate
286 index: 0 286 index: 0
287 [Error] Invalid or unsupported signature algorithm 287 [Error] Unacceptable signature algorithm
288 algorithm: 300D06092A864886F70D0101040500 288 [Error] VerifySignedData failed
289 289
290 -----BEGIN ERRORS----- 290 -----BEGIN ERRORS-----
291 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMAogICAgICBbRXJyb3JdIElu dmFsaWQgb3IgdW5zdXBwb3J0ZWQgc2lnbmF0dXJlIGFsZ29yaXRobQogICAgICAgIGFsZ29yaXRobTog MzAwRDA2MDkyQTg2NDg4NkY3MEQwMTAxMDQwNTAwCg== 291 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMAogICAgICBbRXJyb3JdIFVu YWNjZXB0YWJsZSBzaWduYXR1cmUgYWxnb3JpdGhtCiAgICAgIFtFcnJvcl0gVmVyaWZ5U2lnbmVkRGF0 YSBmYWlsZWQK
292 -----END ERRORS----- 292 -----END ERRORS-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698