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