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

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

Issue 2759023002: Improvements to the net/cert/internal error handling. (Closed)
Patch Set: fix comment 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-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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 150302120000Z 274 150302120000Z
275 -----BEGIN TIME----- 275 -----BEGIN TIME-----
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 ----- Certificate i=0 (CN=Target) -----
285 index: 1 285 ERROR: Unacceptable signature algorithm
286 [Error] Unacceptable signature algorithm 286 ERROR: VerifySignedData failed
287 [Error] VerifySignedData failed 287
288 288
289 -----BEGIN ERRORS----- 289 -----BEGIN ERRORS-----
290 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMQogICAgICBbRXJyb3JdIFVu YWNjZXB0YWJsZSBzaWduYXR1cmUgYWxnb3JpdGhtCiAgICAgIFtFcnJvcl0gVmVyaWZ5U2lnbmVkRGF0 YSBmYWlsZWQK 290 LS0tLS0gQ2VydGlmaWNhdGUgaT0wIChDTj1UYXJnZXQpIC0tLS0tCkVSUk9SOiBVbmFjY2VwdGFibGUg c2lnbmF0dXJlIGFsZ29yaXRobQpFUlJPUjogVmVyaWZ5U2lnbmVkRGF0YSBmYWlsZWQKCg==
291 -----END ERRORS----- 291 -----END ERRORS-----
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698