summaryrefslogtreecommitdiff
path: root/chromium/net/data
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-13 16:23:34 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-02-14 10:37:21 +0000
commit38a9a29f4f9436cace7f0e7abf9c586057df8a4e (patch)
treec4e8c458dc595bc0ddb435708fa2229edfd00bd4 /chromium/net/data
parente684a3455bcc29a6e3e66a004e352dea4e1141e7 (diff)
downloadqtwebengine-chromium-38a9a29f4f9436cace7f0e7abf9c586057df8a4e.tar.gz
BASELINE: Update Chromium to 73.0.3683.37
Change-Id: I08c9af2948b645f671e5d933aca1f7a90ea372f2 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/net/data')
-rw-r--r--chromium/net/data/fuzzer_dictionaries/net_host_resolver_impl_fuzzer.dict37
-rw-r--r--chromium/net/data/ssl/certificates/ok_cert_by_intermediate.pem77
-rwxr-xr-xchromium/net/data/ssl/scripts/generate-test-certs.sh1
3 files changed, 109 insertions, 6 deletions
diff --git a/chromium/net/data/fuzzer_dictionaries/net_host_resolver_impl_fuzzer.dict b/chromium/net/data/fuzzer_dictionaries/net_host_resolver_impl_fuzzer.dict
index 3e7f1d89b48..bf22d530590 100644
--- a/chromium/net/data/fuzzer_dictionaries/net_host_resolver_impl_fuzzer.dict
+++ b/chromium/net/data/fuzzer_dictionaries/net_host_resolver_impl_fuzzer.dict
@@ -25,6 +25,8 @@
"\x03foo\x03com\x00"
"\x01a\x03foo\x03com\x00"
"\x03bar\x00"
+"\x03foo\x05local\x00"
+"\x03bar\x05local\x00"
# Message headers (Without message ID field).
"\x81\x80\x00\x01\x00\x01\x00\x00\x00\x00"
@@ -35,18 +37,29 @@
"\x81\x80\x00\x01\x00\x02\x00\x00\x00\x00"
"\x81\x80\x00\x01\x00\x10\x00\x00\x00\x00"
-# A, AAAA, and CNAME request suffixes - appear after domain name.
-"\x00\x01\x00\x01"
-"\x00\x1c\x00\x01"
-"\x00\x05\x00\x01"
+# MDNS headers (ID=0, no questions)
+"\x00\x00\x81\x80\x00\x00\x00\x01\x00\x00\x00\x00"
+"\x00\x00\x81\x80\x00\x00\x00\x02\x00\x00\x00\x00"
+"\x00\x00\x81\x80\x00\x00\x00\x10\x00\x00\x00\x00"
-# A, AAAA, and CNAME requests for foo and foo.com.
+# Type suffixes - appear after domain name.
+"\x00\x01\x00\x01" # A
+"\x00\x1c\x00\x01" # AAAA
+"\x00\x05\x00\x01" # CNAME
+"\x00\x10\x00\x01" # TXT
+"\x00\x2f\x00\x01" # NSEC
+"\x00\x0c\x00\x01" # PTR
+"\x00\x21\x00\x01" # SRV
+
+# Various-type requests for foo and foo.com.
"\x03foo\x00\x00\x01\x00\x01"
"\x03foo\x00\x00\x1c\x00\x01"
"\x03foo\x00\x00\x05\x00\x01"
+"\x03foo\x00\x00\x10\x00\x01"
"\x03foo\x03com\x00\x00\x01\x00\x01"
"\x03foo\x03com\x00\x00\x1c\x00\x01"
"\x03foo\x03com\x00\x00\x05\x00\x01"
+"\x03foo\x03com\x00\x00\x10\x00\x01"
# All of the answers below are missing the name field, which should appear
# first.
@@ -59,13 +72,25 @@
"\x00\x1C\x00\x01\x00\x00\x00\x00\x00\x08\x01\x02\x03\x04\x05\x06\x07\x08"
"\x00\x1C\x00\x01\x00\x00\x00\xFF\x00\x08\x02\x03\x04\x05\x06\x07\x08\x09"
-# CDATA answer suffixes, first two truncated as well.
+# CNAME answer suffixes, first two truncated as well.
"\x00\x05\x00\x01\x00\x00\x00\xFF"
"\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05"
"\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05\x03foo\x00"
"\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x05\x03bar\x00"
"\x00\x05\x00\x01\x00\x00\x00\xFF\x00\x09\x03foo\x03com\x00"
+# TXT answer suffixes
+"\x00\x10\x00\x01\x00\x00\x00\x00\x00\x04\x03foo"
+"\x00\x10\x00\x01\x00\x00\x00\xFF\x00\x04\x03bar"
+
+# NSEC answer suffix
+"\x00\x2f\x00\x01\x00\x00\x00\x00\x00\x06\xc0\x0c\x00\x02\x00\x08"
+
+# DNS strings
+"\x03foo"
+"\x04text"
+"\x19arbitrarily longer string"
+
# This part has been generated with testing/libfuzzer/dictionary_generator.py
# using net_host_resolver_impl_fuzzer binary, RFC 1034 and RFC 1035.
diff --git a/chromium/net/data/ssl/certificates/ok_cert_by_intermediate.pem b/chromium/net/data/ssl/certificates/ok_cert_by_intermediate.pem
index 5c92ba6fec7..5cd3cc1237e 100644
--- a/chromium/net/data/ssl/certificates/ok_cert_by_intermediate.pem
+++ b/chromium/net/data/ssl/certificates/ok_cert_by_intermediate.pem
@@ -110,3 +110,80 @@ AMVbXe82xgrpBqMlPk0T+vA/vP6caEj/7BvnLDmsiCugiJYRPvAg4in8vdPTyiRj
WBcVw6wZIcshKfxT5zvPwgpe9M7xnnc41MaQTpT+LpfLGpQqHow72zZlxhm61wsD
IuWS4vY+35nOa0k=
-----END CERTIFICATE-----
+Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number: 1 (0x1)
+ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: C=US, ST=California, L=Mountain View, O=Test CA, CN=Test Root CA
+ Validity
+ Not Before: Jun 5 17:10:45 2017 GMT
+ Not After : Jun 3 17:10:45 2027 GMT
+ Subject: C=US, ST=California, L=Mountain View, O=Test CA, CN=Test Intermediate CA
+ Subject Public Key Info:
+ Public Key Algorithm: rsaEncryption
+ Public-Key: (2048 bit)
+ Modulus:
+ 00:9d:e9:bd:e4:3d:4a:2f:fb:c2:f9:e6:22:2a:42:
+ 15:46:1c:8c:8f:47:4c:e9:c5:57:95:1f:66:70:93:
+ 22:f0:94:c3:bb:b5:5b:ef:a4:6f:c8:c7:89:95:75:
+ ba:0c:36:bf:4e:6b:a9:35:47:08:43:9e:29:6a:e2:
+ c3:fb:03:b7:1f:b6:e1:51:6b:ed:7b:19:c7:f9:ce:
+ 3b:dc:65:e9:66:c7:83:94:c4:d1:4e:ee:ed:64:4b:
+ 81:f1:1a:ea:5a:64:18:1b:6a:4e:93:d0:13:6c:90:
+ 60:ca:d2:4e:b7:24:16:f8:b2:08:58:9d:8d:a7:33:
+ 45:15:34:81:ad:2d:2d:9c:60:ef:f9:2b:98:fe:79:
+ d3:8d:2c:48:db:12:91:f4:2e:fa:bf:f5:26:c1:82:
+ 05:80:dd:4c:a8:70:bf:a7:bc:10:34:77:39:db:47:
+ 04:0f:ed:44:b2:65:46:22:20:88:59:28:0f:c7:0c:
+ a2:b4:91:a5:a2:aa:ca:05:9f:8a:9b:6e:a3:cb:d4:
+ a4:e8:24:75:9d:20:81:22:5b:5f:77:3e:c9:f1:1e:
+ ae:eb:8a:33:8c:27:5b:1e:be:6d:21:1b:42:72:95:
+ e3:9e:13:03:75:a7:58:d4:be:68:12:fe:63:8e:4b:
+ 11:7a:34:e7:a3:6b:dd:73:ae:3e:19:9a:ec:91:8b:
+ 73:af
+ Exponent: 65537 (0x10001)
+ X509v3 extensions:
+ X509v3 Basic Constraints: critical
+ CA:TRUE
+ X509v3 Subject Key Identifier:
+ 17:5C:45:F3:D0:AC:1C:10:4C:8B:43:44:20:C4:DD:93:C5:C5:19:3B
+ X509v3 Key Usage: critical
+ Certificate Sign, CRL Sign
+ Signature Algorithm: sha256WithRSAEncryption
+ 3e:f5:d7:fd:82:3b:1e:34:8c:66:a2:f3:5e:18:e1:f1:a9:75:
+ 9f:b5:93:e7:0a:8e:cf:0a:33:ed:49:cd:ce:ce:ca:5f:a3:1d:
+ 64:76:d3:84:16:fe:9d:88:ac:f4:d1:f8:36:2b:20:80:52:0a:
+ ef:e0:0f:64:27:55:35:a3:7b:c6:8a:7c:a5:c4:29:17:b1:fa:
+ d2:89:5d:13:6b:b8:03:cb:d7:12:d6:ce:24:f0:af:48:17:03:
+ 54:99:af:e9:cb:fd:44:44:18:23:61:90:f6:bd:55:65:06:c3:
+ 36:98:8d:ea:7d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p7wQNHc520cED+1EsmVGIiCI
+WSgPxwyitJGloqrKBZ+Km26jy9Sk6CR1nSCBIltfdz7J8R6u64ozjCdbHr5tIRtC
+cpXjnhMDdadY1L5oEv5jjksRejTno2vdc64+GZrskYtzrwIDAQABo0IwQDAPBgNV
+HRMBAf8EBTADAQH/MB0GA1UdDgQWBBQXXEXz0KwcEEyLQ0QgxN2TxcUZOzAOBgNV
+HQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQELBQADggEBAD711/2COx40jGai814Y4fGp
+dZ+1k+cKjs8KM+1Jzc7Oyl+jHWR204QW/p2IrPTR+DYrIIBSCu/gD2QnVTWje8aK
+fKXEKRex+tKJXRNruAPL1xLWziTwr0gXA1SZr+nL/UREGCNhkPa9VWUGwzaYjep9
+D3nvtrsiKAOm7NnUG0esLCXe7xoCaUwYuylI9J3hUkJkbIhGaIaD/ST1fQXXGn4i
+vEl1nIpN6POi65uDcKfW3S8FLaq+1+57jnVEO9rfhWG/6TsTQE6LUgjZ5IxU2kHb
+eywFXpkGDQKMjhmOVbA6MxgwA6ftSuT4WMwSuK/WZlUp7AEfku09TcNxO+AvcJA=
+-----END CERTIFICATE-----
diff --git a/chromium/net/data/ssl/scripts/generate-test-certs.sh b/chromium/net/data/ssl/scripts/generate-test-certs.sh
index 824fbd94171..28a6966deda 100755
--- a/chromium/net/data/ssl/scripts/generate-test-certs.sh
+++ b/chromium/net/data/ssl/scripts/generate-test-certs.sh
@@ -180,6 +180,7 @@ CA_NAME="req_ca_dn" \
/bin/sh -c "cat out/ok_cert.key out/bad_validity.pem \
> ../certificates/bad_validity.pem"
/bin/sh -c "cat out/ok_cert.key out/int/ok_cert.pem \
+ out/int/2048-sha256-int.pem \
> ../certificates/ok_cert_by_intermediate.pem"
/bin/sh -c "cat out/int/2048-sha256-int.key out/int/2048-sha256-int.pem \
> ../certificates/intermediate_ca_cert.pem"