th5/testdata/Server-TLSv12-ALPN
Adam Langley cde0e97e4c crypto/x509: require a NULL parameters for RSA public keys.
The RFC is clear that the Parameters in an AlgorithmIdentifer for an RSA
public key must be NULL. BoringSSL enforces this so we have strong
evidence that this is a widely compatible change.

Embarrassingly enough, the major source of violations of this is us. Go
used to get this correct in only one of two places. This was only fixed
in 2013 (with 4874bc9b). That's why lots of test certificates are
updated in this change.

Fixes #16166.

Change-Id: Ib9a4551349354c66e730d44eb8cee4ec402ea8ab
Reviewed-on: https://go-review.googlesource.com/27312
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-08-17 23:47:18 +00:00

107 строки
8.0 KiB
Plaintext

>>> Flow 1 (client to server)
00000000 16 03 01 01 42 01 00 01 3e 03 03 0f 39 5a 36 56 |....B...>...9Z6V|
00000010 92 36 5a 45 b5 44 5e 61 b8 2f 52 67 13 56 a4 fb |.6ZE.D^a./Rg.V..|
00000020 31 3e 02 db d8 85 7c ae 25 b2 20 00 00 ac c0 30 |1>....|.%. ....0|
00000030 c0 2c c0 28 c0 24 c0 14 c0 0a 00 a5 00 a3 00 a1 |.,.(.$..........|
00000040 00 9f 00 6b 00 6a 00 69 00 68 00 39 00 38 00 37 |...k.j.i.h.9.8.7|
00000050 00 36 00 88 00 87 00 86 00 85 c0 32 c0 2e c0 2a |.6.........2...*|
00000060 c0 26 c0 0f c0 05 00 9d 00 3d 00 35 00 84 c0 2f |.&.......=.5.../|
00000070 c0 2b c0 27 c0 23 c0 13 c0 09 00 a4 00 a2 00 a0 |.+.'.#..........|
00000080 00 9e 00 67 00 40 00 3f 00 3e 00 33 00 32 00 31 |...g.@.?.>.3.2.1|
00000090 00 30 00 9a 00 99 00 98 00 97 00 45 00 44 00 43 |.0.........E.D.C|
000000a0 00 42 c0 31 c0 2d c0 29 c0 25 c0 0e c0 04 00 9c |.B.1.-.).%......|
000000b0 00 3c 00 2f 00 96 00 41 00 07 c0 11 c0 07 c0 0c |.<./...A........|
000000c0 c0 02 00 05 00 04 c0 12 c0 08 00 16 00 13 00 10 |................|
000000d0 00 0d c0 0d c0 03 00 0a 00 ff 01 00 00 69 00 0b |.............i..|
000000e0 00 04 03 00 01 02 00 0a 00 1c 00 1a 00 17 00 19 |................|
000000f0 00 1c 00 1b 00 18 00 1a 00 16 00 0e 00 0d 00 0b |................|
00000100 00 0c 00 09 00 0a 00 23 00 00 00 0d 00 20 00 1e |.......#..... ..|
00000110 06 01 06 02 06 03 05 01 05 02 05 03 04 01 04 02 |................|
00000120 04 03 03 01 03 02 03 03 02 01 02 02 02 03 00 0f |................|
00000130 00 01 01 00 10 00 10 00 0e 06 70 72 6f 74 6f 32 |..........proto2|
00000140 06 70 72 6f 74 6f 31 |.proto1|
>>> Flow 2 (server to client)
00000000 16 03 03 00 42 02 00 00 3e 03 03 00 00 00 00 00 |....B...>.......|
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 c0 30 00 00 |.............0..|
00000030 16 00 23 00 00 ff 01 00 01 00 00 10 00 09 00 07 |..#.............|
00000040 06 70 72 6f 74 6f 31 16 03 03 02 59 0b 00 02 55 |.proto1....Y...U|
00000050 00 02 52 00 02 4f 30 82 02 4b 30 82 01 b4 a0 03 |..R..O0..K0.....|
00000060 02 01 02 02 09 00 e8 f0 9d 3f e2 5b ea a6 30 0d |.........?.[..0.|
00000070 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 1f 31 |..*.H........0.1|
00000080 0b 30 09 06 03 55 04 0a 13 02 47 6f 31 10 30 0e |.0...U....Go1.0.|
00000090 06 03 55 04 03 13 07 47 6f 20 52 6f 6f 74 30 1e |..U....Go Root0.|
000000a0 17 0d 31 36 30 31 30 31 30 30 30 30 30 30 5a 17 |..160101000000Z.|
000000b0 0d 32 35 30 31 30 31 30 30 30 30 30 30 5a 30 1a |.250101000000Z0.|
000000c0 31 0b 30 09 06 03 55 04 0a 13 02 47 6f 31 0b 30 |1.0...U....Go1.0|
000000d0 09 06 03 55 04 03 13 02 47 6f 30 81 9f 30 0d 06 |...U....Go0..0..|
000000e0 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 |.*.H............|
000000f0 30 81 89 02 81 81 00 db 46 7d 93 2e 12 27 06 48 |0.......F}...'.H|
00000100 bc 06 28 21 ab 7e c4 b6 a2 5d fe 1e 52 45 88 7a |..(!.~...]..RE.z|
00000110 36 47 a5 08 0d 92 42 5b c2 81 c0 be 97 79 98 40 |6G....B[.....y.@|
00000120 fb 4f 6d 14 fd 2b 13 8b c2 a5 2e 67 d8 d4 09 9e |.Om..+.....g....|
00000130 d6 22 38 b7 4a 0b 74 73 2b c2 34 f1 d1 93 e5 96 |."8.J.ts+.4.....|
00000140 d9 74 7b f3 58 9f 6c 61 3c c0 b0 41 d4 d9 2b 2b |.t{.X.la<..A..++|
00000150 24 23 77 5b 1c 3b bd 75 5d ce 20 54 cf a1 63 87 |$#w[.;.u]. T..c.|
00000160 1d 1e 24 c4 f3 1d 1a 50 8b aa b6 14 43 ed 97 a7 |..$....P....C...|
00000170 75 62 f4 14 c8 52 d7 02 03 01 00 01 a3 81 93 30 |ub...R.........0|
00000180 81 90 30 0e 06 03 55 1d 0f 01 01 ff 04 04 03 02 |..0...U.........|
00000190 05 a0 30 1d 06 03 55 1d 25 04 16 30 14 06 08 2b |..0...U.%..0...+|
000001a0 06 01 05 05 07 03 01 06 08 2b 06 01 05 05 07 03 |.........+......|
000001b0 02 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 |.0...U.......0.0|
000001c0 19 06 03 55 1d 0e 04 12 04 10 9f 91 16 1f 43 43 |...U..........CC|
000001d0 3e 49 a6 de 6d b6 80 d7 9f 60 30 1b 06 03 55 1d |>I..m....`0...U.|
000001e0 23 04 14 30 12 80 10 48 13 49 4d 13 7e 16 31 bb |#..0...H.IM.~.1.|
000001f0 a3 01 d5 ac ab 6e 7b 30 19 06 03 55 1d 11 04 12 |.....n{0...U....|
00000200 30 10 82 0e 65 78 61 6d 70 6c 65 2e 67 6f 6c 61 |0...example.gola|
00000210 6e 67 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 |ng0...*.H.......|
00000220 00 03 81 81 00 9d 30 cc 40 2b 5b 50 a0 61 cb ba |......0.@+[P.a..|
00000230 e5 53 58 e1 ed 83 28 a9 58 1a a9 38 a4 95 a1 ac |.SX...(.X..8....|
00000240 31 5a 1a 84 66 3d 43 d3 2d d9 0b f2 97 df d3 20 |1Z..f=C.-...... |
00000250 64 38 92 24 3a 00 bc cf 9c 7d b7 40 20 01 5f aa |d8.$:....}.@ ._.|
00000260 d3 16 61 09 a2 76 fd 13 c3 cc e1 0c 5c ee b1 87 |..a..v......\...|
00000270 82 f1 6c 04 ed 73 bb b3 43 77 8d 0c 1c f1 0f a1 |..l..s..Cw......|
00000280 d8 40 83 61 c9 4c 72 2b 9d ae db 46 06 06 4d f4 |.@.a.Lr+...F..M.|
00000290 c1 b3 3e c0 d1 bd 42 d4 db fe 3d 13 60 84 5c 21 |..>...B...=.`.\!|
000002a0 d3 3b e9 fa e7 16 03 03 00 cd 0c 00 00 c9 03 00 |.;..............|
000002b0 17 41 04 1e 18 37 ef 0d 19 51 88 35 75 71 b5 e5 |.A...7...Q.5uq..|
000002c0 54 5b 12 2e 8f 09 67 fd a7 24 20 3e b2 56 1c ce |T[....g..$ >.V..|
000002d0 97 28 5e f8 2b 2d 4f 9e f1 07 9f 6c 4b 5b 83 56 |.(^.+-O....lK[.V|
000002e0 e2 32 42 e9 58 b6 d7 49 a6 b5 68 1a 41 03 56 6b |.2B.X..I..h.A.Vk|
000002f0 dc 5a 89 05 01 00 80 52 91 fb b6 15 9f 36 6d a3 |.Z.....R.....6m.|
00000300 4e 8f 69 a4 17 1c cb ce e5 2e 46 09 3b 3c f2 0a |N.i.......F.;<..|
00000310 88 ae 18 fc 2d 6f fa 87 a8 8e e5 54 87 b7 27 52 |....-o.....T..'R|
00000320 b7 47 48 a8 23 18 6b f3 96 85 e1 46 86 d2 11 f2 |.GH.#.k....F....|
00000330 13 87 eb 8e 8e 53 2b 7d 4d db 00 f3 4e f0 a7 5c |.....S+}M...N..\|
00000340 dd ab 80 9c b5 8f ae e8 87 a6 0c e5 6d 64 b6 74 |............md.t|
00000350 8e c0 aa 2f d8 77 49 77 3d 1d 29 64 58 ca f4 ce |.../.wIw=.)dX...|
00000360 b9 7c 93 39 19 f7 ba 03 c7 f3 1f 2f e4 30 ad 8e |.|.9......./.0..|
00000370 ca bc e1 bf 50 6a 51 16 03 03 00 04 0e 00 00 00 |....PjQ.........|
>>> Flow 3 (client to server)
00000000 16 03 03 00 46 10 00 00 42 41 04 9e 93 8d 9a c4 |....F...BA......|
00000010 97 38 e2 fa 6d a8 63 57 7b e0 45 46 38 cf 20 83 |.8..m.cW{.EF8. .|
00000020 1e d5 60 1f be ff 51 d6 78 2a b4 b4 3f 3c 3f 6b |..`...Q.x*..?<?k|
00000030 c5 43 ac f2 a8 92 ab 66 d0 a1 ab de 25 8b 9c 88 |.C.....f....%...|
00000040 91 68 8e 77 5f 37 b7 80 e2 19 f5 14 03 03 00 01 |.h.w_7..........|
00000050 01 16 03 03 00 28 53 b7 59 df 2c 37 23 4d 8e 5a |.....(S.Y.,7#M.Z|
00000060 38 85 94 31 72 12 ff 27 b8 88 e5 86 0c e0 d2 fa |8..1r..'........|
00000070 90 ab 47 02 2a 96 ec a9 e0 2b 4b 9b 33 c8 |..G.*....+K.3.|
>>> Flow 4 (server to client)
00000000 16 03 03 00 82 04 00 00 7e 00 00 00 00 00 78 50 |........~.....xP|
00000010 46 ad c1 db a8 38 86 7b 2b bb fd d0 c3 42 3e 00 |F....8.{+....B>.|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 94 |................|
00000030 6f ec 80 83 61 15 ca e0 fb 9f 2f 23 27 b2 12 70 |o...a...../#'..p|
00000040 bb 3e 06 2d b1 a5 33 ba da 2c da 37 d6 59 b8 07 |.>.-..3..,.7.Y..|
00000050 91 4d 08 5e fc 01 1c 16 8d d6 bb 46 0c c7 f8 c1 |.M.^.......F....|
00000060 c3 d5 63 8d 0f 33 94 73 2e f8 81 8b 85 bc c9 90 |..c..3.s........|
00000070 95 58 25 b7 e6 eb a2 a9 19 af 72 cf 5e 9b 68 a9 |.X%.......r.^.h.|
00000080 91 01 dc 0a 0d 6a f0 14 03 03 00 01 01 16 03 03 |.....j..........|
00000090 00 28 00 00 00 00 00 00 00 00 61 75 eb c5 67 c7 |.(........au..g.|
000000a0 a7 2e cf 4c 2d 7f 13 aa 4c d8 4e 0c dd 0f 19 34 |...L-...L.N....4|
000000b0 ae 39 9f 3a 2e 51 ed 4d 8b b1 17 03 03 00 25 00 |.9.:.Q.M......%.|
000000c0 00 00 00 00 00 00 01 95 8f 7a 9f e1 de 8f da 05 |.........z......|
000000d0 62 64 09 34 44 96 f6 96 b5 26 48 56 96 b8 c6 c6 |bd.4D....&HV....|
000000e0 d4 17 26 80 15 03 03 00 1a 00 00 00 00 00 00 00 |..&.............|
000000f0 02 32 1c 74 65 a9 51 e2 6c 66 94 47 ff 4b 6f 77 |.2.te.Q.lf.G.Kow|
00000100 ba c1 cf |...|