utls/testdata/Server-TLSv13-IssueTicketPreDisable
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

98 lines
7.3 KiB
Text

>>> Flow 1 (client to server)
00000000 16 03 01 00 ce 01 00 00 ca 03 03 ce 7e 18 d7 48 |............~..H|
00000010 d4 9c 98 95 ef 53 20 6b af 27 2c e9 4b f5 fd d1 |.....S k.',.K...|
00000020 b7 e7 cf 89 95 24 a2 b6 3f a6 48 20 80 a4 f8 a6 |.....$..?.H ....|
00000030 96 d7 76 ad 98 e4 f6 6e 6d 48 c9 d4 77 c5 ce 30 |..v....nmH..w..0|
00000040 13 d0 47 0e 59 ca 30 1b 26 01 d3 96 00 04 13 01 |..G.Y.0.&.......|
00000050 00 ff 01 00 00 7d 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 16 00 00 00 17 00 00 00 0d 00 1e 00 1c |................|
00000080 04 03 05 03 06 03 08 07 08 08 08 09 08 0a 08 0b |................|
00000090 08 04 08 05 08 06 04 01 05 01 06 01 00 2b 00 03 |.............+..|
000000a0 02 03 04 00 2d 00 02 01 01 00 33 00 26 00 24 00 |....-.....3.&.$.|
000000b0 1d 00 20 00 3a 93 6e 68 39 4d c8 80 23 b0 b8 2d |.. .:.nh9M..#..-|
000000c0 30 0d 19 d8 ce 95 31 f5 0b 5f 39 54 a7 98 6f 88 |0.....1.._9T..o.|
000000d0 c8 52 50 |.RP|
>>> 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 80 a4 f8 a6 |........... ....|
00000030 96 d7 76 ad 98 e4 f6 6e 6d 48 c9 d4 77 c5 ce 30 |..v....nmH..w..0|
00000040 13 d0 47 0e 59 ca 30 1b 26 01 d3 96 13 01 00 00 |..G.Y.0.&.......|
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 67 92 de 58 e6 a7 |..........g..X..|
00000090 a0 15 83 48 39 a0 71 40 35 04 27 b5 fb ac 3f d0 |...H9.q@5.'...?.|
000000a0 04 17 03 03 02 6d 20 5f 87 47 d8 ea c6 97 b4 dd |.....m _.G......|
000000b0 4d 95 39 22 d6 2e 65 ff ce 63 77 d6 b0 82 a5 b3 |M.9"..e..cw.....|
000000c0 aa a5 3b 61 24 86 70 b6 d9 8a 24 3e 24 20 cb 57 |..;a$.p...$>$ .W|
000000d0 d6 44 f7 e4 77 31 78 eb 2f 0d bc 48 bd ac 77 6e |.D..w1x./..H..wn|
000000e0 1a 51 67 7b eb 48 4a 78 cb de dc 80 4e a3 82 0c |.Qg{.HJx....N...|
000000f0 02 45 b8 e3 48 0b b5 c8 e9 51 17 61 f9 a0 f0 74 |.E..H....Q.a...t|
00000100 8a 29 c6 05 31 c4 6b c5 a4 d3 65 2e d4 17 29 18 |.)..1.k...e...).|
00000110 2a b0 19 95 b4 90 44 16 8e 9e 2c 4a a1 70 0c 92 |*.....D...,J.p..|
00000120 bd 27 0e 91 5e 21 75 00 5d 55 12 16 c9 b2 6a 11 |.'..^!u.]U....j.|
00000130 20 17 18 f1 00 e8 71 38 03 ab 85 39 c9 72 a1 81 | .....q8...9.r..|
00000140 42 94 82 1c 8c 15 95 32 8a 27 a3 59 e6 d8 b4 36 |B......2.'.Y...6|
00000150 b8 37 e0 53 3f cf 7e 53 01 b0 c1 da 82 d7 b6 d7 |.7.S?.~S........|
00000160 a9 7a c0 fa ec 9c 82 37 28 cf 45 6a aa d8 38 18 |.z.....7(.Ej..8.|
00000170 14 92 42 62 0a 3c 29 34 a8 da c6 f8 f0 b1 c7 4d |..Bb.<)4.......M|
00000180 b9 75 ba a7 20 f1 78 00 77 01 2f d9 58 dc 2c 20 |.u.. .x.w./.X., |
00000190 05 b7 84 7c 7e fc 3c 92 ad f3 0b ba 78 a1 c0 be |...|~.<.....x...|
000001a0 19 8b 11 9b 26 ee 9f 29 bc 3f 61 a6 7a 78 a9 d3 |....&..).?a.zx..|
000001b0 94 24 b2 4d b1 76 7a 6f 72 7b fd 5d 40 70 75 91 |.$.M.vzor{.]@pu.|
000001c0 a8 1e 51 50 c9 88 a0 f6 87 9d db 2e 7e a6 78 9c |..QP........~.x.|
000001d0 8d b5 13 84 c7 56 fd 59 fe ec d4 45 be 04 06 cc |.....V.Y...E....|
000001e0 81 9e 51 8c e6 3f c0 0f 6e 24 40 48 ce fb 3f 17 |..Q..?..n$@H..?.|
000001f0 d5 ec f6 7b f8 e8 64 fc 19 1b e4 ce bc 94 3f 89 |...{..d.......?.|
00000200 11 ea 2f 48 6e 99 09 f4 65 5b c6 e3 b8 4d 61 c2 |../Hn...e[...Ma.|
00000210 ea 70 d9 60 58 55 29 a5 e4 b2 0b 5b 84 f4 b8 87 |.p.`XU)....[....|
00000220 e1 9c 56 27 3b d3 c3 48 c9 dc 20 71 7e 94 8f 99 |..V';..H.. q~...|
00000230 91 a8 da 48 6d 94 32 98 86 51 ae 89 04 49 64 5a |...Hm.2..Q...IdZ|
00000240 de 28 eb 4c 57 68 d9 f1 a2 57 f9 1e 07 53 1e 2e |.(.LWh...W...S..|
00000250 5b d2 c5 a9 09 c3 8a e2 d2 25 05 5d 47 8d f7 a0 |[........%.]G...|
00000260 a7 b9 e7 95 e3 7f 10 b0 f2 48 96 f0 fa ae 21 3a |.........H....!:|
00000270 8a d3 d3 03 7f 19 8e de ea 2a fb 21 d9 a0 a6 92 |.........*.!....|
00000280 2f f7 55 21 5d 50 46 86 03 e9 f9 30 89 2e e7 9f |/.U!]PF....0....|
00000290 65 f9 e6 81 c9 21 d6 3d 0e 27 45 be 73 e2 7d 7f |e....!.=.'E.s.}.|
000002a0 45 c7 25 8b 72 34 e3 5b bd 2a e7 10 58 e7 2e 17 |E.%.r4.[.*..X...|
000002b0 2b ed 8f b2 82 b0 ae 45 f4 f2 be 38 88 b7 d7 1b |+......E...8....|
000002c0 4a 8d dc 83 28 1c c0 8f dd 71 6b 4d e7 4c 93 bd |J...(....qkM.L..|
000002d0 5b 2c 81 bb 4d 17 51 96 22 b3 bc 33 a6 d4 e6 fa |[,..M.Q."..3....|
000002e0 4f ac 49 e3 94 0c 49 af 09 34 ae 76 b0 98 01 e9 |O.I...I..4.v....|
000002f0 ec 3c 6e 2e 4c 4f bf c2 67 b6 f2 3e f9 aa 21 22 |.<n.LO..g..>..!"|
00000300 05 f7 08 0e e2 7e a5 ae dd ae 09 4a cd 42 4b 43 |.....~.....J.BKC|
00000310 a1 28 0a 17 03 03 00 99 4c ec 7b 01 4d 42 22 a4 |.(......L.{.MB".|
00000320 c4 88 dc c9 37 76 c2 5b e5 2c 23 70 63 62 8a bd |....7v.[.,#pcb..|
00000330 4f b3 ca 67 99 3c b8 de cd a5 00 2d 1f cd fd bd |O..g.<.....-....|
00000340 09 4c 6a 23 d8 7c 2a 53 92 1f 16 9f e7 6c 3a 39 |.Lj#.|*S.....l:9|
00000350 39 af 7f f2 d9 06 18 e8 a3 77 23 1d 25 48 b7 ef |9........w#.%H..|
00000360 00 f7 ed 80 97 01 50 d7 e7 30 3e 64 14 83 66 c3 |......P..0>d..f.|
00000370 d0 fc d0 f7 2c 6b 74 98 72 64 18 2c 62 b4 27 f7 |....,kt.rd.,b.'.|
00000380 99 bb c0 91 ea 9b ff 60 fa 16 3c 66 92 f2 de 15 |.......`..<f....|
00000390 79 05 24 b2 5b 05 a5 5f 0b 0e 65 96 58 ab 68 03 |y.$.[.._..e.X.h.|
000003a0 91 0e f0 bb 9a 3c 7d 24 7f ea 7b 41 18 b7 ac 00 |.....<}$..{A....|
000003b0 0b 17 03 03 00 35 c5 91 97 a8 66 c3 4b 20 cc c0 |.....5....f.K ..|
000003c0 d2 b6 88 53 40 ce 6f d3 63 1c 05 83 89 f5 ab 3e |...S@.o.c......>|
000003d0 b9 1a ec 71 b0 d3 0b b9 a0 c8 a2 da dc c5 72 8c |...q..........r.|
000003e0 a7 65 ff b3 4b 93 cd 92 05 4b ca 17 03 03 00 88 |.e..K....K......|
000003f0 ff 7f 3d 21 c6 19 40 af 01 a8 4d 8f af f3 94 ac |..=!..@...M.....|
00000400 c2 ee 67 a9 ac 87 4d 09 12 36 8f f4 ee 5c 9c 3a |..g...M..6...\.:|
00000410 a7 48 ac de d9 d9 4f 9b 97 5a 76 2f 92 91 e4 1b |.H....O..Zv/....|
00000420 b4 74 1a da 9d 52 c8 8d 10 03 56 b8 9d 96 e4 92 |.t...R....V.....|
00000430 b7 d9 ab 39 47 e2 ec 27 0a 00 55 7e 16 dc e8 b0 |...9G..'..U~....|
00000440 ad 30 c3 57 54 c7 97 8d 26 71 80 31 27 b6 0e fc |.0.WT...&q.1'...|
00000450 ac ff 50 3a 16 e0 f1 e7 02 3b 30 f4 6f f2 72 30 |..P:.....;0.o.r0|
00000460 40 8b 4b 1d 2c 31 ec ce ee 46 24 cf e4 83 c6 b0 |@.K.,1...F$.....|
00000470 b9 11 5b f9 14 dc c0 50 |..[....P|
>>> Flow 3 (client to server)
00000000 14 03 03 00 01 01 17 03 03 00 35 8d c2 91 42 bb |..........5...B.|
00000010 59 56 52 f6 be d3 1e b8 73 e2 6f cd 7e b7 65 6b |YVR.....s.o.~.ek|
00000020 45 6c 59 00 31 96 c8 ac 9d 91 5f d9 02 31 17 ed |ElY.1....._..1..|
00000030 a5 91 6d 00 9e 44 0f ae 33 d1 a9 c3 6b f7 a1 fa |..m..D..3...k...|
>>> Flow 4 (server to client)
00000000 17 03 03 00 1e f6 8f cc 46 63 2c e9 70 d9 0e 9d |........Fc,.p...|
00000010 86 5e a2 f0 c1 94 41 01 54 50 48 24 22 bf 41 f3 |.^....A.TPH$".A.|
00000020 8a eb 76 17 03 03 00 13 c9 63 39 fa 7a c6 da df |..v......c9.z...|
00000030 f4 49 08 0f 95 43 09 4a c1 5d cc |.I...C.J.].|