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
70
testdata/Client-TLSv12-SCT
vendored
70
testdata/Client-TLSv12-SCT
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 01 c6 02 00 01 c2 03 03 c5 e7 69 ed ec |.............i..|
|
||||
00000010 04 42 ea 6f 62 65 ea f8 64 18 86 e6 53 a4 77 df |.B.obe..d...S.w.|
|
||||
00000020 05 04 4d c3 2f 5b 06 60 48 71 4f 20 cf e0 a3 b2 |..M./[.`HqO ....|
|
||||
00000030 8d b0 d0 b3 54 0b 0f 5d 38 53 5e 65 49 a9 31 40 |....T..]8S^eI.1@|
|
||||
00000040 fb 3d 66 97 f5 f0 69 21 b4 12 f0 62 c0 2f 00 01 |.=f...i!...b./..|
|
||||
00000000 16 03 03 01 c6 02 00 01 c2 03 03 1b f6 69 c1 c2 |.............i..|
|
||||
00000010 36 77 72 32 69 95 c9 e7 db 9b 5d bd 59 ba 08 02 |6wr2i.....].Y...|
|
||||
00000020 1e 76 11 c4 8e 49 08 22 8e 8a 5a 20 44 ec d9 13 |.v...I."..Z D...|
|
||||
00000030 23 ad 05 45 48 29 00 c6 11 3d 5a 5c a1 ee 34 2b |#..EH)...=Z\..4+|
|
||||
00000040 58 ef 34 5b 7e 42 08 84 23 66 56 ee c0 2f 00 01 |X.4[~B..#fV../..|
|
||||
00000050 7a ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 12 |z...............|
|
||||
00000060 01 69 01 67 00 75 00 a4 b9 09 90 b4 18 58 14 87 |.i.g.u.......X..|
|
||||
00000070 bb 13 a2 cc 67 70 0a 3c 35 98 04 f9 1b df b8 e3 |....gp.<5.......|
|
||||
|
@ -82,19 +82,19 @@
|
|||
00000460 b6 d8 c9 75 90 96 8c 0f 52 98 b5 cd 98 1f 89 20 |...u....R...... |
|
||||
00000470 5f f2 a0 1c a3 1b 96 94 dd a9 fd 57 e9 70 e8 26 |_..........W.p.&|
|
||||
00000480 6d 71 99 9b 26 6e 38 50 29 6c 90 a7 bd d9 16 03 |mq..&n8P)l......|
|
||||
00000490 03 00 cd 0c 00 00 c9 03 00 17 41 04 bf b8 6a b3 |..........A...j.|
|
||||
000004a0 44 4e 6e e9 2a 43 8b 00 fc a6 04 7e 66 35 d5 21 |DNn.*C.....~f5.!|
|
||||
000004b0 1a 83 e6 24 13 67 4c 83 0c a9 85 eb 41 a7 5e ed |...$.gL.....A.^.|
|
||||
000004c0 50 e4 db 17 4a b7 e9 74 ed 19 b2 2e e4 b9 32 13 |P...J..t......2.|
|
||||
000004d0 56 76 2d 55 a7 ae 81 6e 15 5b 0e 05 04 01 00 80 |Vv-U...n.[......|
|
||||
000004e0 06 5c 4b a2 ad ce 81 19 b0 24 c8 81 e6 2f 59 c7 |.\K......$.../Y.|
|
||||
000004f0 64 bb dc e6 d6 79 45 b5 f8 d7 43 70 93 f3 8a 77 |d....yE...Cp...w|
|
||||
00000500 77 8b af c5 b9 e2 77 6b eb cf eb 94 58 14 c1 2f |w.....wk....X../|
|
||||
00000510 81 ea 60 1b c0 db 4e 99 d8 10 54 00 e1 e3 85 f5 |..`...N...T.....|
|
||||
00000520 aa e6 ac ab 86 20 3a b0 33 8d c2 07 b2 d6 0d f6 |..... :.3.......|
|
||||
00000530 1f 7a 02 76 3c da 41 b2 53 8e 18 f4 66 1e bb f9 |.z.v<.A.S...f...|
|
||||
00000540 91 0a fe ed eb 99 b9 ad a7 44 90 a2 10 a6 5d 84 |.........D....].|
|
||||
00000550 7f 92 a6 0b 27 7d 01 03 c3 57 d9 58 bf 90 ec 37 |....'}...W.X...7|
|
||||
00000490 03 00 cd 0c 00 00 c9 03 00 17 41 04 d7 61 5b 05 |..........A..a[.|
|
||||
000004a0 de 22 d3 3d 00 72 a5 be 0a c1 76 94 a1 34 41 6e |.".=.r....v..4An|
|
||||
000004b0 55 f2 74 91 d2 6f 5c 47 87 c8 4b eb ab ab 10 b9 |U.t..o\G..K.....|
|
||||
000004c0 f9 0a bc 63 03 5f 90 5b e3 6f e1 44 97 cc bf d2 |...c._.[.o.D....|
|
||||
000004d0 e8 0d f5 9c 2e 9d 07 2c b2 00 90 0b 04 01 00 80 |.......,........|
|
||||
000004e0 67 3d c7 73 42 b9 b2 fd 4b dd 02 57 87 95 20 75 |g=.sB...K..W.. u|
|
||||
000004f0 da c1 e7 d3 33 09 01 5d e9 32 d7 20 7f 92 a9 dd |....3..].2. ....|
|
||||
00000500 bb 17 c5 ee f2 07 b2 04 1d 5e 1f c2 41 66 3f 14 |.........^..Af?.|
|
||||
00000510 90 cd 84 ac 49 46 04 3e ce 89 7d 79 42 2a 8c 56 |....IF.>..}yB*.V|
|
||||
00000520 93 d3 9c 3b 57 38 9e 91 af 62 ad 86 40 29 3d 46 |...;W8...b..@)=F|
|
||||
00000530 c7 cc f4 3f a1 7d ee 53 3d 94 1c 85 b9 1d a9 5f |...?.}.S=......_|
|
||||
00000540 10 8e ee 38 5e 98 5d 39 31 79 83 cd f9 02 a8 a9 |...8^.]91y......|
|
||||
00000550 b8 82 21 33 40 ed 27 54 a3 6e 64 cb e9 ce dd e1 |..!3@.'T.nd.....|
|
||||
00000560 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..|
|
||||
|
@ -102,17 +102,17 @@
|
|||
00000020 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.|
|
||||
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 28 00 00 00 00 00 00 00 00 ab 8b |.....(..........|
|
||||
00000060 08 8d 0a 63 b6 d8 21 87 b1 eb 4a 62 1d be 9d 7b |...c..!...Jb...{|
|
||||
00000070 c7 ce 44 41 46 a5 4a 13 51 af 45 b0 1c 78 |..DAF.J.Q.E..x|
|
||||
00000050 01 16 03 03 00 28 00 00 00 00 00 00 00 00 60 0e |.....(........`.|
|
||||
00000060 49 99 7a 9f 28 6e 46 03 a8 fd 0e b7 ed bb 9c ba |I.z.(nF.........|
|
||||
00000070 07 9c 4d cc 26 2b c2 70 a0 26 38 a0 f2 a0 |..M.&+.p.&8...|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 67 bb 82 15 33 |..........(g...3|
|
||||
00000010 ac ab 9f be af d4 2e 62 1f bd 93 b1 97 30 9c df |.......b.....0..|
|
||||
00000020 67 b8 23 b8 8e 34 ac d3 94 6d 9c 73 d2 8c 6b ee |g.#..4...m.s..k.|
|
||||
00000030 06 a0 78 |..x|
|
||||
00000000 14 03 03 00 01 01 16 03 03 00 28 d2 ef 8f f4 7b |..........(....{|
|
||||
00000010 7a 9b c8 98 a4 36 f2 be 61 46 0e af f4 6f 63 71 |z....6..aF...ocq|
|
||||
00000020 6e bd 87 ea 1b f2 95 ad 36 7d a3 52 7f b2 b6 45 |n.......6}.R...E|
|
||||
00000030 3f 0b 62 |?.b|
|
||||
>>> Flow 5 (client to server)
|
||||
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 15 e7 c6 |................|
|
||||
00000010 74 39 dd 9f 8d 4b f0 da 1a 4a a4 96 90 d5 5f a9 |t9...K...J...._.|
|
||||
00000020 c9 4a bf 15 03 03 00 1a 00 00 00 00 00 00 00 02 |.J..............|
|
||||
00000030 9f d2 a2 2c b6 dd 78 35 78 d4 5e 81 bc 39 0d 20 |...,..x5x.^..9. |
|
||||
00000040 2e 56 |.V|
|
||||
00000000 17 03 03 00 1e 00 00 00 00 00 00 00 01 53 a1 85 |.............S..|
|
||||
00000010 ce 3c c1 64 39 80 fb db 67 ec 48 20 7f e9 82 f4 |.<.d9...g.H ....|
|
||||
00000020 2d 69 0a 15 03 03 00 1a 00 00 00 00 00 00 00 02 |-i..............|
|
||||
00000030 ab 78 11 1b 80 55 23 db 07 c5 7f c3 5e 19 d8 b3 |.x...U#.....^...|
|
||||
00000040 f8 c6 |..|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue