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

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 e1 0e 3b 78 6a |....z...v....;xj|
00000010 38 13 a1 75 57 17 86 6a dc e3 04 a4 6c 36 1c 0e |8..uW..j....l6..|
00000020 64 3f 6c f7 47 15 3b 0f c3 fd df 20 00 00 00 00 |d?l.G.;.... ....|
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 4a 48 57 c8 85 2e 21 de 0a 85 d2 4a 32 be f4 af |JHW...!....J2...|
00000070 29 40 43 e9 99 4e b7 34 31 98 ba 0f 61 37 53 14 |)@C..N.41...a7S.|
00000080 03 03 00 01 01 17 03 03 00 17 d4 98 88 f5 e5 2d |...............-|
00000090 56 6f 06 53 8f d8 d8 9d cd 0e a2 04 6c 65 e2 21 |Vo.S........le.!|
000000a0 c4 17 03 03 02 6d c3 10 75 de 57 bc f0 ba 9b cb |.....m..u.W.....|
000000b0 2a 23 cf 41 0d c5 ad 6b ad d9 7c 7e 61 68 fc f2 |*#.A...k..|~ah..|
000000c0 f9 2a 40 ae d3 88 98 b7 35 61 39 30 4c bf 3c 53 |.*@.....5a90L.<S|
000000d0 94 c9 c8 78 f8 f6 c0 16 86 fc 91 c8 9f ca e1 32 |...x...........2|
000000e0 99 fa fa 95 3b a7 dc 70 c7 01 99 e4 b1 1b ab cc |....;..p........|
000000f0 a9 32 fd 9f 21 f2 7c cf 51 ce c0 5b d2 68 23 e8 |.2..!.|.Q..[.h#.|
00000100 19 17 5a f1 5a d6 6f 09 0b 55 6e 30 5e 8e 0a 9d |..Z.Z.o..Un0^...|
00000110 a4 a6 55 27 fa be f9 af e7 62 16 8a e4 73 64 0f |..U'.....b...sd.|
00000120 fe 06 a0 88 f8 2b a0 32 09 8e 04 42 22 4e b0 40 |.....+.2...B"N.@|
00000130 30 5f b9 72 c1 cb 03 a0 c5 77 5a ba 1a 60 f4 4f |0_.r.....wZ..`.O|
00000140 94 07 c4 b1 e8 42 52 24 03 dc d5 9d 10 14 ad 56 |.....BR$.......V|
00000150 c2 81 cf 11 f4 30 a4 f7 fb 65 69 64 a5 e7 45 13 |.....0...eid..E.|
00000160 a7 6e f3 0a 32 33 26 df 74 27 46 32 0d b6 9f 37 |.n..23&.t'F2...7|
00000170 76 3d 43 71 70 83 2c a8 b0 5d 7f 04 b9 57 e1 7f |v=Cqp.,..]...W..|
00000180 e4 a5 57 43 05 52 4b 22 8d a8 ef 15 ff 45 b8 ef |..WC.RK".....E..|
00000190 5e 30 5a 76 3b 40 67 10 84 bf b0 9d 1c 97 1f ba |^0Zv;@g.........|
000001a0 ff 47 06 35 30 bb 1c f4 7a 57 98 ff 8c be c3 42 |.G.50...zW.....B|
000001b0 6c 66 d8 c6 ce 91 91 1d 5f 24 84 33 c3 1b 19 56 |lf......_$.3...V|
000001c0 f2 1e 3d 72 68 96 06 57 d2 7e db 47 34 74 c7 a8 |..=rh..W.~.G4t..|
000001d0 6a 8a e6 e9 85 17 95 19 0d 02 ef a7 4a b0 db e2 |j...........J...|
000001e0 8c 41 2c 13 ea 49 5c 0e 81 f4 4a 67 cd 15 82 11 |.A,..I\...Jg....|
000001f0 27 41 da 9a b5 7d 7a d9 07 e1 81 97 f3 d2 0e 89 |'A...}z.........|
00000200 9f 51 85 c0 2f b0 72 bb fc bb ae 93 3d 11 65 d8 |.Q../.r.....=.e.|
00000210 6b 37 89 1d f8 3b 74 14 e3 de b6 15 ad 47 ff 19 |k7...;t......G..|
00000220 75 92 57 10 d4 b1 f2 f6 21 33 d2 96 4d 1f c1 bc |u.W.....!3..M...|
00000230 5a 27 33 b0 36 6c 70 24 e0 5c 49 1c 96 4f 3f 23 |Z'3.6lp$.\I..O?#|
00000240 b4 87 14 93 2e 6b 16 73 8d 1e 69 0e c5 b5 a1 3b |.....k.s..i....;|
00000250 9a f0 5d 40 a5 a6 f5 22 77 71 91 2a 50 69 df be |..]@..."wq.*Pi..|
00000260 00 71 8d 5d 7b 52 42 90 6d 87 06 81 5c a9 69 b2 |.q.]{RB.m...\.i.|
00000270 83 06 e0 8b c9 33 25 c7 65 23 5c 31 0d 7f 9d d4 |.....3%.e#\1....|
00000280 a0 c5 96 43 68 20 d9 43 e6 be e4 f9 b2 22 56 a8 |...Ch .C....."V.|
00000290 94 d1 0b 67 94 fe 74 f2 dc 5d 54 14 0b 51 22 71 |...g..t..]T..Q"q|
000002a0 34 ca 4d 28 16 8a 5d a4 8c fe a1 f9 fe 1d 35 a0 |4.M(..].......5.|
000002b0 dd 43 c0 38 3c b6 4a 00 30 ec bb 7a f0 9e 0d e8 |.C.8<.J.0..z....|
000002c0 08 18 74 94 df 51 11 28 55 62 25 75 78 0c 89 27 |..t..Q.(Ub%ux..'|
000002d0 79 ef 6e bf fe 68 6d 9f db 1a 54 4d 77 b6 e6 49 |y.n..hm...TMw..I|
000002e0 3a 08 f0 c1 2f e9 bc 9c dd c8 f9 ca a9 f6 22 de |:.../.........".|
000002f0 7a d1 cc 01 ef 7c 68 b8 a0 17 d4 aa d9 06 e4 df |z....|h.........|
00000300 e5 ac fb 6a c9 60 24 9d e3 b5 c2 c8 59 2b 52 a4 |...j.`$.....Y+R.|
00000310 1a e1 ac 17 03 03 00 99 93 a0 bf f3 1c 7d 24 6b |.............}$k|
00000320 84 5b 74 6c 02 d0 71 4c fc 03 5e 6a 59 ef 5c 80 |.[tl..qL..^jY.\.|
00000330 e5 c1 2d 2d 17 19 6d 4d f1 24 e1 da 53 a8 66 41 |..--..mM.$..S.fA|
00000340 ba 38 bc 6f 37 ae 21 8f 11 ae 58 8b a8 bc 5d bb |.8.o7.!...X...].|
00000350 8e b8 b9 15 92 e4 dc 4d 3a 45 bc d6 c7 e6 a2 11 |.......M:E......|
00000360 3b a7 78 0b 1e 1d 6d 4d 76 3d f8 30 44 75 6c fa |;.x...mMv=.0Dul.|
00000370 60 81 c3 7b 41 b0 dd ae 15 7e fe 62 c8 7d 42 39 |`..{A....~.b.}B9|
00000380 a8 cc 15 c6 c2 10 15 1f fc 41 72 7c 1e f4 0b fe |.........Ar|....|
00000390 a3 74 82 bf 15 2f 83 a3 3d c8 2b 87 f2 de 11 f1 |.t.../..=.+.....|
000003a0 65 50 6d d5 ea e8 19 39 99 d7 2a 6b 79 ca f8 00 |ePm....9..*ky...|
000003b0 45 17 03 03 00 35 1c 7a f6 13 6c e1 9e 80 e2 1b |E....5.z..l.....|
000003c0 c6 e4 f0 32 5e 09 94 33 5b 3e 25 29 3c d3 dd 2c |...2^..3[>%)<..,|
000003d0 fa 67 18 5c a9 1a 19 ff 07 71 78 a7 0e fc 4b fc |.g.\.....qx...K.|
000003e0 2f 12 c3 78 4e 7f c1 9a 1e f3 4b |/..xN.....K|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 28 7d 81 d1 1f |..........5(}...|
00000010 cb e0 7d 0c 0d 18 98 b0 5b 89 54 44 64 f5 34 c7 |..}.....[.TDd.4.|
00000020 4e 5f 7b 30 fc 1d 59 15 d2 f0 ee 9c 4a 8b 89 29 |N_{0..Y.....J..)|
00000030 bc 78 3e fa 4a 1c 67 34 eb f3 8d 83 b0 34 74 c7 |.x>.J.g4.....4t.|
00000040 17 03 03 00 17 93 cf db 12 73 6f 5c bc 84 ab 13 |.........so\....|
00000050 fc aa 5a e1 47 33 ce 29 5e 3e f9 15 |..Z.G3.)^>..|
>>> Flow 4 (server to client)
00000000 17 03 03 00 ea 20 5a 5e 69 e1 50 02 e3 98 23 07 |..... Z^i.P...#.|
00000010 dc a7 7e 5f c6 b0 7e ec 76 5b 70 ee 45 04 75 55 |..~_..~.v[p.E.uU|
00000020 2a bb 26 a2 f2 48 7f 5e a3 36 50 9f 97 28 c7 0a |*.&..H.^.6P..(..|
00000030 0d 61 23 ad de 83 29 4f 56 f9 7d 79 da 16 f2 5c |.a#...)OV.}y...\|
00000040 f6 75 a0 e4 4b f1 5f 6c 1d ae 71 c1 cb e6 d5 bf |.u..K._l..q.....|
00000050 72 55 2d 25 13 82 ef 9d a2 87 c9 0d 5e ca ae 4f |rU-%........^..O|
00000060 85 55 14 d6 0a 17 04 5c 86 6b 98 fc f1 f9 8c 9c |.U.....\.k......|
00000070 02 c6 a4 a1 a9 47 c7 c7 26 3d bf 4d 83 19 c5 a0 |.....G..&=.M....|
00000080 5a 2a 3f f1 32 b3 1c 67 72 f2 4f bf d8 fd 60 d3 |Z*?.2..gr.O...`.|
00000090 e2 0e 13 c5 65 90 41 08 22 71 d2 cc a5 11 a8 98 |....e.A."q......|
000000a0 9e 33 b0 a5 bb 1b 90 cb c8 4b b4 88 fe 92 70 3c |.3.......K....p<|
000000b0 04 e0 07 b6 ed e6 53 07 ff cc c6 13 b9 e3 88 50 |......S........P|
000000c0 b9 11 34 32 3d 14 15 af ba f9 00 af cb fa f3 e8 |..42=...........|
000000d0 c7 17 c9 2a 23 7c 8f 13 77 e9 08 e7 ce 27 d7 d1 |...*#|..w....'..|
000000e0 6e b6 e6 14 c2 4b b5 56 df 5f 9d ba 77 c8 c5 17 |n....K.V._..w...|
000000f0 03 03 00 da 7d f6 c8 b8 75 da 4f f1 42 80 a0 04 |....}...u.O.B...|
00000100 4f 2e e1 a3 57 94 e0 79 73 05 e6 f1 ab 89 b1 c6 |O...W..ys.......|
00000110 48 89 53 48 9e eb 96 7b 81 c3 72 27 ec bb 2b 6a |H.SH...{..r'..+j|
00000120 aa 9c 49 bd aa 50 4e c4 d3 24 d6 20 69 11 d8 dd |..I..PN..$. i...|
00000130 76 91 51 df 38 62 e9 a5 63 80 5f a0 19 35 72 30 |v.Q.8b..c._..5r0|
00000140 20 87 24 62 d7 8d aa 32 d3 0e d0 44 06 af c0 e1 | .$b...2...D....|
00000150 59 ad c6 e8 8f 89 2e ee 59 95 f1 f8 26 8e 4b 52 |Y.......Y...&.KR|
00000160 e8 c4 dd 9c 50 bb 45 aa 44 e3 51 a5 45 4e 1c b4 |....P.E.D.Q.EN..|
00000170 cf 52 53 d7 d3 ff 4e c8 76 01 1b ee 37 16 b0 23 |.RS...N.v...7..#|
00000180 5c 19 b1 7b 4d 20 04 28 97 94 e8 d0 46 19 dd 91 |\..{M .(....F...|
00000190 1d 87 66 3c 98 89 0e c0 e2 61 26 6b b9 fb 1b 44 |..f<.....a&k...D|
000001a0 7a 7a 3e c6 39 06 30 1e e6 f7 49 eb 78 17 0e e0 |zz>.9.0...I.x...|
000001b0 c5 a6 f5 c5 f5 92 28 ff 0d ec f9 8b 7a ba cc 3a |......(.....z..:|
000001c0 9b c1 a8 50 46 42 cb 22 2f e2 51 2f 8f 3a |...PFB."/.Q/.:|
>>> Flow 5 (client to server)
00000000 17 03 03 00 13 5a 08 13 c0 7e d2 20 3f ec 2b 03 |.....Z...~. ?.+.|
00000010 a5 89 af 1a ea e2 27 5c |......'\|