mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-03 20:17:36 +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
78
testdata/Client-TLSv12-ECDHE-RSA-AES
vendored
78
testdata/Client-TLSv12-ECDHE-RSA-AES
vendored
|
@ -1,19 +1,19 @@
|
|||
>>> Flow 1 (client to server)
|
||||
00000000 16 03 01 00 7d 01 00 00 79 03 03 00 00 00 00 00 |....}...y.......|
|
||||
00000000 16 03 01 00 81 01 00 00 7d 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 1e c0 2f |.............../|
|
||||
00000030 c0 2b c0 30 c0 2c c0 11 c0 07 c0 13 c0 09 c0 14 |.+.0.,..........|
|
||||
00000040 c0 0a 00 05 00 2f 00 35 c0 12 00 0a 01 00 00 32 |...../.5.......2|
|
||||
00000040 c0 0a 00 05 00 2f 00 35 c0 12 00 0a 01 00 00 36 |...../.5.......6|
|
||||
00000050 00 05 00 05 01 00 00 00 00 00 0a 00 08 00 06 00 |................|
|
||||
00000060 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0a 00 |................|
|
||||
00000070 08 04 01 04 03 02 01 02 03 ff 01 00 01 00 00 12 |................|
|
||||
00000080 00 00 |..|
|
||||
00000060 17 00 18 00 19 00 0b 00 02 01 00 00 0d 00 0e 00 |................|
|
||||
00000070 0c 04 01 04 03 05 01 05 03 02 01 02 03 ff 01 00 |................|
|
||||
00000080 01 00 00 12 00 00 |......|
|
||||
>>> Flow 2 (server to client)
|
||||
00000000 16 03 03 00 59 02 00 00 55 03 03 43 a9 87 d8 4b |....Y...U..C...K|
|
||||
00000010 c5 5a 79 e5 79 a5 1c ce dd 2a fa a6 7d 7e 84 16 |.Zy.y....*..}~..|
|
||||
00000020 43 ea 7d 54 17 a4 9a 61 3b cd 1a 20 f5 22 8d 59 |C.}T...a;.. .".Y|
|
||||
00000030 2f f2 a7 8b 41 a4 3a 1a f1 1c 17 4c 97 19 d9 31 |/...A.:....L...1|
|
||||
00000040 b1 d6 a9 02 b6 78 58 0d 54 f1 83 f7 c0 13 00 00 |.....xX.T.......|
|
||||
00000000 16 03 03 00 59 02 00 00 55 03 03 e6 ae 89 0d 22 |....Y...U......"|
|
||||
00000010 e5 e0 cd 57 a3 ca 71 4f 17 2f 64 77 f8 30 89 ef |...W..qO./dw.0..|
|
||||
00000020 e8 19 70 ac dd 2c c5 9f 84 7d 1d 20 1c 59 3c fe |..p..,...}. .Y<.|
|
||||
00000030 a9 ec 10 dd 38 3b 43 fe 6b 09 e5 e4 83 d9 7a 78 |....8;C.k.....zx|
|
||||
00000040 86 08 33 da 9b e1 09 d8 c9 07 34 19 c0 13 00 00 |..3.......4.....|
|
||||
00000050 0d ff 01 00 01 00 00 0b 00 04 03 00 01 02 16 03 |................|
|
||||
00000060 03 02 be 0b 00 02 ba 00 02 b7 00 02 b4 30 82 02 |.............0..|
|
||||
00000070 b0 30 82 02 19 a0 03 02 01 02 02 09 00 85 b0 bb |.0..............|
|
||||
|
@ -59,20 +59,20 @@
|
|||
000002f0 5f 33 c4 b6 d8 c9 75 90 96 8c 0f 52 98 b5 cd 98 |_3....u....R....|
|
||||
00000300 1f 89 20 5f f2 a0 1c a3 1b 96 94 dd a9 fd 57 e9 |.. _..........W.|
|
||||
00000310 70 e8 26 6d 71 99 9b 26 6e 38 50 29 6c 90 a7 bd |p.&mq..&n8P)l...|
|
||||
00000320 d9 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 53 |.............A.S|
|
||||
00000330 a6 ea d2 0d 76 bf ec f8 50 3d aa 86 19 49 57 65 |....v...P=...IWe|
|
||||
00000340 b0 4e 52 7e f8 c1 e8 93 13 7b 2e cb e5 51 38 3c |.NR~.....{...Q8<|
|
||||
00000350 8e 49 ac 6a 56 8a 38 09 f4 d4 ba c9 ef 5f 57 55 |.I.jV.8......_WU|
|
||||
00000360 d7 b8 5e 46 7b ba f0 08 d0 7f be b0 c7 49 56 04 |..^F{........IV.|
|
||||
00000370 01 00 80 a6 82 86 48 1c 4d 73 31 89 16 3e 62 a6 |......H.Ms1..>b.|
|
||||
00000380 8f 70 3b 9a f3 80 1f 99 f8 f8 f4 5b b0 37 c2 82 |.p;........[.7..|
|
||||
00000390 2f c0 e1 52 48 98 a2 71 d5 8e 65 29 1c d2 af ef |/..RH..q..e)....|
|
||||
000003a0 b2 2b 55 90 ca db 8d 99 f8 b0 66 62 c4 19 d0 fa |.+U.......fb....|
|
||||
000003b0 78 75 63 5a d7 21 51 99 41 c4 ac 1e 78 07 1d ee |xucZ.!Q.A...x...|
|
||||
000003c0 1a 54 06 d0 a0 41 f6 03 75 29 4c 61 9d cc f3 96 |.T...A..u)La....|
|
||||
000003d0 a4 9b 1a 3f 0c 43 32 44 fe 32 25 71 9c 2e 04 79 |...?.C2D.2%q...y|
|
||||
000003e0 ec d5 bb 05 f0 c5 a6 f1 cf 27 d4 9b 44 59 11 90 |.........'..DY..|
|
||||
000003f0 28 0e f3 16 03 03 00 04 0e 00 00 00 |(...........|
|
||||
00000320 d9 16 03 03 00 cd 0c 00 00 c9 03 00 17 41 04 77 |.............A.w|
|
||||
00000330 87 a7 ad f6 f8 34 82 05 ef bb 14 6d c7 8b 7b 2a |.....4.....m..{*|
|
||||
00000340 4d ca 41 65 58 3c 83 fa 4d ce 0c 74 46 85 fe 38 |M.AeX<..M..tF..8|
|
||||
00000350 95 80 ee 7c c2 bf f2 be a3 c6 bf f3 aa 07 23 40 |...|..........#@|
|
||||
00000360 7e cc 74 4a 4e 2e 69 af 6b e0 42 8a fc 41 be 04 |~.tJN.i.k.B..A..|
|
||||
00000370 01 00 80 99 ed a8 3a ef 93 1b 4c 17 80 9e cc eb |......:...L.....|
|
||||
00000380 da 39 fb c8 9a 73 e1 96 20 3e 41 fa 8b 1a b1 68 |.9...s.. >A....h|
|
||||
00000390 cd 47 bc 4b 7b 0c 14 da 87 d3 36 09 5e 37 33 88 |.G.K{.....6.^73.|
|
||||
000003a0 7f 88 07 87 46 ec e5 72 a8 59 92 07 fa 4d 02 dc |....F..r.Y...M..|
|
||||
000003b0 bf 3a f5 e4 77 0b a6 85 ce 43 ee 1b 90 30 7f ec |.:..w....C...0..|
|
||||
000003c0 88 79 f8 88 59 af 6b 7f 2d 88 de 92 cd c8 36 cf |.y..Y.k.-.....6.|
|
||||
000003d0 ba b9 08 6a c4 3d d7 9a 48 50 e1 67 d0 62 a5 b3 |...j.=..HP.g.b..|
|
||||
000003e0 b0 5f 2e 16 ee 4d 7d a2 cf d9 93 19 89 b7 64 0f |._...M}.......d.|
|
||||
000003f0 0f 8e 3d 16 03 03 00 04 0e 00 00 00 |..=.........|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 03 00 46 10 00 00 42 41 04 1e 18 37 ef 0d |....F...BA...7..|
|
||||
00000010 19 51 88 35 75 71 b5 e5 54 5b 12 2e 8f 09 67 fd |.Q.5uq..T[....g.|
|
||||
|
@ -80,21 +80,21 @@
|
|||
00000030 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I|
|
||||
00000040 a6 b5 68 1a 41 03 56 6b dc 5a 89 14 03 03 00 01 |..h.A.Vk.Z......|
|
||||
00000050 01 16 03 03 00 40 00 00 00 00 00 00 00 00 00 00 |.....@..........|
|
||||
00000060 00 00 00 00 00 00 06 2c 27 d7 55 ab 75 1f fe 03 |.......,'.U.u...|
|
||||
00000070 c3 43 d0 c0 39 84 90 01 89 35 44 c6 fe b5 12 36 |.C..9....5D....6|
|
||||
00000080 af 05 9e 06 c7 3b a5 70 5c 2b 18 e6 ae ae c4 ae |.....;.p\+......|
|
||||
00000090 17 b7 45 a0 1f ee |..E...|
|
||||
00000060 00 00 00 00 00 00 f2 20 58 ec f1 88 a6 26 79 9d |....... X....&y.|
|
||||
00000070 2e 9b 02 b5 5e da e2 c1 c5 8d c8 93 6f 6d 07 4e |....^.......om.N|
|
||||
00000080 fa dd ee cb b1 ae c7 3b 09 b2 cc 64 7a cd 98 91 |.......;...dz...|
|
||||
00000090 cb f8 3c 34 3b ed |..<4;.|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 40 c2 48 45 2f 74 |..........@.HE/t|
|
||||
00000010 66 b2 02 32 69 fd 6d 53 48 51 9c 8f d1 ab c1 77 |f..2i.mSHQ.....w|
|
||||
00000020 e1 4f 5e 32 2b e0 e4 5d 20 df e2 27 5b a9 e8 cd |.O^2+..] ..'[...|
|
||||
00000030 37 13 de 44 37 f5 f1 41 ca cf 1d 8c 6c ba 18 42 |7..D7..A....l..B|
|
||||
00000040 0c 75 58 56 12 b7 4f 74 20 d0 86 |.uXV..Ot ..|
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 40 4c a1 8d bd 49 |..........@L...I|
|
||||
00000010 33 d3 72 fb 2f 23 7e 11 29 fc d2 ff 9b 67 30 c8 |3.r./#~.)....g0.|
|
||||
00000020 be c1 bc 51 6e 92 a5 f4 9d e3 b3 f9 d2 d4 c4 a5 |...Qn...........|
|
||||
00000030 83 23 90 b3 17 00 35 18 c5 ef 8b 18 a3 cf ed 9d |.#....5.........|
|
||||
00000040 a9 52 c9 11 0a c9 55 c2 76 df 78 |.R....U.v.x|
|
||||
>>> 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 ed ea 3d 21 7c 55 33 01 80 a9 b8 |.......=!|U3....|
|
||||
00000020 49 6f 35 82 ce a4 6b 55 fe f2 56 5f 81 9c b6 dc |Io5...kU..V_....|
|
||||
00000030 cb 59 f8 07 7c 15 03 03 00 30 00 00 00 00 00 00 |.Y..|....0......|
|
||||
00000040 00 00 00 00 00 00 00 00 00 00 2f 4d af 27 33 c1 |........../M.'3.|
|
||||
00000050 03 0e 8b da 39 13 96 81 4d d5 7b 9f c8 1a 1b d4 |....9...M.{.....|
|
||||
00000060 48 26 7f 28 af db 16 c5 73 c3 |H&.(....s.|
|
||||
00000010 00 00 00 00 00 60 40 d0 bf 8f ef 05 2b 89 d7 bb |.....`@.....+...|
|
||||
00000020 27 d0 1f b2 cf c3 ff 8e be 69 16 a9 b3 03 e8 3c |'........i.....<|
|
||||
00000030 30 1d 58 39 4a 15 03 03 00 30 00 00 00 00 00 00 |0.X9J....0......|
|
||||
00000040 00 00 00 00 00 00 00 00 00 00 de 61 51 a1 3c fc |...........aQ.<.|
|
||||
00000050 1c 7b e6 f2 7d e0 aa 80 2d 9c e9 22 09 5c dd 8a |.{..}...-..".\..|
|
||||
00000060 55 cc c4 77 34 97 05 88 98 d3 |U..w4.....|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue