Skip to content

Commit 9971205

Browse files
authored
Merge pull request #82 from essentialkaos/develop
Update tests for compatibility with endpoint changes
2 parents ca1013f + 568a106 commit 9971205

File tree

2 files changed

+23
-35
lines changed

2 files changed

+23
-35
lines changed

responses/v3-2.1.8-2009q.json

Lines changed: 21 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"hasWarnings": false,
88
"isExceptional": true,
99
"progress": 100,
10-
"duration": 73253,
10+
"duration": 70787,
1111
"delegation": 1,
1212
"details": {
13-
"hostStartTime": 1603275924651,
13+
"hostStartTime": 1639660027282,
1414
"certChains": [
1515
{
1616
"id": "18f1361483cdff25f6ab36116303201f5d74a35284721fee3ec7d5a1db731726",
@@ -89,79 +89,68 @@
8989
"noSni": false
9090
},
9191
{
92-
"id": "fb4e464f9d269fd434a2f0e90fee5debd1857ed7ace1f038f19d006ad17d7f99",
92+
"id": "cc57d0827c8aadbf6a519280f940f0ef777b0530124a949d7bbb758bf2046fb9",
9393
"certIds": [
94-
"d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b",
95-
"c790b47128447ec0b60f22bfcb795d71c326dd910ee12cbb4cc5a86191eb91bc"
94+
"a572ecc422a6e625e5d436018318059478facc2e2c8f524faee7e4534ff59a7d"
9695
],
9796
"trustPaths": [
9897
{
9998
"certIds": [
100-
"d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b",
101-
"c790b47128447ec0b60f22bfcb795d71c326dd910ee12cbb4cc5a86191eb91bc",
102-
"4348a0e9444c78cb265e058d5e8944b4d84f9662bd26db257f8934a443c70161"
99+
"a572ecc422a6e625e5d436018318059478facc2e2c8f524faee7e4534ff59a7d"
103100
],
104101
"trust": [
105102
{
106103
"rootStore": "Mozilla",
107104
"isTrusted": false,
108-
"trustErrorMessage": "invalid certificate [Fingerprint SHA256: d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b]"
105+
"trustErrorMessage": "path does not chain to a trusted anchor"
109106
}
110107
]
111108
},
112109
{
113110
"certIds": [
114-
"d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b",
115-
"c790b47128447ec0b60f22bfcb795d71c326dd910ee12cbb4cc5a86191eb91bc",
116-
"4348a0e9444c78cb265e058d5e8944b4d84f9662bd26db257f8934a443c70161"
111+
"a572ecc422a6e625e5d436018318059478facc2e2c8f524faee7e4534ff59a7d"
117112
],
118113
"trust": [
119114
{
120115
"rootStore": "Apple",
121116
"isTrusted": false,
122-
"trustErrorMessage": "invalid certificate [Fingerprint SHA256: d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b]"
117+
"trustErrorMessage": "path does not chain to a trusted anchor"
123118
}
124119
]
125120
},
126121
{
127122
"certIds": [
128-
"d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b",
129-
"c790b47128447ec0b60f22bfcb795d71c326dd910ee12cbb4cc5a86191eb91bc",
130-
"4348a0e9444c78cb265e058d5e8944b4d84f9662bd26db257f8934a443c70161"
123+
"a572ecc422a6e625e5d436018318059478facc2e2c8f524faee7e4534ff59a7d"
131124
],
132125
"trust": [
133126
{
134127
"rootStore": "Android",
135128
"isTrusted": false,
136-
"trustErrorMessage": "invalid certificate [Fingerprint SHA256: d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b]"
129+
"trustErrorMessage": "path does not chain to a trusted anchor"
137130
}
138131
]
139132
},
140133
{
141134
"certIds": [
142-
"d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b",
143-
"c790b47128447ec0b60f22bfcb795d71c326dd910ee12cbb4cc5a86191eb91bc",
144-
"4348a0e9444c78cb265e058d5e8944b4d84f9662bd26db257f8934a443c70161"
135+
"a572ecc422a6e625e5d436018318059478facc2e2c8f524faee7e4534ff59a7d"
145136
],
146137
"trust": [
147138
{
148139
"rootStore": "Java",
149140
"isTrusted": false,
150-
"trustErrorMessage": "invalid certificate [Fingerprint SHA256: d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b]"
141+
"trustErrorMessage": "path does not chain to a trusted anchor"
151142
}
152143
]
153144
},
154145
{
155146
"certIds": [
156-
"d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b",
157-
"c790b47128447ec0b60f22bfcb795d71c326dd910ee12cbb4cc5a86191eb91bc",
158-
"4348a0e9444c78cb265e058d5e8944b4d84f9662bd26db257f8934a443c70161"
147+
"a572ecc422a6e625e5d436018318059478facc2e2c8f524faee7e4534ff59a7d"
159148
],
160149
"trust": [
161150
{
162151
"rootStore": "Windows",
163152
"isTrusted": false,
164-
"trustErrorMessage": "invalid certificate [Fingerprint SHA256: d6b1c60d9c704a313465b10811652bf5e4c8b70abf5ff15125f71c6fff0b9d1b]"
153+
"trustErrorMessage": "path does not chain to a trusted anchor"
165154
}
166155
]
167156
}
@@ -286,8 +275,7 @@
286275
"renegSupport": 2,
287276
"sessionResumption": 2,
288277
"compressionMethods": 0,
289-
"supportsNpn": true,
290-
"npnProtocols": "h2 http/1.1",
278+
"supportsNpn": false,
291279
"supportsAlpn": true,
292280
"alpnProtocols": "h2 http/1.1",
293281
"sessionTickets": 1,
@@ -1509,25 +1497,25 @@
15091497
"source": "Chrome",
15101498
"hostname": "essentialkaos.com",
15111499
"status": "absent",
1512-
"sourceTime": 1603274761752
1500+
"sourceTime": 1639656844027
15131501
},
15141502
{
15151503
"source": "Edge",
15161504
"hostname": "essentialkaos.com",
15171505
"status": "absent",
1518-
"sourceTime": 1603274763664
1506+
"sourceTime": 1639656724647
15191507
},
15201508
{
15211509
"source": "Firefox",
15221510
"hostname": "essentialkaos.com",
15231511
"status": "absent",
1524-
"sourceTime": 1603274763664
1512+
"sourceTime": 1639656724647
15251513
},
15261514
{
15271515
"source": "IE",
15281516
"hostname": "essentialkaos.com",
15291517
"status": "absent",
1530-
"sourceTime": 1603274763664
1518+
"sourceTime": 1639656724647
15311519
}
15321520
],
15331521
"hpkpPolicy": {
@@ -1562,7 +1550,7 @@
15621550
],
15631551
"responseLine": "HTTP/1.1 200 OK",
15641552
"responseHeadersRaw": [
1565-
"Date: Wed, 21 Oct 2020 10:25:37 GMT",
1553+
"Date: Thu, 16 Dec 2021 13:07:19 GMT",
15661554
"Content-Type: text/html",
15671555
"Content-Length: 2896",
15681556
"Last-Modified: Sun, 31 May 2020 11:52:15 GMT",
@@ -1583,7 +1571,7 @@
15831571
"responseHeaders": [
15841572
{
15851573
"name": "Date",
1586-
"value": "Wed, 21 Oct 2020 10:25:37 GMT"
1574+
"value": "Thu, 16 Dec 2021 13:07:19 GMT"
15871575
},
15881576
{
15891577
"name": "Content-Type",

sslscan_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ func (s *SSLLabsSuite) TestAnalyze(c *check.C) {
221221
c.Assert(details.RenegSupport, check.Equals, 2)
222222
c.Assert(details.SessionResumption, check.Equals, 2)
223223
c.Assert(details.CompressionMethods, check.Equals, 0)
224-
c.Assert(details.SupportsNPN, check.Equals, true)
225-
c.Assert(details.NPNProtocols, check.Equals, "h2 http/1.1")
224+
c.Assert(details.SupportsNPN, check.Equals, false)
225+
c.Assert(details.NPNProtocols, check.Equals, "")
226226
c.Assert(details.SupportsALPN, check.Equals, true)
227227
c.Assert(details.ALPNProtocols, check.Equals, "h2 http/1.1")
228228
c.Assert(details.SessionTickets, check.Equals, 1)

0 commit comments

Comments
 (0)