utls/testdata/Client-TLSv13-UTLS-TLS_AES_256_GCM_SHA384-Firefox-63
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 24 13 01 |.............$..|
00000050 13 03 13 02 c0 2b c0 2f cc a9 cc a8 c0 2c c0 30 |.....+./.....,.0|
00000060 c0 0a c0 09 c0 13 c0 14 00 33 00 39 00 2f 00 35 |.........3.9./.5|
00000070 00 0a 01 00 01 8f 00 00 00 05 00 03 00 00 00 00 |................|
00000080 17 00 00 ff 01 00 01 00 00 0a 00 0e 00 0c 00 1d |................|
00000090 00 17 00 18 00 19 01 00 01 01 00 0b 00 02 01 00 |................|
000000a0 00 23 00 00 00 10 00 0e 00 0c 02 68 32 08 68 74 |.#.........h2.ht|
000000b0 74 70 2f 31 2e 31 00 05 00 05 01 00 00 00 00 00 |tp/1.1..........|
000000c0 33 00 6b 00 69 00 1d 00 20 2f e5 7d a3 47 cd 62 |3.k.i... /.}.G.b|
000000d0 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 cf |C.(.._.).0......|
000000e0 c2 ed 90 99 5f 58 cb 3b 74 00 17 00 41 04 1e 18 |...._X.;t...A...|
000000f0 37 ef 0d 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f |7...Q.5uq..T[...|
00000100 09 67 fd a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b |.g..$ >.V...(^.+|
00000110 2d 4f 9e f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 |-O....lK[.V.2B.X|
00000120 b6 d7 49 a6 b5 68 1a 41 03 56 6b dc 5a 89 00 2b |..I..h.A.Vk.Z..+|
00000130 00 09 08 03 04 03 03 03 02 03 01 00 0d 00 18 00 |................|
00000140 16 04 03 05 03 06 03 08 04 08 05 08 06 04 01 05 |................|
00000150 01 06 01 02 03 02 01 00 2d 00 02 01 01 00 1c 00 |........-.......|
00000160 02 40 01 00 15 00 9e 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 95 54 bd 3c 5c |....z...v...T.<\|
00000010 7b 0b c2 08 4c 73 99 35 ac 0a 30 6f e7 26 78 48 |{...Ls.5..0o.&xH|
00000020 73 ac c7 bb 23 3b 75 e4 51 cd 4f 20 00 00 00 00 |s...#;u.Q.O ....|
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 e4 |..+.....3.$... .|
00000060 de cf 4b b8 e2 c0 f1 0c 88 5f 7f b0 fa 81 f0 f0 |..K......_......|
00000070 06 16 95 8a 23 98 41 b6 5f c4 aa 8e fe ec 04 14 |....#.A._.......|
00000080 03 03 00 01 01 17 03 03 00 17 dc 43 e5 13 83 50 |...........C...P|
00000090 0e d1 50 c1 7b 17 79 78 fd ba 59 c4 1e dd 91 59 |..P.{.yx..Y....Y|
000000a0 1a 17 03 03 02 6d 47 0f 25 0c 9f 9f dc 35 75 d7 |.....mG.%....5u.|
000000b0 af 43 4d bc 76 48 09 d8 54 1d 01 d7 73 1f aa 0a |.CM.vH..T...s...|
000000c0 2a f1 94 dd a2 94 fb 86 21 8a 0c 15 6d 11 14 8a |*.......!...m...|
000000d0 4a 2b 39 cd 0b 33 30 5f 60 91 71 7d a8 a1 8b 2a |J+9..30_`.q}...*|
000000e0 21 bf 86 55 fc 7b 80 05 ac 1c fb a0 cb f2 fc 3d |!..U.{.........=|
000000f0 c7 e0 89 0b 98 fc 93 05 c4 fc c4 66 27 59 dd b4 |...........f'Y..|
00000100 2e e7 5f bd cf cd 73 fc a4 68 78 69 85 de 85 30 |.._...s..hxi...0|
00000110 5c 68 ff 67 05 cd 14 3b e9 00 96 b9 e4 da 23 69 |\h.g...;......#i|
00000120 ee de 12 40 71 ed 94 fa 61 5c 51 fe 6e d6 34 59 |...@q...a\Q.n.4Y|
00000130 0c 7b d7 79 a7 be d6 54 7c 3a 6c 2e 20 3a 47 f0 |.{.y...T|:l. :G.|
00000140 35 06 40 7d 93 53 e7 6c 13 0c b6 3f af df 05 41 |5.@}.S.l...?...A|
00000150 29 3f 85 ef c3 d6 a1 d5 6a e6 90 4f 70 d9 2c d5 |)?......j..Op.,.|
00000160 4e 81 49 6d 94 f7 bf 2a 1b f6 d1 bd e1 3a 5f 99 |N.Im...*.....:_.|
00000170 94 53 d6 b3 7d fe a7 b4 a1 19 ff f5 64 a5 d1 a1 |.S..}.......d...|
00000180 1f 2c 4d 87 62 37 b2 e9 c5 ca 0e cd c0 f2 92 57 |.,M.b7.........W|
00000190 4c 84 23 77 b6 d2 06 c7 f6 60 92 50 da 96 12 17 |L.#w.....`.P....|
000001a0 f5 17 fe c4 30 37 45 48 02 68 e9 63 d4 b9 73 84 |....07EH.h.c..s.|
000001b0 34 bd 15 a9 2f f5 46 4b 2c 64 49 ce 3e 73 88 43 |4.../.FK,dI.>s.C|
000001c0 93 8f b7 c4 27 2b 1a a8 7a c4 59 f4 d7 c7 1f 90 |....'+..z.Y.....|
000001d0 02 b7 5a f3 12 97 1a 23 21 99 c6 23 65 6f 54 a5 |..Z....#!..#eoT.|
000001e0 52 f6 17 61 45 12 dd c1 9e 94 5f 56 26 e7 4f 4d |R..aE....._V&.OM|
000001f0 82 35 73 c1 a3 e6 9b 4f e2 3b 83 5a 94 83 f2 23 |.5s....O.;.Z...#|
00000200 60 7f 64 db 92 69 62 e3 d3 94 45 07 3d e3 ae 24 |`.d..ib...E.=..$|
00000210 cc de 4d 1d 9f 73 b1 b8 7e b1 b0 fe 97 c6 aa b0 |..M..s..~.......|
00000220 fc 0b 96 20 32 bd 56 d6 38 ad bd 9c 39 07 99 45 |... 2.V.8...9..E|
00000230 84 ad 39 ac 56 9f aa b6 23 4b 80 fb 26 13 aa dc |..9.V...#K..&...|
00000240 d1 7b 30 65 9b ce 94 f5 e7 d8 53 4d 25 98 f8 53 |.{0e......SM%..S|
00000250 0b 5b b2 fa cb 8e 16 d4 b7 d2 f6 c9 33 25 7a be |.[..........3%z.|
00000260 03 de 1d 48 ac 5a 05 8b be 37 36 09 d5 6c d3 f0 |...H.Z...76..l..|
00000270 66 aa 07 15 da ad 69 5f 86 0e b7 8d f6 b4 a9 37 |f.....i_.......7|
00000280 9e a5 84 d6 60 69 74 6c b3 f0 8d 93 8c 19 97 f0 |....`itl........|
00000290 7a bf c2 23 59 ae 60 85 c8 8a 0c 6f 21 16 02 69 |z..#Y.`....o!..i|
000002a0 75 a6 84 c2 c7 7f 5d 51 27 7f d3 f7 55 2b 2c 7c |u.....]Q'...U+,||
000002b0 c7 f2 03 31 46 04 98 82 04 a4 ec 68 86 76 1d 65 |...1F......h.v.e|
000002c0 07 fa 5d d8 70 2c 69 a4 39 df 58 74 58 68 84 d8 |..].p,i.9.XtXh..|
000002d0 2b 2a 05 8a fb 73 ec ad 4e 75 07 09 8b 20 07 67 |+*...s..Nu... .g|
000002e0 2d 47 dd 50 70 68 70 42 a1 5c 10 64 01 91 99 3d |-G.PphpB.\.d...=|
000002f0 e8 29 c6 01 4c 18 03 ca 54 f7 c6 a7 14 ab 3b 72 |.)..L...T.....;r|
00000300 55 5d 51 b2 2b cb d7 75 72 27 fc c5 7c 9b be aa |U]Q.+..ur'..|...|
00000310 d6 27 29 17 03 03 00 99 fc b0 c9 20 ee d1 bc f6 |.')........ ....|
00000320 4e a3 a6 69 ba 38 eb 0c b6 e8 5f 4e a2 35 95 ef |N..i.8...._N.5..|
00000330 24 60 15 67 f3 46 8b 0d ee f5 a7 72 2a 43 2a e6 |$`.g.F.....r*C*.|
00000340 17 41 74 99 d5 d2 81 cd c0 0e 18 d9 91 91 ca a2 |.At.............|
00000350 1a 6a 6f dc b7 7c cb 8d f5 5c 2c 61 61 0e c5 da |.jo..|...\,aa...|
00000360 fb 80 ef 45 d1 41 9c 18 05 31 be 79 e5 fc 21 a9 |...E.A...1.y..!.|
00000370 01 6c 18 06 06 2a dc 3b 4d b0 3b 2c 9f 68 cd 70 |.l...*.;M.;,.h.p|
00000380 58 94 2d db 5b e2 1c 3c 44 f6 e4 f1 ca 34 0b e1 |X.-.[..<D....4..|
00000390 25 63 d8 e1 71 c6 8b 44 7d 7d bf 91 4c df 82 ac |%c..q..D}}..L...|
000003a0 fe fc 1b bb c8 a9 6e b7 cd c3 23 f6 ea e6 4f 30 |......n...#...O0|
000003b0 bb 17 03 03 00 35 c7 63 b6 2a 79 a9 81 dc ba dc |.....5.c.*y.....|
000003c0 18 39 c0 34 ac 54 0b 26 d7 51 a5 e8 c8 43 99 51 |.9.4.T.&.Q...C.Q|
000003d0 d2 e2 9c 28 d9 82 a8 23 de 88 73 dd b4 f1 33 34 |...(...#..s...34|
000003e0 88 80 0c d6 dd 28 ad 02 8b 8c c0 |.....(.....|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 42 45 5f 9e ac |..........5BE_..|
00000010 5a e4 d8 01 80 1d 29 52 46 56 65 0c 6e 10 f1 b7 |Z.....)RFVe.n...|
00000020 20 60 40 f3 d3 83 9a d3 6d 01 21 87 99 63 35 3f | `@.....m.!..c5?|
00000030 4a 06 38 62 18 ac fd c6 f8 45 68 08 22 11 5a 70 |J.8b.....Eh.".Zp|
00000040 17 03 03 00 17 8b 4a 20 9f d2 ae 64 82 e9 96 42 |......J ...d...B|
00000050 1a a0 e9 52 96 f7 9f 97 3a aa 39 dd |...R....:.9.|
>>> Flow 4 (server to client)
00000000 17 03 03 00 da 14 48 27 b3 0b b8 92 e8 d9 fe db |......H'........|
00000010 14 fd a1 e5 a7 08 7d 7e e5 d1 1b 1e 18 94 15 55 |......}~.......U|
00000020 4e 9c 28 eb d2 31 1f 33 43 ed 2b d7 c6 5b 9e de |N.(..1.3C.+..[..|
00000030 c3 ef 1e 5c 30 19 99 4e c8 61 01 e3 78 01 26 2a |...\0..N.a..x.&*|
00000040 0d 27 90 ba 48 a3 84 7f 79 5e a9 38 7e ab c7 2d |.'..H...y^.8~..-|
00000050 3c 0c 9a 61 9a 67 27 07 08 4b 3f 10 a6 b9 ab 87 |<..a.g'..K?.....|
00000060 0e 72 44 56 a8 6c 4a e6 09 66 33 1e a9 bb fd df |.rDV.lJ..f3.....|
00000070 da 82 0d 80 bd f0 99 66 23 ed 70 76 cf a8 cc 0f |.......f#.pv....|
00000080 fd 83 9f 7c dc 41 b4 58 72 c6 da a6 f6 d5 ce 38 |...|.A.Xr......8|
00000090 29 f1 96 1a 4b 3b 6a 77 3b 9e 17 e0 37 04 c8 b4 |)...K;jw;...7...|
000000a0 bf fa 77 8f e6 37 bd 34 2b 37 b6 0b 14 c0 fe ef |..w..7.4+7......|
000000b0 f8 d5 56 bf 2a a8 90 ad fd 48 82 78 6e 55 62 f5 |..V.*....H.xnUb.|
000000c0 13 de 74 0e 46 46 95 d7 d1 f7 3f 13 e6 36 28 cb |..t.FF....?..6(.|
000000d0 2a 85 b6 8f ba b2 51 d1 33 07 a3 5e 3b 63 56 17 |*.....Q.3..^;cV.|
000000e0 03 03 00 ea 5b ff 94 4d 76 06 4d 0d 28 d0 e1 31 |....[..Mv.M.(..1|
000000f0 18 45 8e a1 a0 09 1b 9c c2 c4 be 87 ba a4 10 6d |.E.............m|
00000100 d1 f2 f7 6d 2d 2b b4 7d bd 30 6f 14 9e f0 81 96 |...m-+.}.0o.....|
00000110 52 c0 7f 6f fd d0 c8 54 81 a3 71 f9 cb 18 c7 94 |R..o...T..q.....|
00000120 b4 8e d8 71 f5 f5 d0 9f 15 2f 99 8b 4d e5 19 b2 |...q...../..M...|
00000130 df 84 19 4b 65 40 36 09 64 3d 48 d4 4d 67 84 a8 |...Ke@6.d=H.Mg..|
00000140 f6 2c 40 e9 aa c4 4a 58 8f af 85 72 0d 68 21 cc |.,@...JX...r.h!.|
00000150 42 e0 91 3b 00 cb 52 77 77 0e e9 f7 05 dd a9 9b |B..;..Rww.......|
00000160 d6 95 c4 1f c7 bd f0 93 32 78 5c a4 e1 0b 74 a0 |........2x\...t.|
00000170 78 af d0 d8 67 82 c1 2f 5e 67 7d d7 1d 4d 9b e8 |x...g../^g}..M..|
00000180 59 ad cf 46 45 9f 48 2f 3b 84 db 78 bb 41 95 04 |Y..FE.H/;..x.A..|
00000190 2f 25 35 69 f7 96 e4 64 65 38 fc da bc 6e b4 71 |/%5i...de8...n.q|
000001a0 b0 9f a8 67 4f fd df b4 2f 4b f9 67 bf 58 82 5d |...gO.../K.g.X.]|
000001b0 ec e5 7f f5 0b 04 b2 b0 19 91 a4 d8 3d dd c3 c5 |............=...|
000001c0 db 27 c1 0a 26 c2 fb 12 ae 65 32 90 b2 fb |.'..&....e2...|
>>> Flow 5 (client to server)
00000000 17 03 03 00 13 f6 25 05 e4 ef a0 be 61 2c 14 23 |......%.....a,.#|
00000010 b9 9b 46 a7 8c 9c c9 0a |..F.....|