cfd077fd28
These were new with TLS 1.2 and, reportedly, some servers require it. Since it's easy, this change adds suport for three flavours of AES-128-CBC with SHA-256 MACs. Other testdata/ files have to be updated because this changes the list of cipher suites offered by default by the client. Fixes #15487. Change-Id: I1b14330c31eeda20185409a37072343552c3464f Reviewed-on: https://go-review.googlesource.com/27315 Run-TryBot: Adam Langley <agl@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Jonathan Rudenberg <jonathan@titanous.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
93 lines
6.8 KiB
Plaintext
93 lines
6.8 KiB
Plaintext
>>> Flow 1 (client to server)
|
|
00000000 16 03 01 00 a3 01 00 00 9f 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 00 00 28 c0 2f |.............(./|
|
|
00000030 c0 2b c0 30 c0 2c c0 27 c0 13 c0 23 c0 09 c0 14 |.+.0.,.'...#....|
|
|
00000040 c0 0a 00 9c 00 9d 00 3c 00 2f 00 35 c0 12 00 0a |.......<./.5....|
|
|
00000050 00 05 c0 11 c0 07 01 00 00 4e 33 74 00 00 00 05 |.........N3t....|
|
|
00000060 00 05 01 00 00 00 00 00 0a 00 08 00 06 00 17 00 |................|
|
|
00000070 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 0c 04 |................|
|
|
00000080 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 01 00 |................|
|
|
00000090 00 10 00 10 00 0e 06 70 72 6f 74 6f 32 06 70 72 |.......proto2.pr|
|
|
000000a0 6f 74 6f 31 00 12 00 00 |oto1....|
|
|
>>> Flow 2 (server to client)
|
|
00000000 16 03 03 00 66 02 00 00 62 03 03 0c a7 7a d3 5c |....f...b....z.\|
|
|
00000010 e0 a4 0b 86 4f ac b8 40 37 f3 5c 30 f2 a5 9d 7a |....O..@7.\0...z|
|
|
00000020 fe 9d 51 3e 03 62 7a 02 46 d2 f8 20 e9 4c a0 1a |..Q>.bz.F.. .L..|
|
|
00000030 fa 02 84 51 9f dc 01 88 73 4b 61 66 11 6f e4 58 |...Q....sKaf.o.X|
|
|
00000040 31 ff 97 2d 26 38 56 db cf 2c e0 72 c0 2f 00 00 |1..-&8V..,.r./..|
|
|
00000050 1a ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 10 |................|
|
|
00000060 00 09 00 07 06 70 72 6f 74 6f 31 16 03 03 02 59 |.....proto1....Y|
|
|
00000070 0b 00 02 55 00 02 52 00 02 4f 30 82 02 4b 30 82 |...U..R..O0..K0.|
|
|
00000080 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d 3f e2 5b |.............?.[|
|
|
00000090 ea a6 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 |..0...*.H.......|
|
|
000000a0 00 30 1f 31 0b 30 09 06 03 55 04 0a 13 02 47 6f |.0.1.0...U....Go|
|
|
000000b0 31 10 30 0e 06 03 55 04 03 13 07 47 6f 20 52 6f |1.0...U....Go Ro|
|
|
000000c0 6f 74 30 1e 17 0d 31 36 30 31 30 31 30 30 30 30 |ot0...1601010000|
|
|
000000d0 30 30 5a 17 0d 32 35 30 31 30 31 30 30 30 30 30 |00Z..25010100000|
|
|
000000e0 30 5a 30 1a 31 0b 30 09 06 03 55 04 0a 13 02 47 |0Z0.1.0...U....G|
|
|
000000f0 6f 31 0b 30 09 06 03 55 04 03 13 02 47 6f 30 81 |o1.0...U....Go0.|
|
|
00000100 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 |.0...*.H........|
|
|
00000110 03 81 8d 00 30 81 89 02 81 81 00 db 46 7d 93 2e |....0.......F}..|
|
|
00000120 12 27 06 48 bc 06 28 21 ab 7e c4 b6 a2 5d fe 1e |.'.H..(!.~...]..|
|
|
00000130 52 45 88 7a 36 47 a5 08 0d 92 42 5b c2 81 c0 be |RE.z6G....B[....|
|
|
00000140 97 79 98 40 fb 4f 6d 14 fd 2b 13 8b c2 a5 2e 67 |.y.@.Om..+.....g|
|
|
00000150 d8 d4 09 9e d6 22 38 b7 4a 0b 74 73 2b c2 34 f1 |....."8.J.ts+.4.|
|
|
00000160 d1 93 e5 96 d9 74 7b f3 58 9f 6c 61 3c c0 b0 41 |.....t{.X.la<..A|
|
|
00000170 d4 d9 2b 2b 24 23 77 5b 1c 3b bd 75 5d ce 20 54 |..++$#w[.;.u]. T|
|
|
00000180 cf a1 63 87 1d 1e 24 c4 f3 1d 1a 50 8b aa b6 14 |..c...$....P....|
|
|
00000190 43 ed 97 a7 75 62 f4 14 c8 52 d7 02 03 01 00 01 |C...ub...R......|
|
|
000001a0 a3 81 93 30 81 90 30 0e 06 03 55 1d 0f 01 01 ff |...0..0...U.....|
|
|
000001b0 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 04 16 30 |......0...U.%..0|
|
|
000001c0 14 06 08 2b 06 01 05 05 07 03 01 06 08 2b 06 01 |...+.........+..|
|
|
000001d0 05 05 07 03 02 30 0c 06 03 55 1d 13 01 01 ff 04 |.....0...U......|
|
|
000001e0 02 30 00 30 19 06 03 55 1d 0e 04 12 04 10 9f 91 |.0.0...U........|
|
|
000001f0 16 1f 43 43 3e 49 a6 de 6d b6 80 d7 9f 60 30 1b |..CC>I..m....`0.|
|
|
00000200 06 03 55 1d 23 04 14 30 12 80 10 48 13 49 4d 13 |..U.#..0...H.IM.|
|
|
00000210 7e 16 31 bb a3 01 d5 ac ab 6e 7b 30 19 06 03 55 |~.1......n{0...U|
|
|
00000220 1d 11 04 12 30 10 82 0e 65 78 61 6d 70 6c 65 2e |....0...example.|
|
|
00000230 67 6f 6c 61 6e 67 30 0d 06 09 2a 86 48 86 f7 0d |golang0...*.H...|
|
|
00000240 01 01 0b 05 00 03 81 81 00 9d 30 cc 40 2b 5b 50 |..........0.@+[P|
|
|
00000250 a0 61 cb ba e5 53 58 e1 ed 83 28 a9 58 1a a9 38 |.a...SX...(.X..8|
|
|
00000260 a4 95 a1 ac 31 5a 1a 84 66 3d 43 d3 2d d9 0b f2 |....1Z..f=C.-...|
|
|
00000270 97 df d3 20 64 38 92 24 3a 00 bc cf 9c 7d b7 40 |... d8.$:....}.@|
|
|
00000280 20 01 5f aa d3 16 61 09 a2 76 fd 13 c3 cc e1 0c | ._...a..v......|
|
|
00000290 5c ee b1 87 82 f1 6c 04 ed 73 bb b3 43 77 8d 0c |\.....l..s..Cw..|
|
|
000002a0 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d ae db 46 |.....@.a.Lr+...F|
|
|
000002b0 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db fe 3d 13 |..M...>...B...=.|
|
|
000002c0 60 84 5c 21 d3 3b e9 fa e7 16 03 03 00 cd 0c 00 |`.\!.;..........|
|
|
000002d0 00 c9 03 00 17 41 04 21 8b 87 3e 55 73 ed 1f d6 |.....A.!..>Us...|
|
|
000002e0 78 74 61 6c b5 02 90 2f c3 0b 0c 69 11 3a 23 4e |xtal.../...i.:#N|
|
|
000002f0 5b 82 bd d4 a8 da 66 34 7f 73 99 d3 7f 92 16 44 |[.....f4.s.....D|
|
|
00000300 1c 90 0e 2a 39 d0 e3 25 4b 00 7b 1a 04 5f 98 0f |...*9..%K.{.._..|
|
|
00000310 d4 ef c5 12 df 46 ef 04 01 00 80 ae 98 07 54 3d |.....F........T=|
|
|
00000320 c3 62 ef 34 96 02 54 cf af 5e 5f b8 5e d3 6e 2c |.b.4..T..^_.^.n,|
|
|
00000330 35 59 90 f8 f8 02 c9 04 1a 8b cf 9d 59 12 4d be |5Y..........Y.M.|
|
|
00000340 3b 38 fe 09 83 3e 59 8c 61 a5 77 46 e8 68 c2 0d |;8...>Y.a.wF.h..|
|
|
00000350 f7 22 70 35 f8 1c 35 70 d5 f8 6a 1f 4d 0a 0c 25 |."p5..5p..j.M..%|
|
|
00000360 26 7e 76 ce 4a 5d 6d 8c 36 68 89 8d 23 f3 90 09 |&~v.J]m.6h..#...|
|
|
00000370 5a e1 bc b4 6e 96 22 65 1f 0b 9a 5b c5 67 9e 48 |Z...n."e...[.g.H|
|
|
00000380 c4 d0 ab 1d 5f 9b 61 20 06 cd 6d 5b 5e 60 a8 c9 |...._.a ..m[^`..|
|
|
00000390 dd 8f c2 33 69 ac 8f ef ef 67 a2 16 03 03 00 04 |...3i....g......|
|
|
000003a0 0e 00 00 00 |....|
|
|
>>> Flow 3 (client to server)
|
|
00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..|
|
|
00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.|
|
|
00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.|
|
|
00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I|
|
|
00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......|
|
|
00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 6b e3 |.....(........k.|
|
|
00000060 b1 c3 b7 3f ab 57 eb eb 27 1f c0 77 05 13 37 9c |...?.W..'..w..7.|
|
|
00000070 2e d6 ea aa c0 de 93 22 3e e7 55 b3 45 07 |.......">.U.E.|
|
|
>>> Flow 4 (server to client)
|
|
00000000 14 03 03 00 01 01 16 03 03 00 28 cb 18 03 ae c5 |..........(.....|
|
|
00000010 b3 96 3b df 2e de 69 b0 21 ff 73 ee 52 98 04 17 |..;...i.!.s.R...|
|
|
00000020 b6 d6 73 e8 f1 bd da b7 cc 59 75 76 9e 91 f8 8b |..s......Yuv....|
|
|
00000030 b7 8a f6 |...|
|
|
>>> Flow 5 (client to server)
|
|
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 9b 27 1f |..............'.|
|
|
00000010 a1 ad 76 5f 08 ba eb cb 48 30 b8 f2 76 ef a7 ba |..v_....H0..v...|
|
|
00000020 9a e9 96 15 03 03 00 1a 00 00 00 00 00 00 00 02 |................|
|
|
00000030 07 87 4d 76 93 bb f1 ed 5b e0 aa b7 9b 08 9f d0 |..Mv....[.......|
|
|
00000040 6e 8d |n.|
|