cde0e97e4c
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>
83 lines
6.1 KiB
Plaintext
83 lines
6.1 KiB
Plaintext
>>> Flow 1 (client to server)
|
|
00000000 16 03 01 00 5e 01 00 00 5a 03 03 a5 0c f2 61 e9 |....^...Z.....a.|
|
|
00000010 c0 64 8d 4c db 92 af ed 77 26 93 bb fc 02 1a ae |.d.L....w&......|
|
|
00000020 fd 8c 45 ca 78 65 9c ab 57 1d 59 00 00 04 00 05 |..E.xe..W.Y.....|
|
|
00000030 00 ff 01 00 00 2d 00 23 00 00 00 0d 00 20 00 1e |.....-.#..... ..|
|
|
00000040 06 01 06 02 06 03 05 01 05 02 05 03 04 01 04 02 |................|
|
|
00000050 04 03 03 01 03 02 03 03 02 01 02 02 02 03 00 0f |................|
|
|
00000060 00 01 01 |...|
|
|
>>> 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 00 05 00 00 |................|
|
|
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 04 0e 00 00 |.\!.;...........|
|
|
000002a0 00 |.|
|
|
>>> Flow 3 (client to server)
|
|
00000000 16 03 03 00 86 10 00 00 82 00 80 a1 93 c8 d1 c3 |................|
|
|
00000010 f4 30 f0 d2 dd f3 2c 2a d6 13 34 64 85 21 86 f9 |.0....,*..4d.!..|
|
|
00000020 5a 56 92 9b c1 05 f4 50 f6 59 2d 56 58 70 1c 44 |ZV.....P.Y-VXp.D|
|
|
00000030 ba 00 43 25 3c f4 35 1a e3 38 6a 60 98 a9 82 1b |..C%<.5..8j`....|
|
|
00000040 21 86 03 c4 83 04 33 f6 bb 6c 30 6b a7 43 47 94 |!.....3..l0k.CG.|
|
|
00000050 c6 c6 7c 61 c0 2e 0b 21 8e b2 22 43 18 ea 89 20 |..|a...!.."C... |
|
|
00000060 85 41 b6 c1 26 3e 98 cc e4 7a 1e 1a de 55 c2 e8 |.A..&>...z...U..|
|
|
00000070 b1 a9 5c f0 40 ed 52 b3 ec 78 e3 23 4e f9 9f 04 |..\.@.R..x.#N...|
|
|
00000080 d5 b6 bd 57 8f 67 ca 4c ce 68 9c 14 03 03 00 01 |...W.g.L.h......|
|
|
00000090 01 16 03 03 00 24 6a 84 b2 9a 4d bd 5e 7b 2b 4d |.....$j...M.^{+M|
|
|
000000a0 60 99 bd f7 9d da 70 5c 27 a0 d4 a6 98 bd ee 16 |`.....p\'.......|
|
|
000000b0 b7 a5 47 3f fd ab 6d 8f 53 5e |..G?..m.S^|
|
|
>>> 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 2c b5 83 61 a0 6c 9b 3d 82 88 87 9d 31 0d 89 |o,..a.l.=....1..|
|
|
00000040 7c cc 1c bf e6 02 1c 08 6d 29 4a 85 17 dd 2f 46 ||.......m)J.../F|
|
|
00000050 c9 87 a7 d9 23 5f e4 3d 72 22 85 63 b7 03 7e a8 |....#_.=r".c..~.|
|
|
00000060 2b f4 a6 62 65 33 94 df 7b 0e fa 5a 0d d3 b3 be |+..be3..{..Z....|
|
|
00000070 2a b0 fb c1 46 7e dd 4b 59 39 fc 1a 4f 4c c4 f3 |*...F~.KY9..OL..|
|
|
00000080 ec f0 73 b3 11 8e 1b 14 03 03 00 01 01 16 03 03 |..s.............|
|
|
00000090 00 24 9e ba e0 21 81 b9 68 20 70 44 51 22 e2 12 |.$...!..h pDQ"..|
|
|
000000a0 49 79 fa c0 47 b0 2f f5 db 2f 12 fb b2 f8 f5 e5 |Iy..G./../......|
|
|
000000b0 22 66 15 77 36 f0 17 03 03 00 21 5a 02 14 69 5d |"f.w6.....!Z..i]|
|
|
000000c0 3b 52 e9 a6 70 80 8f 7c bf 52 70 cc 04 59 6c ef |;R..p..|.Rp..Yl.|
|
|
000000d0 0f ea a5 ed 1b 7b 76 99 b0 e5 13 aa 15 03 03 00 |.....{v.........|
|
|
000000e0 16 d1 d4 85 b4 80 a1 d5 08 a5 bf 4d ae cf 88 a8 |...........M....|
|
|
000000f0 63 7f 03 65 f7 f4 cf |c..e...|
|