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

134 rader
10 KiB
Plaintext

>>> Flow 1 (client to server)
00000000 16 03 01 00 85 01 00 00 81 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 22 c0 2f |............."./|
00000030 c0 2b c0 30 c0 2c c0 11 c0 07 c0 13 c0 09 c0 14 |.+.0.,..........|
00000040 c0 0a 00 9c 00 9d 00 05 00 2f 00 35 c0 12 00 0a |........./.5....|
00000050 01 00 00 36 00 05 00 05 01 00 00 00 00 00 0a 00 |...6............|
00000060 08 00 06 00 17 00 18 00 19 00 0b 00 02 01 00 00 |................|
00000070 0d 00 0e 00 0c 04 01 04 03 05 01 05 03 02 01 02 |................|
00000080 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 99 c8 37 1a 6f |....Y...U....7.o|
00000010 c8 e2 cc a8 b5 1d 84 f5 93 58 ad 46 0a e6 60 f1 |.........X.F..`.|
00000020 e4 e0 b4 b4 bb d1 30 58 ff 19 49 20 d7 42 c8 0e |......0X..I .B..|
00000030 fe 36 01 8e 0d 16 c2 ad cb 6c cc 48 92 92 db 18 |.6.......l.H....|
00000040 7b df 24 bc 39 ca 45 9a 05 ad 00 4b c0 09 00 00 |{.$.9.E....K....|
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 d7 0c 00 00 d3 03 00 17 41 04 72 |*............A.r|
00000280 6c 04 6f 1c 07 08 23 a7 3b ca 68 46 9d f4 ac e1 |l.o...#.;.hF....|
00000290 6d 76 62 04 45 d9 f7 f0 f4 9e 1c 76 51 98 a9 8d |mvb.E......vQ...|
000002a0 4f 54 bd 15 25 1e a9 07 76 c8 e3 31 1b 88 59 3b |OT..%...v..1..Y;|
000002b0 1f 36 7c cf 48 5d ba 9f 35 c8 92 a7 41 ed 89 04 |.6|.H]..5...A...|
000002c0 03 00 8a 30 81 87 02 41 31 bc 40 4d 6c 1b 93 b2 |...0...A1.@Ml...|
000002d0 d8 95 16 9c 3a 63 f0 5c e4 20 7e fb d2 01 1b 23 |....:c.\. ~....#|
000002e0 bc 8e bc 4b 6d a0 21 3a 62 e4 52 66 bf b4 94 45 |...Km.!:b.Rf...E|
000002f0 a2 7f 21 31 f5 ef 50 13 2c 93 25 c4 61 ae 05 10 |..!1..P.,.%.a...|
00000300 b7 5d e3 bf 7c 99 e3 39 41 02 42 01 b0 cf 42 cd |.]..|..9A.B...B.|
00000310 88 c7 55 93 2f 81 a4 05 bd 5d 0c c8 fd a5 20 18 |..U./....].... .|
00000320 45 e2 f5 3f a6 5c 01 45 01 a2 21 14 5d 36 48 34 |E..?.\.E..!.]6H4|
00000330 e1 20 da fc da a2 35 37 fc a7 6e f8 12 5e a2 ed |. ....57..n..^..|
00000340 6c c7 ac a7 48 bc 0e 51 0e e9 b7 7f 35 16 03 03 |l...H..Q....5...|
00000350 00 2e 0d 00 00 26 03 01 02 40 00 1e 06 01 06 02 |.....&...@......|
00000360 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................|
00000370 03 02 03 03 02 01 02 02 02 03 00 00 0e 00 00 00 |................|
>>> Flow 3 (client to server)
00000000 16 03 03 01 fd 0b 00 01 f9 00 01 f6 00 01 f3 30 |...............0|
00000010 82 01 ef 30 82 01 58 a0 03 02 01 02 02 10 5c 19 |...0..X.......\.|
00000020 c1 89 65 83 55 6f dc 0b c9 b9 93 9f e9 bc 30 0d |..e.Uo........0.|
00000030 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 30 12 31 |..*.H........0.1|
00000040 10 30 0e 06 03 55 04 0a 13 07 41 63 6d 65 20 43 |.0...U....Acme C|
00000050 6f 30 1e 17 0d 31 36 30 38 31 37 32 31 35 32 33 |o0...16081721523|
00000060 31 5a 17 0d 31 37 30 38 31 37 32 31 35 32 33 31 |1Z..170817215231|
00000070 5a 30 12 31 10 30 0e 06 03 55 04 0a 13 07 41 63 |Z0.1.0...U....Ac|
00000080 6d 65 20 43 6f 30 81 9f 30 0d 06 09 2a 86 48 86 |me Co0..0...*.H.|
00000090 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 |...........0....|
000000a0 81 00 ba 6f aa 86 bd cf bf 9f f2 ef 5c 94 60 78 |...o........\.`x|
000000b0 6f e8 13 f2 d1 96 6f cd d9 32 6e 22 37 ce 41 f9 |o.....o..2n"7.A.|
000000c0 ca 5d 29 ac e1 27 da 61 a2 ee 81 cb 10 c7 df 34 |.])..'.a.......4|
000000d0 58 95 86 e9 3d 19 e6 5c 27 73 60 c8 8d 78 02 f4 |X...=..\'s`..x..|
000000e0 1d a4 98 09 a3 19 70 69 3c 25 62 66 2a ab 22 23 |......pi<%bf*."#|
000000f0 c5 7b 85 38 4f 2e 09 73 32 a7 bd 3e 9b ad ca 84 |.{.8O..s2..>....|
00000100 07 e6 0f 3a ff 77 c5 9d 41 85 00 8a b6 9b ee b0 |...:.w..A.......|
00000110 a4 3f 2d 4c 4c e6 42 3e bb 51 c8 dd 48 54 f4 0c |.?-LL.B>.Q..HT..|
00000120 8e 47 02 03 01 00 01 a3 46 30 44 30 0e 06 03 55 |.G......F0D0...U|
00000130 1d 0f 01 01 ff 04 04 03 02 05 a0 30 13 06 03 55 |...........0...U|
00000140 1d 25 04 0c 30 0a 06 08 2b 06 01 05 05 07 03 01 |.%..0...+.......|
00000150 30 0c 06 03 55 1d 13 01 01 ff 04 02 30 00 30 0f |0...U.......0.0.|
00000160 06 03 55 1d 11 04 08 30 06 87 04 7f 00 00 01 30 |..U....0.......0|
00000170 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00 03 81 |...*.H..........|
00000180 81 00 46 ab 44 a2 fb 28 54 f8 5a 67 f8 62 94 f1 |..F.D..(T.Zg.b..|
00000190 9a b2 18 9e f2 b1 de 1d 7e 6f 76 95 a9 ba e7 5d |........~ov....]|
000001a0 a8 16 6c 9c f7 09 d3 37 e4 4b 2b 36 7c 01 ad 41 |..l....7.K+6|..A|
000001b0 d2 32 d8 c3 d2 93 f9 10 6b 8e 95 b9 2c 17 8a a3 |.2......k...,...|
000001c0 44 48 bc 59 13 83 16 04 88 a4 81 5c 25 0d 98 0c |DH.Y.......\%...|
000001d0 ac 11 b1 28 56 be 1d cd 61 62 84 09 bf d6 80 c6 |...(V...ab......|
000001e0 45 8d 82 2c b4 d8 83 9b db c9 22 b7 2a 12 11 7b |E..,......".*..{|
000001f0 fa 02 3b c1 c9 ff ea c9 9d a8 49 d3 95 d7 d5 0e |..;.......I.....|
00000200 e5 35 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 |.5....F...BA...7|
00000210 ef 0d 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 |...Q.5uq..T[....|
00000220 67 fd a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d |g..$ >.V...(^.+-|
00000230 4f 9e f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 |O....lK[.V.2B.X.|
00000240 d7 49 a6 b5 68 1a 41 03 56 6b dc 5a 89 16 03 03 |.I..h.A.Vk.Z....|
00000250 00 88 0f 00 00 84 05 01 00 80 6a 47 26 9b 8b 83 |..........jG&...|
00000260 e9 ac 99 b7 59 5a c4 a3 28 97 ea 8b 40 dc 41 10 |....YZ..(...@.A.|
00000270 e5 57 cb 1c 95 c4 86 96 8b db 3a 5e d6 6c 5d 80 |.W........:^.l].|
00000280 eb 32 7b c3 53 17 de 75 60 39 dc 92 e5 8a d7 1b |.2{.S..u`9......|
00000290 7f 8e 07 d5 5f ee f6 43 0c f5 95 61 6c 58 55 f1 |...._..C...alXU.|
000002a0 86 9d 91 91 af 81 28 7a a3 9a ca 40 31 90 67 3b |......(z...@1.g;|
000002b0 0a 14 8a 1c e1 cd 15 6f 84 a6 7d 47 1e 61 8f 38 |.......o..}G.a.8|
000002c0 3a c2 bc e7 af b8 50 87 c6 1b 78 aa 1b d6 e1 94 |:.....P...x.....|
000002d0 ce ad 9f e3 03 4c ae e6 ac 29 14 03 03 00 01 01 |.....L...)......|
000002e0 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 00 |....@...........|
000002f0 00 00 00 00 00 df a6 96 c2 af 11 9b 19 aa 85 39 |...............9|
00000300 d7 08 db 5a 04 79 21 8d 63 54 98 40 ac 0e 53 ce |...Z.y!.cT.@..S.|
00000310 fa 39 75 a7 05 f4 75 75 cd ef 01 46 94 a3 a0 5d |.9u...uu...F...]|
00000320 01 41 66 7c 12 |.Af|.|
>>> Flow 4 (server to client)
00000000 14 03 03 00 01 01 16 03 03 00 40 d0 d9 13 15 f1 |..........@.....|
00000010 5a d0 64 d5 7b dd 0d f2 11 74 7e f2 c5 fa c8 45 |Z.d.{....t~....E|
00000020 ca 2f 90 db ab a2 2b 9e 6f d2 6c ec eb d8 8c f2 |./....+.o.l.....|
00000030 91 89 48 09 ae 8b d2 92 97 8b 75 df a1 2d 42 fb |..H.......u..-B.|
00000040 6b 97 5d bb 1a af f0 d3 6a 51 41 |k.].....jQA|
>>> Flow 5 (client to server)
00000000 17 03 03 00 30 00 00 00 00 00 00 00 00 00 00 00 |....0...........|
00000010 00 00 00 00 00 0c a8 43 70 49 c0 a5 f9 c4 3e 21 |.......CpI....>!|
00000020 7e 20 c8 68 68 52 9c 57 ff 4b fd 54 32 3f c3 41 |~ .hhR.W.K.T2?.A|
00000030 31 cf 4d d4 4d 15 03 03 00 30 00 00 00 00 00 00 |1.M.M....0......|
00000040 00 00 00 00 00 00 00 00 00 00 36 7b ec a1 91 77 |..........6{...w|
00000050 16 aa f7 72 2a b9 61 1c dd 96 83 db 3b ed 96 d6 |...r*.a.....;...|
00000060 55 c1 a6 ad 39 3c 5b 63 3f da |U...9<[c?.|