utls/testdata/Server-TLSv13-ALPN-Fallback
Filippo Valsorda d154b73cf1 crypto/tls: implement Extended Master Secret
All OpenSSL tests now test operation with EMS. To test a handshake
*without* EMS we need to pass -Options=-ExtendedMasterSecret which is
only available in OpenSSL 3.1, which breaks a number of other tests.

Updates #43922

Change-Id: Ib9ac79a1d03fab6bfba5fe9cd66689cff661cda7
Reviewed-on: https://go-review.googlesource.com/c/go/+/497376
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2023-05-25 00:13:30 +00:00

99 lines
7.4 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 00 eb 01 00 00 e7 03 03 cc e4 f9 6e 66 |..............nf|
00000010 77 e9 b4 e6 54 d2 65 47 46 1b ad 21 35 ae c2 6b |w...T.eGF..!5..k|
00000020 40 96 00 97 e1 fd ce 0b 11 7a be 20 51 69 17 c8 |@........z. Qi..|
00000030 aa fa 20 4f 3b 3f 4f ac 5c 02 4c aa 7a 84 4d 46 |.. O;?O.\.L.z.MF|
00000040 4b 60 11 f4 66 88 bd dd 76 41 dc 31 00 04 13 03 |K`..f...vA.1....|
00000050 00 ff 01 00 00 9a 00 0b 00 04 03 00 01 02 00 0a |................|
00000060 00 0c 00 0a 00 1d 00 17 00 1e 00 19 00 18 00 23 |...............#|
00000070 00 00 00 10 00 19 00 17 06 70 72 6f 74 6f 33 08 |.........proto3.|
00000080 68 74 74 70 2f 31 2e 31 06 70 72 6f 74 6f 34 00 |http/1.1.proto4.|
00000090 16 00 00 00 17 00 00 00 0d 00 1e 00 1c 04 03 05 |................|
000000a0 03 06 03 08 07 08 08 08 09 08 0a 08 0b 08 04 08 |................|
000000b0 05 08 06 04 01 05 01 06 01 00 2b 00 03 02 03 04 |..........+.....|
000000c0 00 2d 00 02 01 01 00 33 00 26 00 24 00 1d 00 20 |.-.....3.&.$... |
000000d0 c8 f3 33 2e 23 4d b2 e1 c8 a0 23 2c 25 f5 48 73 |..3.#M....#,%.Hs|
000000e0 f5 1d a7 af 17 60 c8 0e 4e b7 d1 49 7d 6e e1 0a |.....`..N..I}n..|
>>> Flow 2 (server to client)
00000000 16 03 03 00 7a 02 00 00 76 03 03 00 00 00 00 00 |....z...v.......|
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 51 69 17 c8 |........... Qi..|
00000030 aa fa 20 4f 3b 3f 4f ac 5c 02 4c aa 7a 84 4d 46 |.. O;?O.\.L.z.MF|
00000040 4b 60 11 f4 66 88 bd dd 76 41 dc 31 13 03 00 00 |K`..f...vA.1....|
00000050 2e 00 2b 00 02 03 04 00 33 00 24 00 1d 00 20 2f |..+.....3.$... /|
00000060 e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 07 30 |.}.G.bC.(.._.).0|
00000070 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 14 |.........._X.;t.|
00000080 03 03 00 01 01 17 03 03 00 17 9a 04 f3 14 2b 0b |..............+.|
00000090 55 2f e3 7a 17 52 0d 1f 40 f4 6d f3 d6 63 26 1c |U/.z.R..@.m..c&.|
000000a0 67 17 03 03 02 6d 34 32 24 d0 fd 2b 36 0a 15 87 |g....m42$..+6...|
000000b0 10 c7 ed 13 b7 a2 dd 9a 35 1e 17 6a ba c6 df 1e |........5..j....|
000000c0 f8 93 e2 0e 31 5c 16 e6 04 00 0b 4e 56 2d d3 39 |....1\.....NV-.9|
000000d0 36 4a 35 4f 9e fa 20 3b 83 a6 e4 fe 83 d3 7a 9b |6J5O.. ;......z.|
000000e0 7c a9 5a 47 4b 6b ec 6b 0f 63 11 56 49 a9 c4 1f ||.ZGKk.k.c.VI...|
000000f0 0b 70 ba 2e 3d 16 ff 4f bb f2 ba 5c 6b b2 00 82 |.p..=..O...\k...|
00000100 35 54 01 ba b5 12 e1 cc cc 4a 4e de e8 8a fd ee |5T.......JN.....|
00000110 ac 89 b9 9d 82 e2 fe 6b 19 e5 05 15 54 6c 99 93 |.......k....Tl..|
00000120 9f a8 47 41 9b 16 46 e2 0e 16 88 a0 51 8e ec 88 |..GA..F.....Q...|
00000130 45 8d 42 53 e3 5f 6f 5d f5 c3 e5 20 65 37 75 5a |E.BS._o]... e7uZ|
00000140 49 da 3e d9 a6 5c 79 13 1a e7 b2 83 89 6e 1b c3 |I.>..\y......n..|
00000150 9d 50 dc 19 06 8a bb dc a6 bd 05 41 1f 1f fe 95 |.P.........A....|
00000160 8d b7 7b be 8b f1 0c 90 23 31 ed d7 9c 77 35 a8 |..{.....#1...w5.|
00000170 b7 5f 3c be 23 86 69 92 a1 02 9c 44 bc eb 28 5a |._<.#.i....D..(Z|
00000180 99 55 c9 04 be 68 eb 8e b8 2d 56 40 91 c0 87 e1 |.U...h...-V@....|
00000190 0a ab 6a 99 22 42 f5 f9 a1 c8 fc 47 28 23 1e d7 |..j."B.....G(#..|
000001a0 46 ad e8 63 a7 84 b8 f7 8a a6 24 e2 65 0c 40 db |F..c......$.e.@.|
000001b0 17 d3 f2 7f 97 09 2f af 50 77 0e ae c3 d5 c7 04 |....../.Pw......|
000001c0 f1 fc b4 e0 13 75 c0 27 13 40 91 17 1e 76 3b 36 |.....u.'.@...v;6|
000001d0 3c 58 a6 5c 9a b6 7d e8 9f ec 42 73 95 7b 52 9d |<X.\..}...Bs.{R.|
000001e0 6c 0d 79 f3 87 29 09 7c 27 e5 7b b0 5b aa a8 dc |l.y..).|'.{.[...|
000001f0 04 f7 32 52 bc 15 52 98 ad 2d b6 52 89 0d 76 92 |..2R..R..-.R..v.|
00000200 16 0a 38 f3 02 0d 33 ac e8 0d 9a 9a fe 97 26 01 |..8...3.......&.|
00000210 f0 18 26 c9 31 e1 10 2c 7e c8 af 37 b2 fe 12 17 |..&.1..,~..7....|
00000220 89 85 2e 75 38 a0 99 c3 2c b4 e0 5a 86 88 1d 63 |...u8...,..Z...c|
00000230 4d 4f f6 b0 af bb 6d e8 d7 6f 97 74 0a e9 69 82 |MO....m..o.t..i.|
00000240 c8 28 c8 1b ea 9c 19 ff 4d bc 4b 17 72 16 74 2d |.(......M.K.r.t-|
00000250 73 72 e8 a3 9d 76 db 23 79 06 dc a6 53 11 f4 0e |sr...v.#y...S...|
00000260 26 83 76 cf f5 61 cd d6 b5 9e c5 c7 c4 45 3b 3c |&.v..a.......E;<|
00000270 76 01 76 f5 0d 01 6e 6a 59 5d 85 c6 af 71 e2 cd |v.v...njY]...q..|
00000280 62 27 d7 97 a0 ae 51 3b 7e f7 b8 7f db 6f 0e 76 |b'....Q;~....o.v|
00000290 f6 21 ae 35 fc f0 dd f4 9b 30 73 34 46 b1 f5 a6 |.!.5.....0s4F...|
000002a0 42 95 cd f6 f5 a0 0a f7 46 8d d2 77 91 18 1a 2d |B.......F..w...-|
000002b0 fa 6d f4 fe bc 1e dd 2f 2f 1f 10 14 46 54 d1 ef |.m.....//...FT..|
000002c0 02 a4 3b 2e 63 e0 c4 ae 46 bd 66 55 06 1b b4 86 |..;.c...F.fU....|
000002d0 92 0c fd e5 a2 2d 67 01 62 d9 a7 43 1b ec f4 b3 |.....-g.b..C....|
000002e0 4c 15 94 25 6d 71 92 48 dd 93 1a bf 88 2e 16 32 |L..%mq.H.......2|
000002f0 d3 e2 14 50 6a 95 c6 30 2c 4a ee 4f 48 6a c5 f1 |...Pj..0,J.OHj..|
00000300 66 d3 07 05 f4 45 e0 f7 9d 56 a1 ff b6 f9 bd d5 |f....E...V......|
00000310 b1 52 b2 17 03 03 00 99 10 0c 1c 36 9a 10 7b 82 |.R.........6..{.|
00000320 cd 1f 2c 29 d8 53 8f 8a 5b 24 98 33 f6 d3 15 a4 |..,).S..[$.3....|
00000330 6d a0 f2 39 be 24 8e f4 69 4c 34 8e 24 9a 38 ca |m..9.$..iL4.$.8.|
00000340 c5 77 63 94 2b ed 7e 82 16 07 e7 15 41 1e 1f 61 |.wc.+.~.....A..a|
00000350 53 8f 30 a5 82 b8 10 4b 2e 48 39 0f 2e 90 c9 fe |S.0....K.H9.....|
00000360 31 e9 8c 38 41 d9 53 a2 29 05 ac ee cf 9e 2f ba |1..8A.S.)...../.|
00000370 aa 27 75 23 07 89 19 8b 84 4c 6b cc c6 be 26 40 |.'u#.....Lk...&@|
00000380 ba b3 9c 08 bc db 2a 01 53 e3 c3 0f 4e db 83 cd |......*.S...N...|
00000390 e7 5a e1 22 2b fb 2d 6b 18 61 7c c2 67 e9 dc b7 |.Z."+.-k.a|.g...|
000003a0 17 4a a3 82 4b 82 2e 37 f5 b9 19 f8 a2 ee 76 e7 |.J..K..7......v.|
000003b0 f0 17 03 03 00 35 b5 34 8f c0 f3 ac 30 13 e1 fa |.....5.4....0...|
000003c0 4a 57 97 95 3d d1 58 41 d6 d3 b3 b9 4d 80 54 fc |JW..=.XA....M.T.|
000003d0 c2 41 78 9e 54 95 ba d5 2b 31 5a 81 d4 1b 45 7f |.Ax.T...+1Z...E.|
000003e0 bb 98 95 55 7f 26 b3 56 35 9c f9 17 03 03 00 88 |...U.&.V5.......|
000003f0 65 7c 27 68 b0 ef 58 29 a9 dd 4b 78 b0 d4 63 94 |e|'h..X)..Kx..c.|
00000400 6b a9 f2 5b e8 05 c3 f1 32 ba b0 02 6c 92 67 c4 |k..[....2...l.g.|
00000410 77 14 23 11 95 d9 08 6d f8 08 21 fa e7 3c 0f 67 |w.#....m..!..<.g|
00000420 93 cf 88 4a d2 66 8d 95 f2 b6 c4 e0 61 26 23 08 |...J.f......a&#.|
00000430 4a 31 4f 76 c2 30 04 4e 2c 72 96 64 25 db 53 47 |J1Ov.0.N,r.d%.SG|
00000440 77 91 e8 29 52 2e 78 c2 f3 d1 95 3c c6 0e a4 45 |w..)R.x....<...E|
00000450 da cc e4 eb a4 b9 e3 86 36 c9 23 23 f1 32 3e 6f |........6.##.2>o|
00000460 ea 56 ba b4 74 39 54 83 e7 ff 4c 95 44 a7 f1 da |.V..t9T...L.D...|
00000470 50 01 14 d1 1f e3 19 e0 |P.......|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 9e ee 82 32 b6 |..........5...2.|
00000010 33 aa 6e fd 8a ee 80 95 2e 9a d8 3b 58 7b e3 e2 |3.n........;X{..|
00000020 c4 75 56 bc cf 9d 82 f7 e9 cf cf 54 ba 56 04 72 |.uV........T.V.r|
00000030 ae 2f 1e fb 87 cc 0f 8c 0f 0d 0c 35 72 bd e6 15 |./.........5r...|
>>> Flow 4 (server to client)
00000000 17 03 03 00 1e ba 1d 68 50 30 17 ee 78 e6 d5 c7 |.......hP0..x...|
00000010 db 67 3a ec fc c4 b2 df 7a cb 59 cd 62 97 3d f3 |.g:.....z.Y.b.=.|
00000020 5b 8b bd 17 03 03 00 13 03 f2 6a 4d 77 af e4 21 |[.........jMw..!|
00000030 38 b1 cc 45 b7 d3 3d 09 8d 31 fe |8..E..=..1.|