th5/testdata/Client-TLSv12-ECDHE-RSA-AES128-SHA256
Adam Langley 6918d87d90 crypto/tls: switch to OpenSSL 1.1.0 for test data.
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>
2016-10-12 17:03:46 +00:00

99 lines
7.3 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 03 00 59 02 00 00 55 03 03 52 ec 3d ca 8e |....Y...U..R.=..|
00000010 66 39 93 aa 74 f0 ae 26 75 a6 2d 79 9f 14 26 8d |f9..t..&u.-y..&.|
00000020 97 ee 01 b3 8c 11 6a ba 07 23 e8 20 08 b2 b2 24 |......j..#. ...$|
00000030 08 4f 6e 70 fa b6 a3 c5 39 0a c7 ee 66 dd 6c 91 |.Onp....9...f.l.|
00000040 35 0f 2e 27 8b b9 11 5b d1 a2 fb d9 c0 27 00 00 |5..'...[.....'..|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
00000060 03 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 03 00 |.=.`.\!.;.......|
000002c0 cd 0c 00 00 c9 03 00 17 41 04 ed d1 a9 86 54 01 |........A.....T.|
000002d0 2e 20 c1 f1 41 03 c7 88 f0 e4 45 49 54 08 12 f0 |. ..A.....EIT...|
000002e0 1c 3c 2b ae bc c6 72 00 5c 3b 52 1d 96 7e a4 95 |.<+...r.\;R..~..|
000002f0 88 6b 43 a9 a2 e9 62 35 d8 36 11 df 5c aa 53 ab |.kC...b5.6..\.S.|
00000300 d6 3c a3 0a 54 b7 48 10 f4 7f 04 01 00 80 1e d5 |.<..T.H.........|
00000310 e4 e9 34 e2 3d e6 a1 ee 00 b8 1c b1 48 d1 ed c1 |..4.=.......H...|
00000320 3b 55 55 a8 ed 42 ae fb 5e 51 35 ec be 18 27 69 |;UU..B..^Q5...'i|
00000330 38 1f c0 af 1d 1c da 51 b1 14 59 32 fb c8 c2 02 |8......Q..Y2....|
00000340 12 03 64 7c 01 c4 e8 32 03 b8 7e a7 ff 4c 13 54 |..d|...2..~..L.T|
00000350 a8 91 9b 41 07 72 24 9b 0d 7d a5 f8 a0 a9 a3 90 |...A.r$..}......|
00000360 8a d8 cd c1 4d 4e d1 da 26 7a 19 8a 2b b7 93 b4 |....MN..&z..+...|
00000370 46 e8 9b c2 93 f5 80 52 9a ec b6 f5 68 02 b4 a0 |F......R....h...|
00000380 51 43 61 fa a3 63 40 16 92 4f e2 7f f8 7c 16 03 |QCa..c@..O...|..|
00000390 03 00 04 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 50 00 00 00 00 00 00 00 00 00 00 |.....P..........|
00000060 00 00 00 00 00 00 cd 3d 7e db 65 76 06 d5 cf 73 |.......=~.ev...s|
00000070 9b 6e 94 99 6e 55 e9 3c 74 08 6b 29 7a 73 fe dc |.n..nU.<t.k)zs..|
00000080 97 1b 55 23 f0 d7 7a d4 c5 1b 55 9f 82 88 c3 9b |..U#..z...U.....|
00000090 51 89 f5 df f5 36 91 4f cd 3f 11 5c 3d 08 29 35 |Q....6.O.?.\=.)5|
000000a0 17 a8 a9 5a 95 cc |...Z..|
>>> Flow 4 (server to client)
00000000 14 03 03 00 01 01 16 03 03 00 50 ab 66 1f 17 93 |..........P.f...|
00000010 3b a3 98 c0 05 76 7e c6 21 90 01 73 7c 63 ab 4a |;....v~.!..s|c.J|
00000020 3c bf 16 ed dd a5 24 f1 7b 46 21 bc 15 ef 92 3e |<.....$.{F!....>|
00000030 e4 ff 9e 60 cd cd 38 4b 5d 0c 56 b2 5b 65 77 a2 |...`..8K].V.[ew.|
00000040 b3 8f fe 91 81 2b 10 cb 6b 13 7d e5 53 da 90 02 |.....+..k.}.S...|
00000050 d9 c7 bb 7b 32 a3 2c 91 92 1d aa |...{2.,....|
>>> Flow 5 (client to server)
00000000 17 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........|
00000010 00 00 00 00 00 b5 31 ff 15 87 a2 df 7a 4e 00 0e |......1.....zN..|
00000020 f2 45 59 71 01 d7 8b d0 f8 25 16 96 e1 76 42 ec |.EYq.....%...vB.|
00000030 f2 c7 08 aa 70 72 9c a4 51 85 8f 7e f5 74 93 72 |....pr..Q..~.t.r|
00000040 1a c5 c3 29 7c 15 03 03 00 40 00 00 00 00 00 00 |...)|....@......|
00000050 00 00 00 00 00 00 00 00 00 00 ba 82 2e f5 da 08 |................|
00000060 e8 53 81 54 b9 00 1b 58 91 1d c2 f6 f5 03 f8 55 |.S.T...X.......U|
00000070 c0 9e ee b9 83 ef 3c ff 2c d0 38 0c 41 c3 24 f9 |......<.,.8.A.$.|
00000080 c2 98 64 b0 73 8f eb 67 f9 b8 |..d.s..g..|