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
96
testdata/Client-TLSv10-ClientCert-RSA-ECDSA
vendored
96
testdata/Client-TLSv10-ClientCert-RSA-ECDSA
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 01 00 59 02 00 00 55 03 01 f0 45 fd 0c 7b |....Y...U...E..{|
|
||||
00000010 34 08 a5 2c 41 57 7c ef 54 b1 11 a4 88 c4 8b b7 |4..,AW|.T.......|
|
||||
00000020 37 ff 64 e8 e9 49 59 62 30 07 50 20 6e cc 00 df |7.d..IYb0.P n...|
|
||||
00000030 d4 5c f4 64 ce 63 7c 86 89 9a 6f 41 c6 e7 0a e9 |.\.d.c|...oA....|
|
||||
00000040 5b 46 c4 a2 fd b3 13 dc e4 2c b2 80 c0 09 00 00 |[F.......,......|
|
||||
00000000 16 03 01 00 59 02 00 00 55 03 01 dc a9 22 c2 a2 |....Y...U...."..|
|
||||
00000010 05 ba c4 66 9a 71 aa 0f 92 6a fc df b0 29 4d 36 |...f.q...j...)M6|
|
||||
00000020 39 2e f8 39 ed 8e f6 7f 8f 17 13 20 f8 9c f3 3d |9..9....... ...=|
|
||||
00000030 0a 41 8f 30 c7 5d cd 17 c5 ad 1c 52 45 a3 47 8c |.A.0.].....RE.G.|
|
||||
00000040 07 4c 48 e1 00 2b 32 38 01 c8 79 b7 c0 09 00 00 |.LH..+28..y.....|
|
||||
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....|
|
||||
|
@ -48,20 +48,20 @@
|
|||
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 d5 0c 00 00 d1 03 00 17 41 04 95 |*............A..|
|
||||
00000280 cd 51 ea 04 1b ba ca 31 b8 01 60 6c 20 45 31 03 |.Q.....1..`l E1.|
|
||||
00000290 03 5f 9f 9d 04 b8 8e 82 7a 4d fd 3e 48 40 ea 5c |._......zM.>H@.\|
|
||||
000002a0 cb d5 4b 2b 2b df bd 38 c7 c8 33 5e 75 2e 88 1a |..K++..8..3^u...|
|
||||
000002b0 4a e3 40 ed ad 79 32 3f ea 23 d5 a0 26 57 b2 00 |J.@..y2?.#..&W..|
|
||||
000002c0 8a 30 81 87 02 42 01 9e d5 0a 85 a4 ad 7d c2 8a |.0...B.......}..|
|
||||
000002d0 ba 0b 21 4c 97 df 57 dd 59 cf 89 32 ff 9d 9c c5 |..!L..W.Y..2....|
|
||||
000002e0 30 a1 fe 58 fa ab 18 41 8e d2 82 6b 5c 07 89 96 |0..X...A...k\...|
|
||||
000002f0 5a d3 a4 62 48 16 24 a1 ce 17 ea 72 62 e5 b2 9e |Z..bH.$....rb...|
|
||||
00000300 8c 27 ac 6c 62 d7 0c 2d 02 41 13 73 90 e0 cb 0f |.'.lb..-.A.s....|
|
||||
00000310 49 5f b3 20 a5 1b ff b4 6a ea 3b 4c 0b d8 2a da |I_. ....j.;L..*.|
|
||||
00000320 44 49 be 16 6a 8b 13 02 88 5e 4c 17 40 4a 1a 38 |DI..j....^L.@J.8|
|
||||
00000330 91 82 fa d9 5c 40 04 d6 59 4c d1 9a 04 5a 97 8d |....\@..YL...Z..|
|
||||
00000340 b0 5b 4b e7 da ea ad f0 a8 39 f9 16 03 01 00 0e |.[K......9......|
|
||||
00000270 2a 16 03 01 00 d5 0c 00 00 d1 03 00 17 41 04 89 |*............A..|
|
||||
00000280 95 9a 90 82 59 ab 29 bf 10 06 8c 6c 0d 67 cf b1 |....Y.)....l.g..|
|
||||
00000290 66 8b 5e 43 b8 46 56 3a 8d 30 92 35 28 82 f2 38 |f.^C.FV:.0.5(..8|
|
||||
000002a0 6e 19 5d 37 f0 ab fc 78 15 6a 6a 73 ca dc a6 f2 |n.]7...x.jjs....|
|
||||
000002b0 68 5d b3 ab 6d 68 44 3b 80 d2 d9 cd 78 0a ed 00 |h]..mhD;....x...|
|
||||
000002c0 8a 30 81 87 02 42 01 80 63 4a 22 4c 8e 66 4e 25 |.0...B..cJ"L.fN%|
|
||||
000002d0 e1 86 27 81 de eb b3 a0 c4 dc dc e2 a0 94 2a b6 |..'...........*.|
|
||||
000002e0 b3 e9 e7 42 e1 1d 1a c0 43 8d a1 d6 8d 77 84 06 |...B....C....w..|
|
||||
000002f0 ba 95 99 e3 54 80 59 4e 3c fb 0c f3 b7 d3 a8 d2 |....T.YN<.......|
|
||||
00000300 ce 49 97 fb e2 79 91 93 02 41 2b 2c b7 9f 81 ea |.I...y...A+,....|
|
||||
00000310 de 17 12 af 4d 20 bc a1 43 1d 60 a0 37 52 a2 7b |....M ..C.`.7R.{|
|
||||
00000320 a8 4c de fd 1d fe 37 3b 00 23 61 ce d2 80 47 43 |.L....7;.#a...GC|
|
||||
00000330 b0 3a f3 1f aa c7 07 b1 68 5b d8 f3 03 a9 56 5c |.:......h[....V\|
|
||||
00000340 63 ef 83 1d 9c 9c 8d 29 81 e9 3b 16 03 01 00 0e |c......)..;.....|
|
||||
00000350 0d 00 00 06 03 01 02 40 00 00 0e 00 00 00 |.......@......|
|
||||
>>> Flow 3 (client to server)
|
||||
00000000 16 03 01 01 fb 0b 00 01 f7 00 01 f4 00 01 f1 30 |...............0|
|
||||
|
@ -101,29 +101,29 @@
|
|||
00000220 a7 24 20 3e b2 56 1c ce 97 28 5e f8 2b 2d 4f 9e |.$ >.V...(^.+-O.|
|
||||
00000230 f1 07 9f 6c 4b 5b 83 56 e2 32 42 e9 58 b6 d7 49 |...lK[.V.2B.X..I|
|
||||
00000240 a6 b5 68 1a 41 03 56 6b dc 5a 89 16 03 01 00 86 |..h.A.Vk.Z......|
|
||||
00000250 0f 00 00 82 00 80 4b d2 ef 33 07 cc fb b4 e8 0f |......K..3......|
|
||||
00000260 10 5d 42 29 2b d8 b2 45 1d 5f 83 b5 48 79 f8 78 |.]B)+..E._..Hy.x|
|
||||
00000270 a6 6b 46 22 46 7b da 57 63 10 8e c7 fa a4 20 f7 |.kF"F{.Wc..... .|
|
||||
00000280 9d 82 51 06 9e b7 18 ac a7 8f 91 c6 57 a4 2f 86 |..Q.........W./.|
|
||||
00000290 c3 ed 64 3a e8 2c a4 de c3 8e c0 7b ef 32 a8 7b |..d:.,.....{.2.{|
|
||||
000002a0 c5 69 b1 4f 96 9e a5 34 9c 18 0c 42 7f 4f b8 17 |.i.O...4...B.O..|
|
||||
000002b0 cc 75 66 8f 80 5d d5 53 0f a3 fc 60 39 05 4b 7f |.uf..].S...`9.K.|
|
||||
000002c0 59 f2 57 50 fe 4d 36 14 8e 6c b2 56 eb b6 dd 0c |Y.WP.M6..l.V....|
|
||||
000002d0 29 77 1f d1 76 58 14 03 01 00 01 01 16 03 01 00 |)w..vX..........|
|
||||
000002e0 30 e5 e6 54 c4 fc 21 54 55 78 5e 5f f9 7b d1 94 |0..T..!TUx^_.{..|
|
||||
000002f0 1a bf 11 27 cc d8 4a 45 67 fa 95 9a 5e 0d 34 0c |...'..JEg...^.4.|
|
||||
00000300 49 0a a6 60 26 2e a0 f5 a2 c1 04 23 3d 57 36 ac |I..`&......#=W6.|
|
||||
00000310 2d |-|
|
||||
00000250 0f 00 00 82 00 80 0e 80 9c 3a 6e 40 51 09 39 d4 |.........:n@Q.9.|
|
||||
00000260 40 58 10 da 7f 32 12 08 9e f0 4d 9a d7 20 a2 9c |@X...2....M.. ..|
|
||||
00000270 b0 95 3a 33 4e f8 b1 a3 74 62 ab 51 7d 23 d4 32 |..:3N...tb.Q}#.2|
|
||||
00000280 a2 af b8 5a 3b b0 23 e4 7a f1 eb 4d b7 bb 23 d5 |...Z;.#.z..M..#.|
|
||||
00000290 a9 0d b4 81 d2 b4 45 bd 15 52 ad 58 da 92 a2 c4 |......E..R.X....|
|
||||
000002a0 30 66 87 f2 ae c5 e4 8c fa ba a0 40 76 b8 3f 72 |0f.........@v.?r|
|
||||
000002b0 2a d9 95 2a 2d c6 05 3c 1e 2f 11 ef c5 3c 11 e4 |*..*-..<./...<..|
|
||||
000002c0 be 5a de 37 43 7f 74 52 6e ee 3c 39 cc f1 14 05 |.Z.7C.tRn.<9....|
|
||||
000002d0 2d 91 c2 3d c4 7c 14 03 01 00 01 01 16 03 01 00 |-..=.|..........|
|
||||
000002e0 30 cd 3c 92 f8 b9 36 7a e7 8a fb 0f 2f b8 2c 7b |0.<...6z..../.,{|
|
||||
000002f0 10 59 45 14 0a b0 6a 8c 31 b2 89 5b ac 19 dc 12 |.YE...j.1..[....|
|
||||
00000300 73 8c 8c 10 49 5a bf 9f bc 58 82 32 11 ba c5 38 |s...IZ...X.2...8|
|
||||
00000310 ff |.|
|
||||
>>> Flow 4 (server to client)
|
||||
00000000 14 03 01 00 01 01 16 03 01 00 30 35 60 71 60 83 |..........05`q`.|
|
||||
00000010 d9 7c 2a 4d 1f 77 94 aa 7a 5b c1 62 95 9a 97 54 |.|*M.w..z[.b...T|
|
||||
00000020 39 b0 65 87 1b 12 28 99 07 70 b8 7c 10 94 69 93 |9.e...(..p.|..i.|
|
||||
00000030 30 37 bf f4 87 c7 e0 69 0e 75 e5 |07.....i.u.|
|
||||
00000000 14 03 01 00 01 01 16 03 01 00 30 da 45 99 fe 52 |..........0.E..R|
|
||||
00000010 4f cd d0 e6 30 19 f4 bd 80 6d 5c 8a 72 03 d3 88 |O...0....m\.r...|
|
||||
00000020 38 63 e9 c9 39 ee ab 3f 52 26 84 b0 4d cb 5c a4 |8c..9..?R&..M.\.|
|
||||
00000030 0d 51 c7 47 48 43 3a bf 89 c7 13 |.Q.GHC:....|
|
||||
>>> Flow 5 (client to server)
|
||||
00000000 17 03 01 00 20 10 f4 8d d4 50 ca 0c a0 c4 ea 18 |.... ....P......|
|
||||
00000010 ef fb f8 c7 62 38 d5 e9 d6 03 5f 6d 41 d5 36 bf |....b8...._mA.6.|
|
||||
00000020 fc c9 6e 85 3b 17 03 01 00 20 8d 96 f6 e0 5f c6 |..n.;.... ...._.|
|
||||
00000030 c5 93 f9 0b 14 05 be d3 92 9a 8c 98 1c 63 5b dd |.............c[.|
|
||||
00000040 15 ef 90 4d 46 a6 af 34 b2 08 15 03 01 00 20 8a |...MF..4...... .|
|
||||
00000050 dc e8 c7 55 02 36 fe 48 bd 9b cf 63 da ec 81 9b |...U.6.H...c....|
|
||||
00000060 54 be 43 ce 19 ab b3 c9 60 53 13 55 58 31 73 |T.C.....`S.UX1s|
|
||||
00000000 17 03 01 00 20 4d d9 1d 0d 3d 8b 73 91 b9 4e 5e |.... M...=.s..N^|
|
||||
00000010 35 71 4f 67 79 d2 f7 39 35 ea 23 d0 6d 64 de a5 |5qOgy..95.#.md..|
|
||||
00000020 59 fb 75 1f c9 17 03 01 00 20 ba bd 3c b4 d7 be |Y.u...... ..<...|
|
||||
00000030 24 64 68 1e 8c b2 bf 6f 78 9f ad 7f fa dd 89 a6 |$dh....ox.......|
|
||||
00000040 f9 e7 5e 70 db e9 db 3a 62 b2 15 03 01 00 20 2a |..^p...:b..... *|
|
||||
00000050 82 f4 8b 45 fc 76 35 6c 54 48 62 2f 52 55 f2 d9 |...E.v5lTHb/RU..|
|
||||
00000060 99 b2 b5 2d 5f a0 05 ab f1 93 58 75 4a 87 35 |...-_.....XuJ.5|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue