mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-04 12:37:35 +03:00
crypto/tls: update the supported signature algorithms.
This is the second in a two-part change. See https://golang.org/cl/9415 for details of the overall change. This change updates the supported signature algorithms to include SHA-384 and updates all the testdata/ files accordingly. Even some of the testdata/ files named “TLS1.0” and “TLS1.1” have been updated because they have TLS 1.2 ClientHello's even though the server picks a lower version. Fixes #9757. Change-Id: Ia76de2b548d3b39cd4aa3f71132b0da7c917debd Reviewed-on: https://go-review.googlesource.com/9472 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
7de6f5ad0c
commit
eedecb3d60
34 changed files with 1180 additions and 1180 deletions
69
testdata/Server-TLSv12-RSA-AES256-GCM-SHA384
vendored
69
testdata/Server-TLSv12-RSA-AES256-GCM-SHA384
vendored
|
@ -1,14 +1,15 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 9a 01 00 00 96 03 03 37 7c 30 6d df |...........7|0m.|
|
||||
00000010 4d 94 90 04 59 df ec 01 11 77 29 b6 4f 95 50 ef |M...Y....w).O.P.|
|
||||
00000020 ca d0 0f f4 a6 35 98 3b ee 16 72 00 00 04 c0 30 |.....5.;..r....0|
|
||||
00000030 00 ff 01 00 00 69 00 0b 00 04 03 00 01 02 00 0a |.....i..........|
|
||||
00000040 00 34 00 32 00 0e 00 0d 00 19 00 0b 00 0c 00 18 |.4.2............|
|
||||
00000050 00 09 00 0a 00 16 00 17 00 08 00 06 00 07 00 14 |................|
|
||||
00000060 00 15 00 04 00 05 00 12 00 13 00 01 00 02 00 03 |................|
|
||||
00000070 00 0f 00 10 00 11 00 0d 00 20 00 1e 06 01 06 02 |......... ......|
|
||||
00000080 06 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 |................|
|
||||
00000090 03 02 03 03 02 01 02 02 02 03 00 0f 00 01 01 |...............|
|
||||
00000000 16 03 01 00 a1 01 00 00 9d 03 03 77 d9 ce 2c 4d |...........w..,M|
|
||||
00000010 da 71 bb b0 04 5f e1 29 ea 23 9f 21 2d cb 0b 75 |.q..._.).#.!-..u|
|
||||
00000020 be 29 65 df 8b a1 50 3f 14 a8 c0 00 00 04 c0 30 |.)e...P?.......0|
|
||||
00000030 00 ff 02 01 00 00 6f 00 0b 00 04 03 00 01 02 00 |......o.........|
|
||||
00000040 0a 00 3a 00 38 00 0e 00 0d 00 19 00 1c 00 0b 00 |..:.8...........|
|
||||
00000050 0c 00 1b 00 18 00 09 00 0a 00 1a 00 16 00 17 00 |................|
|
||||
00000060 08 00 06 00 07 00 14 00 15 00 04 00 05 00 12 00 |................|
|
||||
00000070 13 00 01 00 02 00 03 00 0f 00 10 00 11 00 0d 00 |................|
|
||||
00000080 20 00 1e 06 01 06 02 06 03 05 01 05 02 05 03 04 | ...............|
|
||||
00000090 01 04 02 04 03 03 01 03 02 03 03 02 01 02 02 02 |................|
|
||||
000000a0 03 00 0f 00 01 01 |......|
|
||||
>>> Flow 2 (server to client)
|
||||
00000000 16 03 03 00 31 02 00 00 2d 03 03 00 00 00 00 00 |....1...-.......|
|
||||
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
|
||||
|
@ -62,31 +63,31 @@
|
|||
00000310 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd a7 24 20 3e |uq..T[....g..$ >|
|
||||
00000320 b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e f1 07 9f 6c |.V...(^.+-O....l|
|
||||
00000330 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 a6 b5 68 1a |K[.V.2B.X..I..h.|
|
||||
00000340 41 03 56 6b dc 5a 89 04 01 00 80 4f 66 0e d5 7f |A.Vk.Z.....Of...|
|
||||
00000350 a8 99 4d dc 5b a7 b0 32 67 b2 8a 2e ca 90 58 f0 |..M.[..2g.....X.|
|
||||
00000360 8d f1 fd 74 c1 3c 84 28 9d 25 7e 0a 61 f8 90 2d |...t.<.(.%~.a..-|
|
||||
00000370 99 f3 90 c9 26 ab a7 d2 38 87 e1 2b 12 6e 93 17 |....&...8..+.n..|
|
||||
00000380 3c 2f 11 8c d8 67 73 11 68 b9 d0 a7 ad 44 83 72 |</...gs.h....D.r|
|
||||
00000390 fc e4 6b ce 7f 02 7e 33 89 4b f3 dc 30 42 c0 4b |..k...~3.K..0B.K|
|
||||
000003a0 2b 29 eb e6 1c 43 bb a7 27 b9 3e f4 76 ec 69 4d |+)...C..'.>.v.iM|
|
||||
000003b0 df 49 d4 f6 b4 ac f6 0b 1d d1 68 61 30 b1 52 07 |.I........ha0.R.|
|
||||
000003c0 a5 6d 31 5e 13 24 8c 32 cd 76 57 16 03 03 00 04 |.m1^.$.2.vW.....|
|
||||
00000340 41 03 56 6b dc 5a 89 05 01 00 80 3f a6 7f 45 a0 |A.Vk.Z.....?..E.|
|
||||
00000350 a7 43 d0 8a 4b 50 39 77 c3 61 eb 88 73 02 de 5c |.C..KP9w.a..s..\|
|
||||
00000360 4d 57 45 80 c1 ee 31 be bc ca 70 48 a1 a5 6c 40 |MWE...1...pH..l@|
|
||||
00000370 de 54 4f dd e2 2d d8 7a 4c 68 f0 fe 28 28 ec 45 |.TO..-.zLh..((.E|
|
||||
00000380 45 79 c6 f6 68 9d 5f b8 eb 76 0b 53 72 76 6f a7 |Ey..h._..v.Srvo.|
|
||||
00000390 00 9b 18 ba 85 ad f3 10 3d cf 08 9c 63 b2 84 4f |........=...c..O|
|
||||
000003a0 57 b6 b6 d8 3e ec c3 76 22 9e cf 31 d5 4c 68 f1 |W...>..v"..1.Lh.|
|
||||
000003b0 f3 a5 61 8a df b1 78 0f 14 9d 57 ef a8 d6 3b f5 |..a...x...W...;.|
|
||||
000003c0 a4 77 dd aa 5f e3 8b 2b cf d2 64 16 03 03 00 04 |.w.._..+..d.....|
|
||||
000003d0 0e 00 00 00 |....|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 46 10 00 00 42 41 04 08 73 d7 79 87 |....F...BA..s.y.|
|
||||
00000010 39 45 dd 69 33 71 a0 48 a0 8b 6e 2f 99 dc a1 4f |9E.i3q.H..n/...O|
|
||||
00000020 21 ca 70 b3 98 fe cc 5a 94 04 1b 8d 4d a4 46 24 |!.p....Z....M.F$|
|
||||
00000030 c6 61 bd e1 49 92 83 8d ea 22 fb b1 43 90 24 7e |.a..I...."..C.$~|
|
||||
00000040 d0 e5 4b cb c3 8a 41 f7 fd d1 9f 14 03 03 00 01 |..K...A.........|
|
||||
00000050 01 16 03 03 00 28 e3 99 f0 d3 65 4e 29 dd d6 eb |.....(....eN)...|
|
||||
00000060 c0 b3 f9 e2 8b bb 68 61 b2 7f 63 db de fb ae d2 |......ha..c.....|
|
||||
00000070 94 b7 45 9b 34 cb a4 26 3f 04 92 34 02 89 |..E.4..&?..4..|
|
||||
00000000 16 03 03 00 46 10 00 00 42 41 04 eb 6a bc 30 f6 |....F...BA..j.0.|
|
||||
00000010 ef 35 bb 4d 35 31 34 93 27 59 d9 6a fc e4 6c ac |.5.M514.'Y.j..l.|
|
||||
00000020 fe 23 c9 b4 88 66 98 15 a3 84 dc 53 95 ea bb 43 |.#...f.....S...C|
|
||||
00000030 16 dc 03 5e 4a 83 d2 47 32 a0 2d ad 56 40 bd 24 |...^J..G2.-.V@.$|
|
||||
00000040 ad 47 af fa f3 d7 50 d3 b5 02 67 14 03 03 00 01 |.G....P...g.....|
|
||||
00000050 01 16 03 03 00 28 8c 86 3b 84 aa 50 d3 e6 bf c9 |.....(..;..P....|
|
||||
00000060 c6 03 4b c5 07 ac 12 96 88 95 64 92 0d 0c d9 8f |..K.......d.....|
|
||||
00000070 11 2f e2 9e 32 e8 2b 4e a7 1a 88 0a a5 f6 |./..2.+N......|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 00 00 00 00 00 |..........(.....|
|
||||
00000010 00 00 00 5e 63 30 5d 4d 2b 87 3f 7b 9c 06 2e 44 |...^c0]M+.?{...D|
|
||||
00000020 92 c5 d0 e8 07 fa 9f db a7 2c dc ec 16 78 bd 37 |.........,...x.7|
|
||||
00000030 8a f7 24 17 03 03 00 25 00 00 00 00 00 00 00 01 |..$....%........|
|
||||
00000040 0b af 29 75 f0 67 6b 78 8c 3a 65 44 53 25 9e d5 |..)u.gkx.:eDS%..|
|
||||
00000050 8e 7e 24 5f c9 95 a1 3e 63 d2 52 09 32 15 03 03 |.~$_...>c.R.2...|
|
||||
00000060 00 1a 00 00 00 00 00 00 00 02 0b f2 f7 93 57 b3 |..............W.|
|
||||
00000070 5b 19 fd e7 a1 0f e9 41 ca f5 74 17 |[......A..t.|
|
||||
00000010 00 00 00 ac 6a 42 ae b7 31 ba 00 dd 82 2f 54 ad |....jB..1..../T.|
|
||||
00000020 85 f6 77 2a 3c 68 24 e6 f5 4b 0e 80 4f 4c 60 04 |..w*<h$..K..OL`.|
|
||||
00000030 ac c3 a7 17 03 03 00 25 00 00 00 00 00 00 00 01 |.......%........|
|
||||
00000040 00 9a 15 f2 55 01 5f 18 c2 da 14 e8 50 a7 4f 4f |....U._.....P.OO|
|
||||
00000050 4a d4 e2 21 86 4d 25 d9 11 4a 6d d2 1c 15 03 03 |J..!.M%..Jm.....|
|
||||
00000060 00 1a 00 00 00 00 00 00 00 02 a6 d4 e9 f9 cd 9a |................|
|
||||
00000070 07 4f 7c 50 ef 6a dd 10 35 8c 43 e9 |.O|P.j..5.C.|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue