th5/testdata/Client-TLSv12-ECDHE-ECDSA-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

95 lines
7.0 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 1f 9e 85 7e e3 |....Y...U.....~.|
00000010 30 5b 4c b0 e3 34 4d 13 93 97 ed 3a 38 3c a6 d5 |0[L..4M....:8<..|
00000020 b2 9d 0c 9b 3d e8 13 85 ef e7 56 20 eb c2 eb 19 |....=.....V ....|
00000030 fd 5e 61 08 6b 8b 6f a5 22 8d 0c 67 e0 1c 96 e1 |.^a.k.o."..g....|
00000040 59 7b 36 82 0f c4 15 f5 b1 70 cb 1c c0 23 00 00 |Y{6......p...#..|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
00000060 03 02 0e 0b 00 02 0a 00 02 07 00 02 04 30 82 02 |.............0..|
00000070 00 30 82 01 62 02 09 00 b8 bf 2d 47 a0 d2 eb f4 |.0..b.....-G....|
00000080 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 0b 30 |0...*.H.=..0E1.0|
00000090 09 06 03 55 04 06 13 02 41 55 31 13 30 11 06 03 |...U....AU1.0...|
000000a0 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 65 31 |U....Some-State1|
000000b0 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 72 6e |!0...U....Intern|
000000c0 65 74 20 57 69 64 67 69 74 73 20 50 74 79 20 4c |et Widgits Pty L|
000000d0 74 64 30 1e 17 0d 31 32 31 31 32 32 31 35 30 36 |td0...1211221506|
000000e0 33 32 5a 17 0d 32 32 31 31 32 30 31 35 30 36 33 |32Z..22112015063|
000000f0 32 5a 30 45 31 0b 30 09 06 03 55 04 06 13 02 41 |2Z0E1.0...U....A|
00000100 55 31 13 30 11 06 03 55 04 08 13 0a 53 6f 6d 65 |U1.0...U....Some|
00000110 2d 53 74 61 74 65 31 21 30 1f 06 03 55 04 0a 13 |-State1!0...U...|
00000120 18 49 6e 74 65 72 6e 65 74 20 57 69 64 67 69 74 |.Internet Widgit|
00000130 73 20 50 74 79 20 4c 74 64 30 81 9b 30 10 06 07 |s Pty Ltd0..0...|
00000140 2a 86 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 |*.H.=....+...#..|
00000150 86 00 04 00 c4 a1 ed be 98 f9 0b 48 73 36 7e c3 |...........Hs6~.|
00000160 16 56 11 22 f2 3d 53 c3 3b 4d 21 3d cd 6b 75 e6 |.V.".=S.;M!=.ku.|
00000170 f6 b0 dc 9a df 26 c1 bc b2 87 f0 72 32 7c b3 64 |.....&.....r2|.d|
00000180 2f 1c 90 bc ea 68 23 10 7e fe e3 25 c0 48 3a 69 |/....h#.~..%.H:i|
00000190 e0 28 6d d3 37 00 ef 04 62 dd 0d a0 9c 70 62 83 |.(m.7...b....pb.|
000001a0 d8 81 d3 64 31 aa 9e 97 31 bd 96 b0 68 c0 9b 23 |...d1...1...h..#|
000001b0 de 76 64 3f 1a 5c 7f e9 12 0e 58 58 b6 5f 70 dd |.vd?.\....XX._p.|
000001c0 9b d8 ea d5 d7 f5 d5 cc b9 b6 9f 30 66 5b 66 9a |...........0f[f.|
000001d0 20 e2 27 e5 bf fe 3b 30 09 06 07 2a 86 48 ce 3d | .'...;0...*.H.=|
000001e0 04 01 03 81 8c 00 30 81 88 02 42 01 88 a2 4f eb |......0...B...O.|
000001f0 e2 45 c5 48 7d 1b ac f5 ed 98 9d ae 47 70 c0 5e |.E.H}.......Gp.^|
00000200 1b b6 2f bd f1 b6 4d b7 61 40 d3 11 a2 ce ee 0b |../...M.a@......|
00000210 7e 92 7e ff 76 9d c3 3b 7e a5 3f ce fa 10 e2 59 |~.~.v..;~.?....Y|
00000220 ec 47 2d 7c ac da 4e 97 0e 15 a0 6f d0 02 42 01 |.G-|..N....o..B.|
00000230 4d fc be 67 13 9c 2d 05 0e bd 3f a3 8c 25 c1 33 |M..g..-...?..%.3|
00000240 13 83 0d 94 06 bb d4 37 7a f6 ec 7a c9 86 2e dd |.......7z..z....|
00000250 d7 11 69 7f 85 7c 56 de fb 31 78 2b e4 c7 78 0d |..i..|V..1x+..x.|
00000260 ae cb be 9e 4e 36 24 31 7b 6a 0f 39 95 12 07 8f |....N6$1{j.9....|
00000270 2a 16 03 03 00 d8 0c 00 00 d4 03 00 17 41 04 84 |*............A..|
00000280 28 39 9d 53 e8 8b 3f 0e 6b ed 13 79 79 ad e0 e9 |(9.S..?.k..yy...|
00000290 a6 87 87 14 4f 32 7b 3e c5 80 eb f3 3f af 21 1d |....O2{>....?.!.|
000002a0 86 3b 97 53 9d 30 1f ca 0f 57 07 c3 6e 9e e9 03 |.;.S.0...W..n...|
000002b0 bd 0a f8 5d 79 3e 6a 98 13 0e 38 16 33 84 87 04 |...]y>j...8.3...|
000002c0 03 00 8b 30 81 88 02 42 01 3d 4d fd 3f b3 7a 31 |...0...B.=M.?.z1|
000002d0 50 4d 0c 56 ad 93 6f 51 36 6b ed eb c2 5f 40 e6 |PM.V..oQ6k..._@.|
000002e0 bd d4 68 de 05 90 cb 90 e1 dd f4 dd 13 2d e3 bc |..h..........-..|
000002f0 77 3a 4c 75 ff d7 7a 45 1a 62 9d 1c af cb d9 a7 |w:Lu..zE.b......|
00000300 b9 0b 52 d0 94 e9 a1 11 7e 63 02 42 01 e5 25 47 |..R.....~c.B..%G|
00000310 4f fd 02 4d 8d 81 8e ef 90 15 a5 29 8d 11 40 0f |O..M.......)..@.|
00000320 e0 2f 59 da e6 63 da 23 9f fe 61 53 13 7a 2d 1a |./Y..c.#..aS.z-.|
00000330 f2 26 23 91 06 bf 36 dd d5 6b 0e 4b 7b 32 b0 41 |.&#...6..k.K{2.A|
00000340 0e 00 17 c6 95 04 5a 88 41 61 b6 ec 82 38 16 03 |......Z.Aa...8..|
00000350 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 b6 be a3 13 26 66 59 78 6b f0 |..........&fYxk.|
00000070 a4 b4 db 3e 48 98 dd 0e fb b7 1e 72 4d 5c 60 d9 |...>H......rM\`.|
00000080 33 30 4e 75 e3 5b 03 73 dd d3 b9 a2 ad a4 c7 4c |30Nu.[.s.......L|
00000090 d2 1d e3 98 6f 93 dd 66 4d 33 61 66 bb d1 e9 a0 |....o..fM3af....|
000000a0 d7 95 47 01 85 3a |..G..:|
>>> Flow 4 (server to client)
00000000 14 03 03 00 01 01 16 03 03 00 50 b8 1f f2 b7 07 |..........P.....|
00000010 83 90 22 d9 91 47 d8 d3 40 ab db 22 30 7e f4 d0 |.."..G..@.."0~..|
00000020 f3 79 16 d3 6b 8c 58 ad 47 f9 4d 96 46 e4 b1 73 |.y..k.X.G.M.F..s|
00000030 ba 9c 43 73 d2 31 e3 de 30 5a 81 3e 7e e5 30 3d |..Cs.1..0Z.>~.0=|
00000040 ba 93 06 40 93 ed 07 1e a6 82 e6 0b 20 b7 6c a8 |...@........ .l.|
00000050 bc 9a cd 34 3f 38 b0 7a 34 f8 3d |...4?8.z4.=|
>>> 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 e3 3d e1 1d 9e ff cb ab df 74 53 |......=.......tS|
00000020 81 09 16 1c 85 ac d9 43 50 9c 50 9d f5 30 20 87 |.......CP.P..0 .|
00000030 cb d5 af 13 42 d3 c7 8f df ef ef ae 28 3b d8 75 |....B.......(;.u|
00000040 28 b5 c4 87 66 15 03 03 00 40 00 00 00 00 00 00 |(...f....@......|
00000050 00 00 00 00 00 00 00 00 00 00 62 9a 7b 83 27 b4 |..........b.{.'.|
00000060 b8 80 54 c6 6f d8 b7 44 f3 60 b7 fe 04 bd c3 98 |..T.o..D.`......|
00000070 b1 7b df 26 2c a7 97 36 65 a1 50 bd 20 d9 fe cf |.{.&,..6e.P. ...|
00000080 d8 f9 6a 2d 00 c7 ca 54 f2 7b |..j-...T.{|