6918d87d90
We will need OpenSSL 1.1.0 in order to test some of the features expected for Go 1.8. However, 1.1.0 also disables (by default) some things that we still want to test, such as RC4, 3DES and SSLv3. Thus developers wanting to update the crypto/tls test data will need to build OpenSSL from source. This change updates the test data with transcripts generated by 1.1.0 (in order to reduce future diffs) and also causes a banner to be printed if 1.1.0 is not used when updating. (The test for an ALPN mismatch is removed because OpenSSL now terminates the connection with a fatal alert if no known ALPN protocols are offered. There's no point testing against this because it's an OpenSSL behaviour.) Change-Id: I957516975e0b8c7def84184f65c81d0b68f1c551 Reviewed-on: https://go-review.googlesource.com/30821 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
136 lines
10 KiB
Plaintext
136 lines
10 KiB
Plaintext
>>> Flow 1 (client to server)
|
|
00000000 16 03 01 00 8b 01 00 00 87 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 36 00 05 00 05 01 00 |.........6......|
|
|
00000060 00 00 00 00 0a 00 08 00 06 00 17 00 18 00 19 00 |................|
|
|
00000070 0b 00 02 01 00 00 0d 00 0e 00 0c 04 01 04 03 05 |................|
|
|
00000080 01 05 03 02 01 02 03 ff 01 00 01 00 00 12 00 00 |................|
|
|
>>> Flow 2 (server to client)
|
|
00000000 16 03 01 00 59 02 00 00 55 03 01 eb c3 41 78 13 |....Y...U....Ax.|
|
|
00000010 97 9b 30 68 60 69 74 7c 8d 2e 90 f6 e7 c8 28 21 |..0h`it|......(!|
|
|
00000020 c4 67 b4 5b a0 f7 e1 1f 7f de b7 20 01 74 23 01 |.g.[....... .t#.|
|
|
00000030 10 ed 5a b9 37 a0 f2 44 6b fd f6 6c 25 07 ef 25 |..Z.7..Dk..l%..%|
|
|
00000040 4b 62 59 c6 ae 4b 82 e0 34 70 6d 40 c0 13 00 00 |KbY..K..4pm@....|
|
|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
|
|
00000060 01 02 59 0b 00 02 55 00 02 52 00 02 4f 30 82 02 |..Y...U..R..O0..|
|
|
00000070 4b 30 82 01 b4 a0 03 02 01 02 02 09 00 e8 f0 9d |K0..............|
|
|
00000080 3f e2 5b ea a6 30 0d 06 09 2a 86 48 86 f7 0d 01 |?.[..0...*.H....|
|
|
00000090 01 0b 05 00 30 1f 31 0b 30 09 06 03 55 04 0a 13 |....0.1.0...U...|
|
|
000000a0 02 47 6f 31 10 30 0e 06 03 55 04 03 13 07 47 6f |.Go1.0...U....Go|
|
|
000000b0 20 52 6f 6f 74 30 1e 17 0d 31 36 30 31 30 31 30 | Root0...1601010|
|
|
000000c0 30 30 30 30 30 5a 17 0d 32 35 30 31 30 31 30 30 |00000Z..25010100|
|
|
000000d0 30 30 30 30 5a 30 1a 31 0b 30 09 06 03 55 04 0a |0000Z0.1.0...U..|
|
|
000000e0 13 02 47 6f 31 0b 30 09 06 03 55 04 03 13 02 47 |..Go1.0...U....G|
|
|
000000f0 6f 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 |o0..0...*.H.....|
|
|
00000100 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 db 46 |.......0.......F|
|
|
00000110 7d 93 2e 12 27 06 48 bc 06 28 21 ab 7e c4 b6 a2 |}...'.H..(!.~...|
|
|
00000120 5d fe 1e 52 45 88 7a 36 47 a5 08 0d 92 42 5b c2 |]..RE.z6G....B[.|
|
|
00000130 81 c0 be 97 79 98 40 fb 4f 6d 14 fd 2b 13 8b c2 |....y.@.Om..+...|
|
|
00000140 a5 2e 67 d8 d4 09 9e d6 22 38 b7 4a 0b 74 73 2b |..g....."8.J.ts+|
|
|
00000150 c2 34 f1 d1 93 e5 96 d9 74 7b f3 58 9f 6c 61 3c |.4......t{.X.la<|
|
|
00000160 c0 b0 41 d4 d9 2b 2b 24 23 77 5b 1c 3b bd 75 5d |..A..++$#w[.;.u]|
|
|
00000170 ce 20 54 cf a1 63 87 1d 1e 24 c4 f3 1d 1a 50 8b |. T..c...$....P.|
|
|
00000180 aa b6 14 43 ed 97 a7 75 62 f4 14 c8 52 d7 02 03 |...C...ub...R...|
|
|
00000190 01 00 01 a3 81 93 30 81 90 30 0e 06 03 55 1d 0f |......0..0...U..|
|
|
000001a0 01 01 ff 04 04 03 02 05 a0 30 1d 06 03 55 1d 25 |.........0...U.%|
|
|
000001b0 04 16 30 14 06 08 2b 06 01 05 05 07 03 01 06 08 |..0...+.........|
|
|
000001c0 2b 06 01 05 05 07 03 02 30 0c 06 03 55 1d 13 01 |+.......0...U...|
|
|
000001d0 01 ff 04 02 30 00 30 19 06 03 55 1d 0e 04 12 04 |....0.0...U.....|
|
|
000001e0 10 9f 91 16 1f 43 43 3e 49 a6 de 6d b6 80 d7 9f |.....CC>I..m....|
|
|
000001f0 60 30 1b 06 03 55 1d 23 04 14 30 12 80 10 48 13 |`0...U.#..0...H.|
|
|
00000200 49 4d 13 7e 16 31 bb a3 01 d5 ac ab 6e 7b 30 19 |IM.~.1......n{0.|
|
|
00000210 06 03 55 1d 11 04 12 30 10 82 0e 65 78 61 6d 70 |..U....0...examp|
|
|
00000220 6c 65 2e 67 6f 6c 61 6e 67 30 0d 06 09 2a 86 48 |le.golang0...*.H|
|
|
00000230 86 f7 0d 01 01 0b 05 00 03 81 81 00 9d 30 cc 40 |.............0.@|
|
|
00000240 2b 5b 50 a0 61 cb ba e5 53 58 e1 ed 83 28 a9 58 |+[P.a...SX...(.X|
|
|
00000250 1a a9 38 a4 95 a1 ac 31 5a 1a 84 66 3d 43 d3 2d |..8....1Z..f=C.-|
|
|
00000260 d9 0b f2 97 df d3 20 64 38 92 24 3a 00 bc cf 9c |...... d8.$:....|
|
|
00000270 7d b7 40 20 01 5f aa d3 16 61 09 a2 76 fd 13 c3 |}.@ ._...a..v...|
|
|
00000280 cc e1 0c 5c ee b1 87 82 f1 6c 04 ed 73 bb b3 43 |...\.....l..s..C|
|
|
00000290 77 8d 0c 1c f1 0f a1 d8 40 83 61 c9 4c 72 2b 9d |w.......@.a.Lr+.|
|
|
000002a0 ae db 46 06 06 4d f4 c1 b3 3e c0 d1 bd 42 d4 db |..F..M...>...B..|
|
|
000002b0 fe 3d 13 60 84 5c 21 d3 3b e9 fa e7 16 03 01 00 |.=.`.\!.;.......|
|
|
000002c0 cb 0c 00 00 c7 03 00 17 41 04 c4 ae 64 f9 3a f5 |........A...d.:.|
|
|
000002d0 95 29 e0 9c c1 d0 e3 e1 fa e1 f8 97 d0 69 4d b0 |.)...........iM.|
|
|
000002e0 c0 4f cb 47 41 9c 85 32 b7 c8 71 4f c5 a1 5a ec |.O.GA..2..qO..Z.|
|
|
000002f0 4d 09 bc fc 07 7c 81 87 71 c7 6e f9 8b 59 f6 53 |M....|..q.n..Y.S|
|
|
00000300 a4 eb 76 d1 2a 6d 55 5d 85 b8 00 80 3b 4f ab 1c |..v.*mU]....;O..|
|
|
00000310 aa ef 00 e7 7d 91 e2 73 c3 a4 d1 95 5a 6e 26 a9 |....}..s....Zn&.|
|
|
00000320 85 15 25 ef 05 83 34 73 80 00 a6 0c df cd c7 6d |..%...4s.......m|
|
|
00000330 65 c6 f2 a7 23 68 0e 88 7e 7e 8e 03 4d 4b db 27 |e...#h..~~..MK.'|
|
|
00000340 70 6a 32 2c e7 66 95 06 76 0f d7 4f ec 84 6a ee |pj2,.f..v..O..j.|
|
|
00000350 28 ed 90 17 f0 04 7f c5 39 a9 8b 53 bd 9a e3 51 |(.......9..S...Q|
|
|
00000360 84 79 ee 32 ad 66 e8 77 da d9 31 4b 6b 5b f0 73 |.y.2.f.w..1Kk[.s|
|
|
00000370 de 9f c5 b8 c7 09 06 f1 15 9d d3 3e 40 86 17 65 |...........>@..e|
|
|
00000380 cd 47 74 4b c0 88 3f be 54 c1 ac fc 16 03 01 00 |.GtK..?.T.......|
|
|
00000390 0a 0d 00 00 06 03 01 02 40 00 00 16 03 01 00 04 |........@.......|
|
|
000003a0 0e 00 00 00 |....|
|
|
>>> Flow 3 (client to server)
|
|
00000000 16 03 01 02 0a 0b 00 02 06 00 02 03 00 02 00 30 |...............0|
|
|
00000010 82 01 fc 30 82 01 5e 02 09 00 9a 30 84 6c 26 35 |...0..^....0.l&5|
|
|
00000020 d9 17 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 |..0...*.H.=..0E1|
|
|
00000030 0b 30 09 06 03 55 04 06 13 02 41 55 31 13 30 11 |.0...U....AU1.0.|
|
|
00000040 06 03 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 |..U....Some-Stat|
|
|
00000050 65 31 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 |e1!0...U....Inte|
|
|
00000060 72 6e 65 74 20 57 69 64 67 69 74 73 20 50 74 79 |rnet Widgits Pty|
|
|
00000070 20 4c 74 64 30 1e 17 0d 31 32 31 31 31 34 31 33 | Ltd0...12111413|
|
|
00000080 32 35 35 33 5a 17 0d 32 32 31 31 31 32 31 33 32 |2553Z..221112132|
|
|
00000090 35 35 33 5a 30 41 31 0b 30 09 06 03 55 04 06 13 |553Z0A1.0...U...|
|
|
000000a0 02 41 55 31 0c 30 0a 06 03 55 04 08 13 03 4e 53 |.AU1.0...U....NS|
|
|
000000b0 57 31 10 30 0e 06 03 55 04 07 13 07 50 79 72 6d |W1.0...U....Pyrm|
|
|
000000c0 6f 6e 74 31 12 30 10 06 03 55 04 03 13 09 4a 6f |ont1.0...U....Jo|
|
|
000000d0 65 6c 20 53 69 6e 67 30 81 9b 30 10 06 07 2a 86 |el Sing0..0...*.|
|
|
000000e0 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 86 00 |H.=....+...#....|
|
|
000000f0 04 00 95 8c 91 75 14 c0 5e c4 57 b4 d4 c3 6f 8d |.....u..^.W...o.|
|
|
00000100 ae 68 1e dd 6f ce 86 e1 7e 6e b2 48 3e 81 e5 4e |.h..o...~n.H>..N|
|
|
00000110 e2 c6 88 4b 64 dc f5 30 bb d3 ff 65 cc 5b f4 dd |...Kd..0...e.[..|
|
|
00000120 b5 6a 3e 3e d0 1d de 47 c3 76 ad 19 f6 45 2c 8c |.j>>...G.v...E,.|
|
|
00000130 bc d8 1d 01 4c 1f 70 90 46 76 48 8b 8f 83 cc 4a |....L.p.FvH....J|
|
|
00000140 5c 8f 40 76 da e0 89 ec 1d 2b c4 4e 30 76 28 41 |\.@v.....+.N0v(A|
|
|
00000150 b2 62 a8 fb 5b f1 f9 4e 7a 8d bd 09 b8 ae ea 8b |.b..[..Nz.......|
|
|
00000160 18 27 4f 2e 70 fe 13 96 ba c3 d3 40 16 cd 65 4e |.'O.p......@..eN|
|
|
00000170 ac 11 1e e6 f1 30 09 06 07 2a 86 48 ce 3d 04 01 |.....0...*.H.=..|
|
|
00000180 03 81 8c 00 30 81 88 02 42 00 e0 14 c4 60 60 0b |....0...B....``.|
|
|
00000190 72 68 b0 32 5d 61 4a 02 74 5c c2 81 b9 16 a8 3f |rh.2]aJ.t\.....?|
|
|
000001a0 29 c8 36 c7 81 ff 6c b6 5b d9 70 f1 38 3b 50 48 |).6...l.[.p.8;PH|
|
|
000001b0 28 94 cb 09 1a 52 f1 5d ee 8d f2 b9 f0 f0 da d9 |(....R.]........|
|
|
000001c0 15 3a f9 bd 03 7a 87 a2 23 35 ec 02 42 01 a3 d4 |.:...z..#5..B...|
|
|
000001d0 8a 78 35 1c 4a 9a 23 d2 0a be 2b 10 31 9d 9c 5f |.x5.J.#...+.1.._|
|
|
000001e0 be e8 91 b3 da 1a f5 5d a3 23 f5 26 8b 45 70 8d |.......].#.&.Ep.|
|
|
000001f0 65 62 9b 7e 01 99 3d 18 f6 10 9a 38 61 9b 2e 57 |eb.~..=....8a..W|
|
|
00000200 e4 fa cc b1 8a ce e2 23 a0 87 f0 e1 67 51 eb 16 |.......#....gQ..|
|
|
00000210 03 01 00 46 10 00 00 42 41 04 1e 18 37 ef 0d 19 |...F...BA...7...|
|
|
00000220 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd a7 |Q.5uq..T[....g..|
|
|
00000230 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e f1 |$ >.V...(^.+-O..|
|
|
00000240 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 a6 |..lK[.V.2B.X..I.|
|
|
00000250 b5 68 1a 41 03 56 6b dc 5a 89 16 03 01 00 91 0f |.h.A.Vk.Z.......|
|
|
00000260 00 00 8d 00 8b 30 81 88 02 42 01 03 05 ed 02 bd |.....0...B......|
|
|
00000270 ec d2 94 fd d9 d6 85 56 a0 b7 16 57 4a b7 91 15 |.......V...WJ...|
|
|
00000280 50 9a 3d 08 fd 06 57 cc 65 e5 a8 26 15 dc 74 fe |P.=...W.e..&..t.|
|
|
00000290 7c 6b 81 10 7a 1c 3a 32 60 1a 2f e8 cc 4d dd da ||k..z.:2`./..M..|
|
|
000002a0 20 8a ac 1f eb dd a0 db 58 ef 79 c8 02 42 00 f7 | .......X.y..B..|
|
|
000002b0 0f ca 90 34 ce 83 f0 dc ec a5 5d 89 68 51 51 13 |...4......].hQQ.|
|
|
000002c0 c6 a9 58 7d 11 cc 22 00 01 e3 04 16 3b 10 ed 93 |..X}..".....;...|
|
|
000002d0 ab 1b b9 e4 89 95 44 5c 06 d4 2c a4 d1 e5 09 12 |......D\..,.....|
|
|
000002e0 82 83 dc 72 f6 41 a9 d6 35 7f da 8a c8 f8 2b e6 |...r.A..5.....+.|
|
|
000002f0 14 03 01 00 01 01 16 03 01 00 30 10 f3 9e aa 4e |..........0....N|
|
|
00000300 b7 50 bd 7c b4 54 e9 69 aa 49 7a 35 30 da 40 03 |.P.|.T.i.Iz50.@.|
|
|
00000310 a8 48 c4 08 63 7a a1 84 f1 7f 83 6d 15 b1 b1 7d |.H..cz.....m...}|
|
|
00000320 30 94 27 9a bc a3 a0 bb 84 37 41 |0.'......7A|
|
|
>>> Flow 4 (server to client)
|
|
00000000 14 03 01 00 01 01 16 03 01 00 30 53 ec 32 b9 5c |..........0S.2.\|
|
|
00000010 a8 9c 03 1e 95 92 5e 19 99 9a e7 3d fa af c5 60 |......^....=...`|
|
|
00000020 d1 94 e0 93 fe 5d 68 e5 e3 51 67 13 c8 30 33 5f |.....]h..Qg..03_|
|
|
00000030 85 23 e2 cf c8 64 88 24 23 fe 93 |.#...d.$#..|
|
|
>>> Flow 5 (client to server)
|
|
00000000 17 03 01 00 20 26 a5 85 22 18 01 84 5c 50 3b c4 |.... &.."...\P;.|
|
|
00000010 17 58 fe 0e b3 a1 26 ec 94 8e b4 76 bd 84 7a ca |.X....&....v..z.|
|
|
00000020 fc 22 2c 31 d3 17 03 01 00 20 3c 0a 9a 91 f0 00 |.",1..... <.....|
|
|
00000030 c6 69 b4 04 7d f7 8c 29 3c 7f 81 c1 79 f2 2c 34 |.i..}..)<...y.,4|
|
|
00000040 c0 fd 21 6a b7 a3 28 9b 85 1b 15 03 01 00 20 7d |..!j..(....... }|
|
|
00000050 1e c7 62 ec b2 84 5f 65 30 6e 4c 7c ab bd 03 49 |..b..._e0nL|...I|
|
|
00000060 ce 7f 0d 0c 2b 62 e1 32 01 0c 35 05 b9 f6 35 |....+b.2..5...5|
|