utls/testdata/Client-TLSv13-UTLS-TLS_CHACHA20_POLY1305_SHA256-Chrome-70
Sergey Frolov b84d7d5f05 +tls13 extensions; +Chrome 70, Firefox 63 parrots
Adds support for following TLS 1.3 extensions:
 - PSKKeyExchangeModes
 - SupportedVersions
 - KeyShare
and uses them to implement newest Chrome and Firefox parrots.

Tests for default Golang uTLS were regenerated because
they previously used TLS-1.2 as max version.
2018-12-18 17:53:26 -07:00

138 lines
10 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 02 00 01 00 01 fc 03 03 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 20 00 00 00 00 |........... ....|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 22 0a 0a |............."..|
00000050 13 01 13 02 13 03 c0 2b c0 2f c0 2c c0 30 cc a9 |.......+./.,.0..|
00000060 cc a8 c0 13 c0 14 00 9c 00 9d 00 2f 00 35 00 0a |.........../.5..|
00000070 01 00 01 91 0a 0a 00 00 ff 01 00 01 00 00 00 00 |................|
00000080 05 00 03 00 00 00 00 17 00 00 00 23 00 00 00 0d |...........#....|
00000090 00 14 00 12 04 03 08 04 04 01 05 03 08 05 05 01 |................|
000000a0 08 06 06 01 02 01 00 05 00 05 01 00 00 00 00 00 |................|
000000b0 12 00 00 00 10 00 0e 00 0c 02 68 32 08 68 74 74 |..........h2.htt|
000000c0 70 2f 31 2e 31 75 50 00 00 00 0b 00 02 01 00 00 |p/1.1uP.........|
000000d0 33 00 2b 00 29 0a 0a 00 01 00 00 1d 00 20 2f e5 |3.+.)........ /.|
000000e0 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 07 30 ff |}.G.bC.(.._.).0.|
000000f0 f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 00 2d |........._X.;t.-|
00000100 00 02 01 01 00 2b 00 0b 0a 0a 0a 03 04 03 03 03 |.....+..........|
00000110 02 03 01 00 0a 00 0a 00 08 0a 0a 00 1d 00 17 00 |................|
00000120 18 00 1b 00 03 02 00 02 1a 1a 00 01 00 00 15 00 |................|
00000130 d4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000200 00 00 00 00 00 |.....|
>>> Flow 2 (server to client)
00000000 16 03 03 00 7a 02 00 00 76 03 03 53 b9 8a 38 21 |....z...v..S..8!|
00000010 10 89 64 0e 5e d7 f9 21 e0 af 7a 35 ca 10 e4 dc |..d.^..!..z5....|
00000020 a5 06 29 50 ca fb ad 3c 3e 13 86 20 00 00 00 00 |..)P...<>.. ....|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 13 01 00 00 |................|
00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 62 |..+.....3.$... b|
00000060 17 42 d5 f7 38 60 bf 7b ce c3 c1 5f 8e a4 81 9d |.B..8`.{..._....|
00000070 51 2e b1 52 04 bc 21 3d bb c0 71 9c cd 37 6f 14 |Q..R..!=..q..7o.|
00000080 03 03 00 01 01 17 03 03 00 17 9b 35 6d d1 a8 c2 |...........5m...|
00000090 af 27 bd 41 4d b0 f5 59 5a 86 4b a5 8e 75 85 26 |.'.AM..YZ.K..u.&|
000000a0 d5 17 03 03 02 6d 77 15 06 60 b6 22 9a b9 9e 7e |.....mw..`."...~|
000000b0 4e da 54 03 ff e9 d9 c5 cc f1 73 92 ac 5a e9 f7 |N.T.......s..Z..|
000000c0 db 1d e0 b0 f0 1a 1c 20 55 3d 1c a8 31 a8 93 0d |....... U=..1...|
000000d0 0e 07 8c 2a 45 dc ac a1 bb 80 76 2c 2e 93 e0 f7 |...*E.....v,....|
000000e0 4b 0e 97 55 bc b9 71 33 7c f6 cf 18 c9 8d 90 c4 |K..U..q3|.......|
000000f0 92 6e 24 59 ec 77 82 d5 c6 69 2b 43 96 2e ca 07 |.n$Y.w...i+C....|
00000100 47 86 c4 7a 09 f8 92 8d 5a 86 a4 f1 32 75 f4 6b |G..z....Z...2u.k|
00000110 59 3b 03 b0 7d 19 1c 98 80 9c 23 1f 6e 5d ce 36 |Y;..}.....#.n].6|
00000120 a5 2f ca 0a 86 6c 1d 2e 0a b8 ad 9a 2f 1a c8 03 |./...l....../...|
00000130 35 8b a5 44 6c ca 03 4d 7d 26 7b 4d c3 3a b7 94 |5..Dl..M}&{M.:..|
00000140 e3 8a 0a 01 c0 9c 25 b6 2a 82 36 a8 57 a2 f7 65 |......%.*.6.W..e|
00000150 8e 8d 6b 38 71 1f 3e e8 cd db c8 c6 97 f1 b6 4c |..k8q.>........L|
00000160 29 0b 39 f6 24 3d ac b7 af ec 1f 47 9c d0 b6 0d |).9.$=.....G....|
00000170 05 61 11 11 f1 5b 83 86 b7 e8 53 27 93 63 cb af |.a...[....S'.c..|
00000180 a1 04 09 cf 0a ef 08 7b d8 55 1b 6f a1 93 7e 69 |.......{.U.o..~i|
00000190 71 89 13 b5 c4 23 b0 a9 f1 a1 6b 25 df 5e 83 80 |q....#....k%.^..|
000001a0 5c 6a 18 e7 62 3e 73 5c cd c0 23 af 14 af b5 3e |\j..b>s\..#....>|
000001b0 f7 1c 77 73 cd e3 64 c9 83 82 49 9a 9e ef df 25 |..ws..d...I....%|
000001c0 58 4d 0f 71 f0 4b 12 f4 86 8f cf 9e c5 1b 8a e3 |XM.q.K..........|
000001d0 3a 63 6a f7 38 99 9d 79 bf 91 8e 8b c4 92 f4 27 |:cj.8..y.......'|
000001e0 24 ce 17 21 7d be 7f 65 57 12 9f cd b9 9d d1 ef |$..!}..eW.......|
000001f0 72 bd ad c3 3a 74 1a 3b d9 b3 6d 1d 27 63 14 d7 |r...:t.;..m.'c..|
00000200 78 f3 5f 0c 22 ba 07 c3 f1 0d 82 65 65 70 ff 74 |x._."......eep.t|
00000210 5e 59 a1 d5 fd 8a 7d be b6 98 69 09 8a b9 53 7b |^Y....}...i...S{|
00000220 d8 7f f8 29 ab 20 40 c6 18 71 5c b1 ba e6 6f 19 |...). @..q\...o.|
00000230 1f 33 68 5e 6f 6c 14 17 da 08 64 23 ee 63 57 e7 |.3h^ol....d#.cW.|
00000240 35 f0 71 66 4a 1b 72 b7 af b1 54 a2 55 2e 7f 23 |5.qfJ.r...T.U..#|
00000250 fc 43 4c 5f a6 8a e5 76 02 ed 02 e7 2f bf 40 a1 |.CL_...v..../.@.|
00000260 01 43 f5 74 cf 03 b5 3c e2 92 97 1a ca 9f 47 ab |.C.t...<......G.|
00000270 66 02 f6 10 78 c8 dd b2 81 2a 51 4f 52 74 1e f8 |f...x....*QORt..|
00000280 17 2f cf 93 b9 1b b3 f4 c4 fd 39 bf e4 0b e0 51 |./........9....Q|
00000290 75 36 18 b9 c9 d4 f6 2b 4e 86 b2 4f bf a6 a4 1b |u6.....+N..O....|
000002a0 8c d1 89 c5 5f 2c 22 e6 80 e4 76 c4 19 77 a1 36 |...._,"...v..w.6|
000002b0 09 23 8f 41 f9 08 45 f6 e8 73 01 41 47 84 6b 8c |.#.A..E..s.AG.k.|
000002c0 2e 16 12 4e 3e 8e 95 14 94 f9 78 96 e7 41 74 d8 |...N>.....x..At.|
000002d0 d8 2f d9 d4 b8 a6 6a b0 58 c6 73 43 0f 97 65 18 |./....j.X.sC..e.|
000002e0 9e ab f6 60 44 e0 e2 fd c6 d8 8a dd 0b 32 17 2a |...`D........2.*|
000002f0 5a a3 dc 62 a1 0a 66 db 4f 46 1d 1a 7e c9 d3 8c |Z..b..f.OF..~...|
00000300 14 3d ec 23 e1 07 ba 03 4d 91 d2 59 88 8d 12 b3 |.=.#....M..Y....|
00000310 d0 8f c3 17 03 03 00 99 64 f8 fe 51 0d 72 fe b9 |........d..Q.r..|
00000320 d7 59 a3 12 5e 94 6b a6 4a 81 f5 9e 63 21 a0 df |.Y..^.k.J...c!..|
00000330 ff 22 04 73 fb 22 2c cf dc ff c8 17 a5 22 54 95 |.".s.",......"T.|
00000340 74 19 59 aa ff 49 64 5b 22 76 1c 14 8f 19 4d bf |t.Y..Id["v....M.|
00000350 a9 57 a9 eb f7 78 c8 2c 8e 6b 5c f1 f1 79 c9 3c |.W...x.,.k\..y.<|
00000360 3a 01 a7 fc 8e a3 02 65 aa 25 f8 45 46 36 f4 4e |:......e.%.EF6.N|
00000370 d4 18 e3 50 43 ee f3 9e d6 cc 31 d1 b1 46 eb 77 |...PC.....1..F.w|
00000380 9d 88 1e a9 33 67 1d b7 b7 8e 9a 70 e0 f3 41 28 |....3g.....p..A(|
00000390 a9 87 93 7f c1 4f 69 c2 6a 91 5d 22 1f 22 3b 71 |.....Oi.j.]".";q|
000003a0 30 81 a3 2e 1b b5 cf 30 65 12 90 d6 6c 51 39 38 |0......0e...lQ98|
000003b0 dc 17 03 03 00 35 0f 67 d4 9a 52 85 9d 8f 35 48 |.....5.g..R...5H|
000003c0 dd 17 44 e7 4a fa b0 c3 a1 c7 97 47 10 3e bc 2c |..D.J......G.>.,|
000003d0 05 b7 63 bc 67 bc bc 4e 02 88 cf 52 7e 06 b2 bb |..c.g..N...R~...|
000003e0 3e 20 1e bb 54 63 de 25 65 bf f4 |> ..Tc.%e..|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 9f 3a b1 56 e8 |..........5.:.V.|
00000010 b4 3a 9e 28 d1 77 4d 2b 72 e9 24 e5 df 0d ae 5c |.:.(.wM+r.$....\|
00000020 a2 2d ed 30 69 14 b7 ce ae b8 7b 3e dc 22 2b 47 |.-.0i.....{>."+G|
00000030 2b f0 b1 3e f9 1b 57 7e 79 2f c8 2e 9b ad 09 b9 |+..>..W~y/......|
00000040 17 03 03 00 17 16 01 bf 65 1b 85 92 67 24 7a d2 |........e...g$z.|
00000050 7b 35 8d a1 c1 ba 6c cc fc 94 9d 11 |{5....l.....|
>>> Flow 4 (server to client)
00000000 17 03 03 00 ea e9 1f 05 b8 75 f9 45 ef 96 07 24 |.........u.E...$|
00000010 82 6a be 12 51 07 ef 69 36 59 d0 77 63 dc f5 e4 |.j..Q..i6Y.wc...|
00000020 08 6a 63 59 d5 c8 1c db 88 9a 39 e9 ed fd 79 29 |.jcY......9...y)|
00000030 b4 be e8 e6 1f 9b d3 d5 68 ed d1 b3 60 dd 4a ea |........h...`.J.|
00000040 65 20 75 a8 23 08 40 a6 a7 2c d2 08 ab 3f f4 24 |e u.#.@..,...?.$|
00000050 6f 1b 8a 93 98 6c ed 61 00 be fe f6 fd 74 bf 00 |o....l.a.....t..|
00000060 12 b6 4c bd 1c 97 d0 d9 f9 fd 9d 2b 15 58 89 b9 |..L........+.X..|
00000070 fe 82 02 fc 14 9f 7d 04 9f 0e c9 86 83 96 3f e2 |......}.......?.|
00000080 01 e0 bf 41 d0 fa 3e 20 77 67 d6 e5 28 fd 63 15 |...A..> wg..(.c.|
00000090 4a 86 48 d9 1a bf 96 e8 37 8c 40 4d 74 5a 79 ff |J.H.....7.@MtZy.|
000000a0 b0 fb 93 8b 80 53 b7 c6 f9 66 3b ac 50 39 1c 3e |.....S...f;.P9.>|
000000b0 0e 34 a6 cf 06 7c ef 96 59 6a 34 cc 7f 47 fa 45 |.4...|..Yj4..G.E|
000000c0 a2 39 bf ba b3 d3 aa 56 4c 5c 62 57 7a a6 4b 3a |.9.....VL\bWz.K:|
000000d0 82 da fb af 37 b8 de e0 98 19 bf 6f ec 65 62 37 |....7......o.eb7|
000000e0 28 fd 9a fb cf a4 04 ca 79 1f 4c cb 77 40 61 17 |(.......y.L.w@a.|
000000f0 03 03 00 da 85 29 58 58 77 d0 b2 b3 c1 0c 0f e0 |.....)XXw.......|
00000100 3c 5c c3 12 5c 43 56 1c ec ae 0d 8f 2c f8 21 a8 |<\..\CV.....,.!.|
00000110 f1 25 20 95 2b a1 d8 c0 9d b7 84 69 bf 8c 74 f3 |.% .+......i..t.|
00000120 17 70 50 a8 7a 1c 17 08 57 84 7e 00 fd 23 c3 34 |.pP.z...W.~..#.4|
00000130 91 49 c5 19 0d 48 97 ca bb b7 38 1f 45 1f ff 57 |.I...H....8.E..W|
00000140 e3 4e 2b fb 2f fa d6 d3 35 49 b3 34 96 88 d7 2c |.N+./...5I.4...,|
00000150 75 88 c9 6d f0 59 00 dc eb 1c b6 1d 57 db df a3 |u..m.Y......W...|
00000160 c0 b2 58 24 93 79 b1 cb 03 7f eb 93 59 49 f3 21 |..X$.y......YI.!|
00000170 5b 88 da b6 28 8c 98 39 5e 33 82 08 20 27 be 73 |[...(..9^3.. '.s|
00000180 ec 31 7d bd 2f 70 ea 81 d2 63 dc 38 21 67 ce 19 |.1}./p...c.8!g..|
00000190 e3 4c 8b 8f 3e bb 3e 72 85 cc c7 8f c8 c7 34 15 |.L..>.>r......4.|
000001a0 ef b8 6f 4a b7 fa 4d 4e a0 fc cd da e8 21 ad 1d |..oJ..MN.....!..|
000001b0 fb 92 1d bc ed 93 77 3a 92 d0 e6 34 ea 3e 15 ef |......w:...4.>..|
000001c0 e8 8c ae 87 e5 25 9d 9e c2 cf a4 54 3c 3e |.....%.....T<>|
>>> Flow 5 (client to server)
00000000 17 03 03 00 13 b8 dc 5e e5 6c c8 0d 78 77 db 9d |.......^.l..xw..|
00000010 a6 0b 22 cf 9d 2b fd 35 |.."..+.5|