From bddf9c967f4c0b5c4a2162f80c28e23024dd02cf Mon Sep 17 00:00:00 2001 From: David Cooper Date: Tue, 8 Mar 2022 11:45:55 -0500 Subject: [PATCH] Include RSA-PSS in ClientHello This commit changes prepare_tls_clienthello() so that the RSA-PSS algorithms are offered in the signature algorithms extension of TLS 1.2 and below ClientHello messages. --- testssl.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index fbc1691..6a7c531 100755 --- a/testssl.sh +++ b/testssl.sh @@ -14996,9 +14996,10 @@ prepare_tls_clienthello() { if [[ 0x$tls_low_byte -le 0x03 ]]; then extension_signature_algorithms=" 00, 0d, # Type: signature_algorithms , see RFC 5246 and RFC 8422 - 00, 24, 00,22, # lengths + 00, 30, 00,2e, # lengths 06,01, 06,02, 06,03, 05,01, 05,02, 05,03, 04,01, 04,02, 04,03, - 03,01, 03,02, 03,03, 02,01, 02,02, 02,03, 08,07, 08,08" + 03,01, 03,02, 03,03, 02,01, 02,02, 02,03, + 08,04, 08,05, 08,06, 08,07, 08,08, 08,09, 08,0a, 08,0b" else extension_signature_algorithms=" 00, 0d, # Type: signature_algorithms , see RFC 8446