utls/testdata/Client-TLSv13-UTLS-TLS_AES_256_GCM_SHA384-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

137 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 06 97 74 cc 0f |....z...v....t..|
00000010 37 19 fe 64 03 17 4a 79 0a 36 8d 8f 39 e1 a7 ba |7..d..Jy.6..9...|
00000020 cd b2 fe cb a1 76 92 c1 bc 4b 86 20 00 00 00 00 |.....v...K. ....|
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 70 |..+.....3.$... p|
00000060 7b dd 45 42 09 0f ac 13 68 3c 49 b6 4f 27 07 bd |{.EB....h<I.O'..|
00000070 b7 15 74 0a 00 24 14 14 48 ca bb e9 ec 59 26 14 |..t..$..H....Y&.|
00000080 03 03 00 01 01 17 03 03 00 17 1c ea 94 f2 d5 73 |...............s|
00000090 7f ac ce 74 5a 3d b6 86 a4 7b 36 5e 66 57 32 e9 |...tZ=...{6^fW2.|
000000a0 de 17 03 03 02 6d 54 cd 01 34 7a da e9 e3 82 d6 |.....mT..4z.....|
000000b0 55 cd 4c 9c 2f 64 c8 b4 47 0f 20 2b 0e b7 c6 f9 |U.L./d..G. +....|
000000c0 d0 b2 18 4b 05 cd 9f 08 08 50 e8 6b 03 16 d9 63 |...K.....P.k...c|
000000d0 7e b9 d6 42 f7 c7 95 5e 5d 2d 72 7a fc 84 71 0e |~..B...^]-rz..q.|
000000e0 1b a6 65 4b 05 49 a6 67 bc da 11 85 2d 6c 61 1b |..eK.I.g....-la.|
000000f0 13 3b 9c 2f 56 d3 cf cf 34 c5 98 2b e4 05 9a 66 |.;./V...4..+...f|
00000100 91 71 1e 17 28 4e 8a 6e d7 fe fe 17 2a fe e7 0b |.q..(N.n....*...|
00000110 7f e9 29 f4 48 8f 1a 0a f2 29 eb bb db d0 3d 37 |..).H....)....=7|
00000120 ac ec e3 bf 69 3a 56 39 fd c5 05 eb 0b 26 9e 54 |....i:V9.....&.T|
00000130 0a c0 ce a2 6e 80 dd 6b 87 6a c4 2b 2d 21 67 da |....n..k.j.+-!g.|
00000140 16 f0 e7 1f 3b 08 7f 96 b7 bc 6d c7 b2 14 f4 32 |....;.....m....2|
00000150 cf 88 12 a7 4e aa 44 d1 a2 1a fb f7 f0 ab 8b 19 |....N.D.........|
00000160 e9 3a 5b cf 7f 14 6c 69 6f 46 23 14 1a 48 ee 84 |.:[...lioF#..H..|
00000170 20 2a 07 9b 6a ea 81 73 bf 83 8b 3f c4 78 99 01 | *..j..s...?.x..|
00000180 fc ba 1a e6 dc 4e 7e 60 d7 e4 e2 b8 80 d6 2e 58 |.....N~`.......X|
00000190 b1 06 b7 83 b7 e0 00 ba de 71 51 b4 a8 2c 54 42 |.........qQ..,TB|
000001a0 ef ed d6 de 01 95 26 17 f6 b6 8e d5 3d 42 a4 a5 |......&.....=B..|
000001b0 c4 8f 4b 6f e5 e0 0f 4a b4 69 b6 c7 1f 01 62 77 |..Ko...J.i....bw|
000001c0 69 5f 95 14 db af 8a a1 5e f1 27 22 d8 19 a5 dd |i_......^.'"....|
000001d0 77 ac 32 60 11 c5 87 59 fd 03 33 dd 39 d7 be cd |w.2`...Y..3.9...|
000001e0 c9 ca b2 a1 01 3a ae b0 dc 11 d2 41 a2 33 22 b6 |.....:.....A.3".|
000001f0 be d8 b4 3a 02 53 dc d2 a4 54 32 d9 bc 13 54 ba |...:.S...T2...T.|
00000200 f8 a5 22 ca c9 c9 3f 14 d8 b7 cf 7c ff d9 30 46 |.."...?....|..0F|
00000210 80 dd 2a 33 db 36 7c 87 94 69 91 f2 7a b1 1d e5 |..*3.6|..i..z...|
00000220 6a 7a 91 bd a9 3d 78 4a 2f 3a 58 b5 28 6c ba a1 |jz...=xJ/:X.(l..|
00000230 80 f3 02 51 3c d0 f6 00 53 f1 b0 26 20 d6 be b9 |...Q<...S..& ...|
00000240 24 d1 92 56 29 31 ac 42 0c 0a 94 38 4b f1 6b fe |$..V)1.B...8K.k.|
00000250 a1 11 11 80 a7 2c e7 1c c0 4f 1e 2c e4 d1 05 1c |.....,...O.,....|
00000260 93 6e 88 7a 69 e8 e8 4f a7 46 95 81 61 79 83 64 |.n.zi..O.F..ay.d|
00000270 23 18 0e 78 20 49 0f ba 8a 3c b4 d1 51 0a 75 31 |#..x I...<..Q.u1|
00000280 1d 34 83 44 8f a5 87 cb b7 7f 1c 3e c0 67 59 d5 |.4.D.......>.gY.|
00000290 90 62 b4 22 2e 05 cb 33 d3 83 54 a5 e5 68 84 1d |.b."...3..T..h..|
000002a0 da f9 9c 85 cf 29 be 81 73 81 b9 86 93 5c 23 50 |.....)..s....\#P|
000002b0 53 ef 94 ec 3f 04 bd 12 5c d7 01 aa 7a bd fb 83 |S...?...\...z...|
000002c0 52 d4 d3 23 37 75 be 73 8f bc 8f 4a 7c 8a 49 f1 |R..#7u.s...J|.I.|
000002d0 eb d3 6c 9b 04 22 86 72 15 dc 9b 87 a0 88 01 9d |..l..".r........|
000002e0 88 b7 bd 2b 9f 9f f1 bc ea eb 99 0b 6d 50 0f d3 |...+........mP..|
000002f0 8f 14 b7 66 34 a4 26 a3 b4 60 d6 81 2a 5f 6d a4 |...f4.&..`..*_m.|
00000300 bd 29 ea 16 a9 c5 ee e2 42 cb 23 bb 64 6c 8d 12 |.)......B.#.dl..|
00000310 1e 90 3c 17 03 03 00 99 33 38 05 48 0b d1 78 6e |..<.....38.H..xn|
00000320 bd 10 95 46 5c e0 14 24 8f 12 dc 89 1c 9d 26 83 |...F\..$......&.|
00000330 d7 c0 b5 ec 33 6e 2a 07 a2 33 be f3 a8 db bc 48 |....3n*..3.....H|
00000340 ba dc 31 1e 9b 49 ea 56 2f 8a 57 19 48 6a 3c c0 |..1..I.V/.W.Hj<.|
00000350 8c 8e f4 d6 e8 a3 74 30 e9 61 46 13 c8 58 c6 36 |......t0.aF..X.6|
00000360 3e 68 34 9b 97 5b 8c d3 6a b9 38 09 64 c7 7b e0 |>h4..[..j.8.d.{.|
00000370 96 44 8a aa 8d be f1 2c c5 df 20 6c 17 37 bb cc |.D.....,.. l.7..|
00000380 f7 eb aa 30 ae 5a 92 de 9b 7c 63 ec 0d 52 37 f8 |...0.Z...|c..R7.|
00000390 dc 0c b1 f4 f2 cd f8 ec f0 4e 66 3a b0 4f 6b 4a |.........Nf:.OkJ|
000003a0 2f 6c 6e 62 99 0c d4 12 f9 10 0f 2e 46 8d c9 20 |/lnb........F.. |
000003b0 37 17 03 03 00 35 1a 55 4b 70 85 50 df a4 91 81 |7....5.UKp.P....|
000003c0 53 0b f5 04 bf 5b b5 7a 9a 11 b0 85 86 10 76 95 |S....[.z......v.|
000003d0 da ed af 65 54 78 af b9 2a e9 37 3a a7 30 64 cf |...eTx..*.7:.0d.|
000003e0 18 5c b0 8d 98 ec 95 5a c6 a2 14 |.\.....Z...|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 9f 3d 5c 16 c6 |..........5.=\..|
00000010 74 cd d0 9b 6d 72 3c 1a bc 37 0b be 51 45 1b 7c |t...mr<..7..QE.||
00000020 b6 12 14 66 93 f4 65 79 4d 0e ca 70 86 a1 ff e9 |...f..eyM..p....|
00000030 f8 c5 82 cc 7f bf 68 ed 76 90 55 d3 fa 40 ca ca |......h.v.U..@..|
00000040 17 03 03 00 17 87 d1 e1 21 87 1f e9 b6 39 94 40 |........!....9.@|
00000050 ab c4 cb 1a 92 ac a5 85 b8 81 b7 be |............|
>>> Flow 4 (server to client)
00000000 17 03 03 00 da 70 c5 39 20 31 df 34 e8 54 1a a8 |.....p.9 1.4.T..|
00000010 e9 22 1a 02 9f 03 2b 15 f9 55 c3 0f de eb b9 22 |."....+..U....."|
00000020 65 c9 9c 0f 2d 00 40 f2 30 05 61 44 0c e8 0f 94 |e...-.@.0.aD....|
00000030 1f 2c b3 31 f1 4f 97 3d 76 f4 ae 7e 02 da 98 2f |.,.1.O.=v..~.../|
00000040 65 50 ba 13 60 62 88 79 8a 56 fa 90 28 64 1a b8 |eP..`b.y.V..(d..|
00000050 dd 47 18 9c 4b 0a 8a 24 f2 26 e1 72 53 25 3d c7 |.G..K..$.&.rS%=.|
00000060 2b 9b b6 25 f2 2d cd a3 97 6c 57 d6 3f cf e3 f3 |+..%.-...lW.?...|
00000070 9a 0b 2e 9f 81 eb 18 a3 3c 9d 65 36 04 87 0d 78 |........<.e6...x|
00000080 ba f5 7c bd ec cc 7f d7 8b fc 55 e4 74 87 3a 7e |..|.......U.t.:~|
00000090 39 93 89 d0 08 b0 c6 26 11 83 15 4b aa 39 ac 6b |9......&...K.9.k|
000000a0 55 58 79 d3 ab 52 40 d2 df 4b 7c 1c 05 cf b5 c3 |UXy..R@..K|.....|
000000b0 a3 3e 0a d7 3b 77 d0 a0 88 d3 57 60 c5 f3 8e 9c |.>..;w....W`....|
000000c0 65 21 7b 21 51 75 ae 9e 3e a0 1f 26 07 37 4a 08 |e!{!Qu..>..&.7J.|
000000d0 09 e3 bb 4d ef 61 3d 27 f1 82 13 eb 76 e3 67 17 |...M.a='....v.g.|
000000e0 03 03 00 da 86 c8 fa f8 ff 7a 10 36 18 f4 cf 0a |.........z.6....|
000000f0 22 80 23 87 4a e6 b8 0e c4 a8 b5 a8 a0 9b 14 71 |".#.J..........q|
00000100 fd 6e 5b d2 b7 b9 cd 2c 79 d2 8f c1 b7 af 1a dc |.n[....,y.......|
00000110 70 29 7f 38 2e ae 14 ad c3 9d 03 27 db 51 f5 5a |p).8.......'.Q.Z|
00000120 89 68 ef cb 69 78 62 ef 21 a8 a1 b8 da 81 5e 57 |.h..ixb.!.....^W|
00000130 3b 92 5b 1e 28 e2 06 c5 9c 7e d8 2a 1c f1 ad 74 |;.[.(....~.*...t|
00000140 81 d1 1c a2 a7 22 da 50 83 aa d3 49 4f 91 7e 65 |.....".P...IO.~e|
00000150 59 c4 ee 13 ac 6f de 8b 49 c1 09 6b 99 21 b1 f3 |Y....o..I..k.!..|
00000160 ae a0 b3 c2 eb c6 b3 59 e2 9c 2b 98 d9 f6 12 40 |.......Y..+....@|
00000170 98 32 af 5a f3 cd 4d f6 fe 1e 39 d0 5e b3 4d 98 |.2.Z..M...9.^.M.|
00000180 2d 05 70 02 54 4e 96 79 a7 d9 46 d5 f7 f0 f1 e8 |-.p.TN.y..F.....|
00000190 aa 97 47 8c f2 be da a2 a1 6b 3d 18 ac dd 51 3f |..G......k=...Q?|
000001a0 8d fe d3 c8 2c 1a 63 b1 3b a2 b2 58 f5 51 59 d6 |....,.c.;..X.QY.|
000001b0 2e ce 83 96 71 de ed 2a 0d a9 76 8f fc 7f |....q..*..v...|
>>> Flow 5 (client to server)
00000000 17 03 03 00 13 8c 93 9d 11 62 86 84 bb 41 0d e9 |.........b...A..|
00000010 7b ee 58 9e a9 a9 61 51 |{.X...aQ|