utls/testdata/Server-TLSv12-ALPN-NotConfigured
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

90 lines
6.7 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 00 9d 01 00 00 99 03 03 bb e1 68 3f af |.............h?.|
00000010 af fa ac f8 b0 88 0d 9f 2f a0 8b fe fd 50 a7 b4 |......../....P..|
00000020 63 b7 05 84 8a 57 f0 cf 9d 26 79 00 00 04 cc a8 |c....W...&y.....|
00000030 00 ff 01 00 00 6c 00 0b 00 04 03 00 01 02 00 0a |.....l..........|
00000040 00 0c 00 0a 00 1d 00 17 00 1e 00 19 00 18 00 23 |...............#|
00000050 00 00 00 10 00 10 00 0e 06 70 72 6f 74 6f 32 06 |.........proto2.|
00000060 70 72 6f 74 6f 31 00 16 00 00 00 17 00 00 00 0d |proto1..........|
00000070 00 30 00 2e 04 03 05 03 06 03 08 07 08 08 08 09 |.0..............|
00000080 08 0a 08 0b 08 04 08 05 08 06 04 01 05 01 06 01 |................|
00000090 03 03 02 03 03 01 02 01 03 02 02 02 04 02 05 02 |................|
000000a0 06 02 |..|
>>> Flow 2 (server to client)
00000000 16 03 03 00 3f 02 00 00 3b 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 44 4f 57 4e 47 52 44 01 00 cc a8 00 00 |...DOWNGRD......|
00000030 13 00 23 00 00 ff 01 00 01 00 00 17 00 00 00 0b |..#.............|
00000040 00 02 01 00 16 03 03 02 59 0b 00 02 55 00 02 52 |........Y...U..R|
00000050 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 02 01 02 |..O0..K0........|
00000060 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d 06 09 2a |......?.[..0...*|
00000070 86 48 86 f7 0d 01 01 0b 05 00 30 1f 31 0b 30 09 |.H........0.1.0.|
00000080 06 03 55 04 0a 13 02 47 6f 31 10 30 0e 06 03 55 |..U....Go1.0...U|
00000090 04 03 13 07 47 6f 20 52 6f 6f 74 30 1e 17 0d 31 |....Go Root0...1|
000000a0 36 30 31 30 31 30 30 30 30 30 30 5a 17 0d 32 35 |60101000000Z..25|
000000b0 30 31 30 31 30 30 30 30 30 30 5a 30 1a 31 0b 30 |0101000000Z0.1.0|
000000c0 09 06 03 55 04 0a 13 02 47 6f 31 0b 30 09 06 03 |...U....Go1.0...|
000000d0 55 04 03 13 02 47 6f 30 81 9f 30 0d 06 09 2a 86 |U....Go0..0...*.|
000000e0 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 |H............0..|
000000f0 02 81 81 00 db 46 7d 93 2e 12 27 06 48 bc 06 28 |.....F}...'.H..(|
00000100 21 ab 7e c4 b6 a2 5d fe 1e 52 45 88 7a 36 47 a5 |!.~...]..RE.z6G.|
00000110 08 0d 92 42 5b c2 81 c0 be 97 79 98 40 fb 4f 6d |...B[.....y.@.Om|
00000120 14 fd 2b 13 8b c2 a5 2e 67 d8 d4 09 9e d6 22 38 |..+.....g....."8|
00000130 b7 4a 0b 74 73 2b c2 34 f1 d1 93 e5 96 d9 74 7b |.J.ts+.4......t{|
00000140 f3 58 9f 6c 61 3c c0 b0 41 d4 d9 2b 2b 24 23 77 |.X.la<..A..++$#w|
00000150 5b 1c 3b bd 75 5d ce 20 54 cf a1 63 87 1d 1e 24 |[.;.u]. T..c...$|
00000160 c4 f3 1d 1a 50 8b aa b6 14 43 ed 97 a7 75 62 f4 |....P....C...ub.|
00000170 14 c8 52 d7 02 03 01 00 01 a3 81 93 30 81 90 30 |..R.........0..0|
00000180 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 05 a0 30 |...U...........0|
00000190 1d 06 03 55 1d 25 04 16 30 14 06 08 2b 06 01 05 |...U.%..0...+...|
000001a0 05 07 03 01 06 08 2b 06 01 05 05 07 03 02 30 0c |......+.......0.|
000001b0 06 03 55 1d 13 01 01 ff 04 02 30 00 30 19 06 03 |..U.......0.0...|
000001c0 55 1d 0e 04 12 04 10 9f 91 16 1f 43 43 3e 49 a6 |U..........CC>I.|
000001d0 de 6d b6 80 d7 9f 60 30 1b 06 03 55 1d 23 04 14 |.m....`0...U.#..|
000001e0 30 12 80 10 48 13 49 4d 13 7e 16 31 bb a3 01 d5 |0...H.IM.~.1....|
000001f0 ac ab 6e 7b 30 19 06 03 55 1d 11 04 12 30 10 82 |..n{0...U....0..|
00000200 0e 65 78 61 6d 70 6c 65 2e 67 6f 6c 61 6e 67 30 |.example.golang0|
00000210 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 03 81 |...*.H..........|
00000220 81 00 9d 30 cc 40 2b 5b 50 a0 61 cb ba e5 53 58 |...0.@+[P.a...SX|
00000230 e1 ed 83 28 a9 58 1a a9 38 a4 95 a1 ac 31 5a 1a |...(.X..8....1Z.|
00000240 84 66 3d 43 d3 2d d9 0b f2 97 df d3 20 64 38 92 |.f=C.-...... d8.|
00000250 24 3a 00 bc cf 9c 7d b7 40 20 01 5f aa d3 16 61 |$:....}.@ ._...a|
00000260 09 a2 76 fd 13 c3 cc e1 0c 5c ee b1 87 82 f1 6c |..v......\.....l|
00000270 04 ed 73 bb b3 43 77 8d 0c 1c f1 0f a1 d8 40 83 |..s..Cw.......@.|
00000280 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 c1 b3 3e |a.Lr+...F..M...>|
00000290 c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 d3 3b e9 |...B...=.`.\!.;.|
000002a0 fa e7 16 03 03 00 ac 0c 00 00 a8 03 00 1d 20 2f |.............. /|
000002b0 e5 7d a3 47 cd 62 43 15 28 da ac 5f bb 29 07 30 |.}.G.bC.(.._.).0|
000002c0 ff f6 84 af c4 cf c2 ed 90 99 5f 58 cb 3b 74 08 |.........._X.;t.|
000002d0 04 00 80 88 15 8c 7d 2f f5 a0 bf c4 75 b1 10 75 |......}/....u..u|
000002e0 2c d7 0a 24 c5 49 dd bc 05 6f d7 ea d0 8f 7f af |,..$.I...o......|
000002f0 d3 5e f7 ba 3f 75 90 24 e0 9a 7d 4b 90 ba c6 3d |.^..?u.$..}K...=|
00000300 34 68 1c 0f 26 50 d9 96 a4 23 18 61 e9 80 a5 b4 |4h..&P...#.a....|
00000310 a1 3f 48 ad 57 e3 e2 2c d8 7d 81 b0 5b 6b 05 61 |.?H.W..,.}..[k.a|
00000320 3f b4 82 9b b5 ca 74 f6 8c ad f9 67 05 c9 2d d2 |?.....t....g..-.|
00000330 50 cc 5a dc c1 d6 10 30 08 20 a8 42 84 58 76 7d |P.Z....0. .B.Xv}|
00000340 2b b8 47 bd 48 ef a6 4b bc 3d d5 fc e9 c3 6c b5 |+.G.H..K.=....l.|
00000350 e0 dc 37 16 03 03 00 04 0e 00 00 00 |..7.........|
>>> Flow 3 (client to server)
00000000 16 03 03 00 25 10 00 00 21 20 7d 65 94 48 54 1f |....%...! }e.HT.|
00000010 8c 45 6a 7f ce f3 07 72 72 db 07 6e 23 0d 03 d0 |.Ej....rr..n#...|
00000020 73 e5 2c af 04 5e ca 1d 61 6e 14 03 03 00 01 01 |s.,..^..an......|
00000030 16 03 03 00 20 18 18 32 97 0c 0c 6a fd 2f f6 68 |.... ..2...j./.h|
00000040 20 6c 32 b1 8c ff a0 cb 32 3b c3 65 85 15 92 93 | l2.....2;.e....|
00000050 a5 94 64 93 23 |..d.#|
>>> Flow 4 (server to client)
00000000 16 03 03 00 80 04 00 00 7c 00 00 00 00 00 76 00 |........|.....v.|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 94 |................|
00000020 6f 2d 7c 2b 51 ed 14 ef 68 ca 42 c5 4c 0e 59 08 |o-|+Q...h.B.L.Y.|
00000030 69 66 16 50 2d 6e 49 11 fa 71 df 62 61 83 bc 7b |if.P-nI..q.ba..{|
00000040 03 f7 96 d1 a4 3d 92 cf b5 34 22 4b 5d 1f 6c ba |.....=...4"K].l.|
00000050 8d 0f db 43 a9 03 31 ac 73 d7 82 6c d9 49 38 16 |...C..1.s..l.I8.|
00000060 7e 51 5c e5 15 d0 0d 1b 56 38 37 be 4e a1 71 5f |~Q\.....V87.N.q_|
00000070 3f 0c 29 04 21 3c 1d 66 d8 cd 39 ef ac 52 f6 18 |?.).!<.f..9..R..|
00000080 5b fe 00 f0 52 14 03 03 00 01 01 16 03 03 00 20 |[...R.......... |
00000090 ec bb ff 46 35 98 ea ac 58 8b d3 56 b5 dc 64 c0 |...F5...X..V..d.|
000000a0 e1 7f 7f f7 7b 4f c3 98 49 50 98 b6 7c b7 99 6f |....{O..IP..|..o|
000000b0 17 03 03 00 1d b0 12 26 23 64 99 2f c3 e3 91 e1 |.......&#d./....|
000000c0 1f 76 af 23 d9 4e d3 d7 8c 0c 5d 3a 17 72 d3 90 |.v.#.N....]:.r..|
000000d0 2a 63 15 03 03 00 12 f3 cd 6b 69 a3 a7 36 ee 66 |*c.......ki..6.f|
000000e0 af 8a f0 fe ce 4d 87 f1 98 |.....M...|