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

Side by Side Diff: net/data/verify_certificate_chain_unittest/target-signed-by-512bit-rsa.pem

Issue 2349103002: Include the RSA key modulus size in error message when it is too small. (Closed)
Patch Set: address mattm's comment Created 4 years, 3 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/generate-target-signed-by-512bit-rsa.py ('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-by-512bit-rsa.py] 1 [Created by: generate-target-signed-by-512bit-rsa.py]
2 2
3 Certificate chain with 1 intermediate and a trusted root. The target 3 Certificate chain with 1 intermediate and a trusted root. The target
4 certificate is signed using a weak RSA key (512-bit modulus), and so 4 certificate is signed using a weak RSA key (512-bit modulus), and so
5 verification is expected to fail. 5 verification is expected to fail.
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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 -----END TIME----- 245 -----END TIME-----
246 246
247 FAIL 247 FAIL
248 -----BEGIN VERIFY_RESULT----- 248 -----BEGIN VERIFY_RESULT-----
249 RkFJTA== 249 RkFJTA==
250 -----END VERIFY_RESULT----- 250 -----END VERIFY_RESULT-----
251 251
252 [Context] Processing Certificate 252 [Context] Processing Certificate
253 index: 1 253 index: 1
254 [Error] RSA modulus too small 254 [Error] RSA modulus too small
255 actual: 512
256 minimum: 1024
255 [Error] Unacceptable modulus length for RSA key 257 [Error] Unacceptable modulus length for RSA key
256 [Error] VerifySignedData failed 258 [Error] VerifySignedData failed
257 259
258 -----BEGIN ERRORS----- 260 -----BEGIN ERRORS-----
259 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMQogICAgICBbRXJyb3JdIFJT QSBtb2R1bHVzIHRvbyBzbWFsbAogICAgICBbRXJyb3JdIFVuYWNjZXB0YWJsZSBtb2R1bHVzIGxlbmd0 aCBmb3IgUlNBIGtleQogICAgICBbRXJyb3JdIFZlcmlmeVNpZ25lZERhdGEgZmFpbGVkCg== 261 W0NvbnRleHRdIFByb2Nlc3NpbmcgQ2VydGlmaWNhdGUKICBpbmRleDogMQogICAgICBbRXJyb3JdIFJT QSBtb2R1bHVzIHRvbyBzbWFsbAogICAgICAgIGFjdHVhbDogNTEyCiAgICAgICAgbWluaW11bTogMTAy NAogICAgICBbRXJyb3JdIFVuYWNjZXB0YWJsZSBtb2R1bHVzIGxlbmd0aCBmb3IgUlNBIGtleQogICAg ICBbRXJyb3JdIFZlcmlmeVNpZ25lZERhdGEgZmFpbGVkCg==
260 -----END ERRORS----- 262 -----END ERRORS-----
OLDNEW
« no previous file with comments | « net/data/verify_certificate_chain_unittest/generate-target-signed-by-512bit-rsa.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698