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