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

139 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 58 31 5e dd 9c |....z...v..X1^..|
00000010 26 47 e5 24 07 b4 f5 81 24 b5 83 12 aa dc 25 b8 |&G.$....$.....%.|
00000020 1f c2 76 52 af 89 1f 5d 53 cd ba 20 00 00 00 00 |..vR...]S.. ....|
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 cc |..+.....3.$... .|
00000060 a3 dc ef f8 57 95 4f c2 50 16 c9 57 13 b0 18 c9 |....W.O.P..W....|
00000070 be 70 be 78 c4 e6 74 f2 b0 55 80 d6 1a 1c 70 14 |.p.x..t..U....p.|
00000080 03 03 00 01 01 17 03 03 00 17 5c 7e 43 42 2c ca |..........\~CB,.|
00000090 6d 21 c7 9e 12 68 2b 71 0c cb 72 ce 69 db 3c e6 |m!...h+q..r.i.<.|
000000a0 a8 17 03 03 02 6d d1 42 3e 8e d9 b5 19 48 09 c1 |.....m.B>....H..|
000000b0 c6 af 2f 04 64 6e 23 d0 0e 7e c5 8b c7 71 4e 61 |../.dn#..~...qNa|
000000c0 b1 75 7a 84 2c b2 3f 11 54 1e 64 f6 8b 42 53 19 |.uz.,.?.T.d..BS.|
000000d0 44 39 ac 9b 6b 40 2f e0 f4 fa 29 ef 08 67 9a 60 |D9..k@/...)..g.`|
000000e0 f2 ed 5a 0a 28 83 f0 20 3a e5 f1 ae f7 b1 b9 12 |..Z.(.. :.......|
000000f0 f3 3d 74 2f 45 38 e0 9b b9 35 24 9c c7 df 24 c7 |.=t/E8...5$...$.|
00000100 3e 6a 92 f2 5c ca 0e 5b 20 2c 06 ba b7 c3 14 98 |>j..\..[ ,......|
00000110 26 dc 6d 51 58 52 3a 93 0f 69 44 fd b4 85 a1 a3 |&.mQXR:..iD.....|
00000120 c8 66 c7 03 d8 ca 10 66 ae 98 36 e3 0e 4c f7 0e |.f.....f..6..L..|
00000130 8b fa 2b 2a 66 d4 63 16 87 f6 0c 12 ca ea a6 8f |..+*f.c.........|
00000140 9a b7 e7 f7 4b cc c9 c6 47 31 bf 2d d6 7b e6 c3 |....K...G1.-.{..|
00000150 e9 72 d3 67 87 be 36 b6 74 ee 6b 43 1a d2 bb 5a |.r.g..6.t.kC...Z|
00000160 16 db 92 0a 71 e8 cc b6 63 bf 08 ba bd 03 2d c6 |....q...c.....-.|
00000170 06 70 c7 1d 59 a4 d6 9d 46 76 3c df 5e bc 61 c4 |.p..Y...Fv<.^.a.|
00000180 3b e0 63 19 28 44 1e 87 d5 d2 98 4f 0c bc 1c db |;.c.(D.....O....|
00000190 51 47 15 23 f2 72 3c 2d 20 e1 b9 5b 3d ed d0 c3 |QG.#.r<- ..[=...|
000001a0 1a fa a6 3a 21 32 b4 e8 9d 4f db 7f 9d 78 0c a4 |...:!2...O...x..|
000001b0 4d 5b 80 db 49 fc 19 29 cf 9f 35 d4 dd 38 3a c7 |M[..I..)..5..8:.|
000001c0 47 b6 55 bd 64 3b e0 24 c2 9a e6 db 94 55 83 f2 |G.U.d;.$.....U..|
000001d0 44 5d 18 81 7d b7 3e 29 48 8d 42 99 78 35 2c 0e |D]..}.>)H.B.x5,.|
000001e0 ac 83 0d 97 ae 0c f9 f7 82 1d 3f df 28 c8 fd 8b |..........?.(...|
000001f0 3c 8d 89 c9 37 43 fe a1 dc a7 28 d9 1d c3 bd f5 |<...7C....(.....|
00000200 2d df b6 34 ef cb c5 c4 7c 4e bb 10 7d 68 a8 26 |-..4....|N..}h.&|
00000210 72 61 e9 db 88 9f 68 59 15 31 7c 62 09 d1 80 87 |ra....hY.1|b....|
00000220 54 57 21 08 4a 34 3e 00 d8 39 90 c4 3b 10 c2 71 |TW!.J4>..9..;..q|
00000230 c2 d6 7c 47 d2 55 78 6d c3 55 ec 0e a8 ae 5c f0 |..|G.Uxm.U....\.|
00000240 13 e7 c2 13 35 f5 2f c9 91 60 53 50 f5 d2 c7 39 |....5./..`SP...9|
00000250 28 6f 62 1e 06 af e5 99 97 c0 f3 62 91 61 eb 77 |(ob........b.a.w|
00000260 31 55 06 f5 9a bd cf 35 14 5a a6 79 12 5a 2e 15 |1U.....5.Z.y.Z..|
00000270 90 e7 7f 80 b0 ea 80 77 e9 8b 1c 64 19 09 72 cb |.......w...d..r.|
00000280 4f 6d 7d b7 bf 97 2f 8f 3c f5 ca 94 12 21 3e 00 |Om}.../.<....!>.|
00000290 87 12 b9 e2 75 a5 7c d4 0d c1 2c 38 4b f3 e4 12 |....u.|...,8K...|
000002a0 32 50 4e be 63 bd d7 c1 5a b2 a5 f6 19 0f f9 39 |2PN.c...Z......9|
000002b0 a1 96 ea 76 a3 4d 78 6a ec d1 ed 48 2b 96 07 94 |...v.Mxj...H+...|
000002c0 e2 81 21 a4 3c 9e d6 fa e1 ec d3 48 46 ed a8 f3 |..!.<......HF...|
000002d0 9f 43 ed 2c d4 ce 7b 8f 95 45 ad f2 8b ab 95 e9 |.C.,..{..E......|
000002e0 ae 77 4c b6 51 1d da df f0 d9 89 43 79 e6 18 24 |.wL.Q......Cy..$|
000002f0 d0 3f 61 b3 fc 17 13 ef 00 9f e6 5c 4e d0 37 9b |.?a........\N.7.|
00000300 4e dd 98 99 d3 56 e3 ef f6 a7 67 d0 de d8 8d a5 |N....V....g.....|
00000310 35 e5 3c 17 03 03 00 99 ae a1 ae 37 5b 92 ff 96 |5.<........7[...|
00000320 a7 37 ee 82 ce 88 9f 35 0a 65 d6 ef ea bf 0f c7 |.7.....5.e......|
00000330 1f f7 a2 e7 73 31 f7 f0 91 11 35 81 2a 01 38 01 |....s1....5.*.8.|
00000340 c4 12 fc fe db b2 11 76 ca 39 ab 89 21 36 ee 6d |.......v.9..!6.m|
00000350 05 e5 85 1a 9d 29 14 bc 30 e9 67 2a db 46 60 1a |.....)..0.g*.F`.|
00000360 69 14 ee ad 61 33 73 a4 cd 8f 7a fb 41 b4 7c 8a |i...a3s...z.A.|.|
00000370 ee fb 19 59 dd c7 4c 18 f1 b5 a2 68 24 75 8e 4c |...Y..L....h$u.L|
00000380 8e a0 55 4c ec 5f 3e 17 43 c4 7a c7 cd 10 bb ac |..UL._>.C.z.....|
00000390 0c 2d 6a 42 0c 12 a3 0e 96 ee 14 51 9d 2c bf a6 |.-jB.......Q.,..|
000003a0 16 ab 7b 62 93 2c 00 04 69 61 36 10 57 ce 1c af |..{b.,..ia6.W...|
000003b0 5c 17 03 03 00 35 a2 f6 61 37 7d df 2d 33 de 5b |\....5..a7}.-3.[|
000003c0 1c 17 48 6e 0e 04 10 48 68 a5 7c ed 42 9c ea ee |..Hn...Hh.|.B...|
000003d0 ec 41 01 a9 4a 6c cc 76 50 d4 d9 04 05 a8 ca d7 |.A..Jl.vP.......|
000003e0 81 50 40 64 66 2e e2 7b eb 53 c3 |.P@df..{.S.|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 43 67 0d 95 a6 |..........5Cg...|
00000010 2f 44 15 af 1a 2c 84 b1 0e 1b f2 29 ac 35 4b d3 |/D...,.....).5K.|
00000020 43 36 7d 4c a4 69 e8 29 0f 96 2d 12 c7 4d f9 ca |C6}L.i.)..-..M..|
00000030 59 db 8d d7 14 21 19 53 f2 af 80 0d 63 8c 4b 78 |Y....!.S....c.Kx|
00000040 17 03 03 00 17 28 c3 36 63 71 b5 38 40 48 d4 a3 |.....(.6cq.8@H..|
00000050 7c 56 9c 08 4b 50 b7 b8 42 83 c5 b6 ||V..KP..B...|
>>> Flow 4 (server to client)
00000000 17 03 03 00 ea 6f a1 39 de 83 4b b7 6a 68 15 41 |.....o.9..K.jh.A|
00000010 1d 6e 9b 00 5c 49 47 fd f1 11 88 ba fb 7e 7d 40 |.n..\IG......~}@|
00000020 da 58 fb a8 a6 6b 33 4c 35 d9 91 e2 c8 3e a9 f8 |.X...k3L5....>..|
00000030 61 ad 30 d6 22 36 43 97 6d d1 e8 bd df 24 f9 4a |a.0."6C.m....$.J|
00000040 fd ab e0 ae 59 9b 81 06 bf b3 d5 e7 ad 5b 0c d8 |....Y........[..|
00000050 a4 63 9f ec 59 ec b0 ab 96 9d 44 35 a7 b2 c5 f4 |.c..Y.....D5....|
00000060 fb df 26 ce 8a 14 1a 66 3d 8a 42 b4 d7 bc c8 d7 |..&....f=.B.....|
00000070 b0 bb c3 c2 1a 2c 1f 3e cc 9e 01 8d 20 25 9a a8 |.....,.>.... %..|
00000080 03 c4 c4 94 37 8d 65 e3 85 01 c9 9b 74 99 18 0b |....7.e.....t...|
00000090 e1 1c 2b d3 be 5a 96 ba 64 ba db 6b d9 ef ba b5 |..+..Z..d..k....|
000000a0 4c d0 ed 0a 68 6d 65 20 dc 99 7e 35 17 72 e7 02 |L...hme ..~5.r..|
000000b0 a3 0e 2f fc 1b 56 44 71 30 67 f1 a9 55 a4 08 02 |../..VDq0g..U...|
000000c0 d4 1a e0 d1 d1 36 0e fb 0b 23 e3 48 78 f9 07 3d |.....6...#.Hx..=|
000000d0 92 7f db f1 41 73 e1 59 60 df c5 18 4b 22 8d cf |....As.Y`...K"..|
000000e0 11 b1 45 de ed be 11 9d 3d b5 70 a5 47 a6 27 17 |..E.....=.p.G.'.|
000000f0 03 03 00 ea 79 ba a6 ca 53 f4 7e e9 15 12 90 d5 |....y...S.~.....|
00000100 ed 0d 63 eb 5a 71 8d 27 86 bb d8 97 1b 11 c2 f6 |..c.Zq.'........|
00000110 14 2c 09 92 f0 89 54 b9 a7 01 26 41 80 1b 2f 7e |.,....T...&A../~|
00000120 49 94 d7 97 02 94 fc 9e cd d9 37 50 f4 02 10 c0 |I.........7P....|
00000130 a3 a2 d3 69 29 cc 1c 4c 1e b9 98 14 b9 c1 73 89 |...i)..L......s.|
00000140 02 fc 2a 51 fe 22 0d 1e fb 0a ab ee 0e a3 a9 fc |..*Q."..........|
00000150 46 61 e6 39 17 41 9c 89 5b 5a 82 87 88 b2 d1 03 |Fa.9.A..[Z......|
00000160 f7 cd 38 04 46 b7 2b 88 3c 41 67 b2 37 68 3d 52 |..8.F.+.<Ag.7h=R|
00000170 32 68 82 c6 3b 56 d5 51 8b 42 f5 af 6b df 9b 45 |2h..;V.Q.B..k..E|
00000180 76 73 e8 5a 40 f1 f5 a1 06 40 5d e0 23 7a ce a4 |vs.Z@....@].#z..|
00000190 f4 81 d0 8b 14 47 a6 06 77 f3 65 bd 7d 81 5d c1 |.....G..w.e.}.].|
000001a0 44 c1 2b 12 24 7d 47 6d d8 62 c8 be 86 1b 2c ab |D.+.$}Gm.b....,.|
000001b0 ff 05 5d 2b 24 a6 dd 9d 07 5b 0b 2e 95 7f 0c be |..]+$....[......|
000001c0 b8 1a f9 86 db 62 d5 fc ce 7d fe 41 fc fd 5b 1d |.....b...}.A..[.|
000001d0 56 29 92 73 16 43 e1 56 97 1a 92 db 79 90 |V).s.C.V....y.|
>>> Flow 5 (client to server)
00000000 17 03 03 00 13 c3 f3 6f 0c 4f 5e ea 60 19 2e 47 |.......o.O^.`..G|
00000010 54 66 89 77 8c 56 01 ff |Tf.w.V..|