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>
131 行
9.8 KiB
Plaintext
131 行
9.8 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 01 00 59 02 00 00 55 03 01 75 a2 11 1e 9d |....Y...U..u....|
|
|
00000010 5c 45 79 41 ae d4 f0 0b c8 45 86 2c e8 a0 a0 c9 |\EyA.....E.,....|
|
|
00000020 37 a9 55 f4 f4 a8 f0 a5 f8 64 ad 20 96 c5 22 52 |7.U......d. .."R|
|
|
00000030 3f 37 2f 7c 75 39 64 3c 4c 96 01 e1 bf 12 0a 9c |?7/|u9d<L.......|
|
|
00000040 57 36 5a 0b 7c e6 70 e3 28 64 82 f1 c0 09 00 00 |W6Z.|.p.(d......|
|
|
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
|
|
00000060 01 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 01 00 d6 0c 00 00 d2 03 00 17 41 04 c3 |*............A..|
|
|
00000280 9d 20 75 e6 2f 70 63 0c 3a f8 98 74 d4 df bb 9f |. u./pc.:..t....|
|
|
00000290 ff d2 95 fc 4f 3e 9b 0e 0e 49 b5 97 dc fe bc 7e |....O>...I.....~|
|
|
000002a0 62 2a 71 9f f5 72 4c 42 4f e5 14 d7 30 1a 06 fe |b*q..rLBO...0...|
|
|
000002b0 ca 12 89 e4 61 21 1e 2c 9f 2e 56 56 e9 54 a3 00 |....a!.,..VV.T..|
|
|
000002c0 8b 30 81 88 02 42 01 29 8c cd 92 fe af fd 59 85 |.0...B.)......Y.|
|
|
000002d0 ad 41 ba 23 f2 fc 38 c3 0e 34 73 9c 49 05 e1 7a |.A.#..8..4s.I..z|
|
|
000002e0 c6 8b cb 33 09 3c 48 66 8f 70 3c 9a 64 96 de fd |...3.<Hf.p<.d...|
|
|
000002f0 8a 17 e0 11 67 02 12 ef bb c7 66 f3 d6 69 09 5c |....g.....f..i.\|
|
|
00000300 55 88 36 55 2e 5b dc 48 02 42 01 6f 80 dd 49 00 |U.6U.[.H.B.o..I.|
|
|
00000310 21 f9 aa 1f 93 7e 6c 00 67 d8 ff 2a e4 9f 2d 1a |!....~l.g..*..-.|
|
|
00000320 9c 66 ee 5d 31 b6 0e 93 6a 7f 80 1f 72 cb 57 37 |.f.]1...j...r.W7|
|
|
00000330 4d 37 af 9f 1b b7 ae 12 9f fa 2c 84 9b a8 0f 2a |M7........,....*|
|
|
00000340 d6 5e 27 00 ec 20 57 30 22 c4 ea 37 16 03 01 00 |.^'.. W0"..7....|
|
|
00000350 0e 0d 00 00 06 03 01 02 40 00 00 0e 00 00 00 |........@......|
|
|
>>> Flow 3 (client to server)
|
|
00000000 16 03 01 02 0a 0b 00 02 06 00 02 03 00 02 00 30 |...............0|
|
|
00000010 82 01 fc 30 82 01 5e 02 09 00 9a 30 84 6c 26 35 |...0..^....0.l&5|
|
|
00000020 d9 17 30 09 06 07 2a 86 48 ce 3d 04 01 30 45 31 |..0...*.H.=..0E1|
|
|
00000030 0b 30 09 06 03 55 04 06 13 02 41 55 31 13 30 11 |.0...U....AU1.0.|
|
|
00000040 06 03 55 04 08 13 0a 53 6f 6d 65 2d 53 74 61 74 |..U....Some-Stat|
|
|
00000050 65 31 21 30 1f 06 03 55 04 0a 13 18 49 6e 74 65 |e1!0...U....Inte|
|
|
00000060 72 6e 65 74 20 57 69 64 67 69 74 73 20 50 74 79 |rnet Widgits Pty|
|
|
00000070 20 4c 74 64 30 1e 17 0d 31 32 31 31 31 34 31 33 | Ltd0...12111413|
|
|
00000080 32 35 35 33 5a 17 0d 32 32 31 31 31 32 31 33 32 |2553Z..221112132|
|
|
00000090 35 35 33 5a 30 41 31 0b 30 09 06 03 55 04 06 13 |553Z0A1.0...U...|
|
|
000000a0 02 41 55 31 0c 30 0a 06 03 55 04 08 13 03 4e 53 |.AU1.0...U....NS|
|
|
000000b0 57 31 10 30 0e 06 03 55 04 07 13 07 50 79 72 6d |W1.0...U....Pyrm|
|
|
000000c0 6f 6e 74 31 12 30 10 06 03 55 04 03 13 09 4a 6f |ont1.0...U....Jo|
|
|
000000d0 65 6c 20 53 69 6e 67 30 81 9b 30 10 06 07 2a 86 |el Sing0..0...*.|
|
|
000000e0 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 81 86 00 |H.=....+...#....|
|
|
000000f0 04 00 95 8c 91 75 14 c0 5e c4 57 b4 d4 c3 6f 8d |.....u..^.W...o.|
|
|
00000100 ae 68 1e dd 6f ce 86 e1 7e 6e b2 48 3e 81 e5 4e |.h..o...~n.H>..N|
|
|
00000110 e2 c6 88 4b 64 dc f5 30 bb d3 ff 65 cc 5b f4 dd |...Kd..0...e.[..|
|
|
00000120 b5 6a 3e 3e d0 1d de 47 c3 76 ad 19 f6 45 2c 8c |.j>>...G.v...E,.|
|
|
00000130 bc d8 1d 01 4c 1f 70 90 46 76 48 8b 8f 83 cc 4a |....L.p.FvH....J|
|
|
00000140 5c 8f 40 76 da e0 89 ec 1d 2b c4 4e 30 76 28 41 |\.@v.....+.N0v(A|
|
|
00000150 b2 62 a8 fb 5b f1 f9 4e 7a 8d bd 09 b8 ae ea 8b |.b..[..Nz.......|
|
|
00000160 18 27 4f 2e 70 fe 13 96 ba c3 d3 40 16 cd 65 4e |.'O.p......@..eN|
|
|
00000170 ac 11 1e e6 f1 30 09 06 07 2a 86 48 ce 3d 04 01 |.....0...*.H.=..|
|
|
00000180 03 81 8c 00 30 81 88 02 42 00 e0 14 c4 60 60 0b |....0...B....``.|
|
|
00000190 72 68 b0 32 5d 61 4a 02 74 5c c2 81 b9 16 a8 3f |rh.2]aJ.t\.....?|
|
|
000001a0 29 c8 36 c7 81 ff 6c b6 5b d9 70 f1 38 3b 50 48 |).6...l.[.p.8;PH|
|
|
000001b0 28 94 cb 09 1a 52 f1 5d ee 8d f2 b9 f0 f0 da d9 |(....R.]........|
|
|
000001c0 15 3a f9 bd 03 7a 87 a2 23 35 ec 02 42 01 a3 d4 |.:...z..#5..B...|
|
|
000001d0 8a 78 35 1c 4a 9a 23 d2 0a be 2b 10 31 9d 9c 5f |.x5.J.#...+.1.._|
|
|
000001e0 be e8 91 b3 da 1a f5 5d a3 23 f5 26 8b 45 70 8d |.......].#.&.Ep.|
|
|
000001f0 65 62 9b 7e 01 99 3d 18 f6 10 9a 38 61 9b 2e 57 |eb.~..=....8a..W|
|
|
00000200 e4 fa cc b1 8a ce e2 23 a0 87 f0 e1 67 51 eb 16 |.......#....gQ..|
|
|
00000210 03 01 00 46 10 00 00 42 41 04 1e 18 37 ef 0d 19 |...F...BA...7...|
|
|
00000220 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd a7 |Q.5uq..T[....g..|
|
|
00000230 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e f1 |$ >.V...(^.+-O..|
|
|
00000240 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 a6 |..lK[.V.2B.X..I.|
|
|
00000250 b5 68 1a 41 03 56 6b dc 5a 89 16 03 01 00 90 0f |.h.A.Vk.Z.......|
|
|
00000260 00 00 8c 00 8a 30 81 87 02 41 16 3b 14 a8 7e 9e |.....0...A.;..~.|
|
|
00000270 91 01 b5 56 4b 38 8a 74 46 ad c1 c3 d2 b3 2f ca |...VK8.tF...../.|
|
|
00000280 57 b8 de 43 4d bb c7 2f 62 3a 94 91 e3 72 60 7d |W..CM../b:...r`}|
|
|
00000290 cd 90 77 78 35 ef 21 9d 4e b5 79 98 18 e0 46 8b |..wx5.!.N.y...F.|
|
|
000002a0 e4 97 98 e2 d9 cf 6f c9 a2 ef 35 02 42 00 93 ec |......o...5.B...|
|
|
000002b0 45 d7 34 da 4f 86 81 67 bf 87 14 6b b8 69 ae 80 |E.4.O..g...k.i..|
|
|
000002c0 2a b0 15 a8 cd 12 46 34 e7 30 d7 f2 84 9d 9e 81 |*.....F4.0......|
|
|
000002d0 3d 3c 24 0e 18 58 0a 4e 66 62 5d ec ae 35 7c e4 |=<$..X.Nfb]..5|.|
|
|
000002e0 66 d9 b3 0b 26 95 fb bc af f3 02 67 fb da a3 14 |f...&......g....|
|
|
000002f0 03 01 00 01 01 16 03 01 00 30 e0 9d a5 39 ec b2 |.........0...9..|
|
|
00000300 29 40 32 b8 65 3c fb 59 f8 53 de 3c 36 41 2c 48 |)@2.e<.Y.S.<6A,H|
|
|
00000310 08 cb 00 00 f1 64 aa 37 b1 ef 27 18 0d 6a f9 30 |.....d.7..'..j.0|
|
|
00000320 13 6e 6e 9e ab 82 d8 ba e2 51 |.nn......Q|
|
|
>>> Flow 4 (server to client)
|
|
00000000 14 03 01 00 01 01 16 03 01 00 30 ba 3e 11 94 20 |..........0.>.. |
|
|
00000010 72 43 30 b3 5a eb db 4e 17 fa 83 aa 8f e4 17 92 |rC0.Z..N........|
|
|
00000020 58 0c 56 ce b3 39 cc 40 34 91 55 96 4c 9e 02 5b |X.V..9.@4.U.L..[|
|
|
00000030 05 ec 4e 6b 95 52 17 ea 06 dc d7 |..Nk.R.....|
|
|
>>> Flow 5 (client to server)
|
|
00000000 17 03 01 00 20 30 65 6a 9b 39 98 ff ea 90 d9 a7 |.... 0ej.9......|
|
|
00000010 52 88 ca 38 b2 71 b7 75 0f 9f 41 b0 bb 33 ff 83 |R..8.q.u..A..3..|
|
|
00000020 6e 59 7e 81 a1 17 03 01 00 20 18 9a a6 df 69 9c |nY~...... ....i.|
|
|
00000030 56 f1 4e d4 9b 85 80 64 ee b8 d2 a7 ca 3a 54 5f |V.N....d.....:T_|
|
|
00000040 d4 e6 64 68 aa fd 28 22 06 3b 15 03 01 00 20 0f |..dh..(".;.... .|
|
|
00000050 4e 21 15 b2 b0 dd 7a 33 71 88 d9 45 25 05 92 ad |N!....z3q..E%...|
|
|
00000060 b1 35 dc fa 61 df 53 66 fc 80 89 49 bc 8f c4 |.5..a.Sf...I...|
|