Skip to content

Commit a3a3ada

Browse files
committed
Warn on TLSv1.1. Fixes #241
1 parent a49aee1 commit a3a3ada

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

Changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
Changelog
22
=========
3+
Version: 2.0.9
4+
Date : 24/03/2021
5+
Author : rbsec <robin@rbsec.net>
6+
Changes: The following are a list of changes
7+
> Warn on TLSv1.1, as it's now deprecated by RFC 8996
8+
39
Version: 2.0.8
410
Date : 12/02/2021
511
Author : rbsec <robin@rbsec.net>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Key changes are as follows:
6161
* Display EC curve names and DHE key lengths with OpenSSL >= 1.0.2 `--no-cipher-details`.
6262
* Flag weak DHE keys with OpenSSL >= 1.0.2 `--cipher-details`.
6363
* Flag expired certificates.
64-
* Flag TLSv1.0 ciphers in output as weak.
64+
* Flag TLSv1.0 and TLSv1.1 protocols in output as weak.
6565
* Experimental OS X support (static building only).
6666
* Support for scanning PostgreSQL servers (credit nuxi).
6767
* Check for TLS Fallback SCSV support.

sslscan.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,6 +1591,9 @@ void outputCipher(struct sslCheckOptions *options, SSL *ssl, const char *cleanSs
15911591
if (strcmp(cleanSslMethod, "TLSv1.3") == 0) {
15921592
printf("%sTLSv1.3%s ", COL_GREEN, RESET);
15931593
}
1594+
else if (strcmp(cleanSslMethod, "TLSv1.1") == 0) {
1595+
printf("%sTLSv1.1%s ", COL_YELLOW, RESET);
1596+
}
15941597
else if (strcmp(cleanSslMethod, "TLSv1.0") == 0) {
15951598
printf("%sTLSv1.0%s ", COL_YELLOW, RESET);
15961599
} else
@@ -3344,10 +3347,10 @@ int testHost(struct sslCheckOptions *options)
33443347

33453348
if ((options->sslVersion == ssl_all) || (options->sslVersion == tls_all) || (options->sslVersion == tls_v11)) {
33463349
if ((options->tls11_supported = checkIfTLSVersionIsSupported(options, TLSv1_1))) {
3347-
printf("TLSv1.1 enabled\n");
3350+
printf("TLSv1.1 %senabled%s\n", COL_YELLOW, RESET);
33483351
printf_xml(" <protocol type=\"tls\" version=\"1.1\" enabled=\"1\" />\n");
33493352
} else {
3350-
printf("TLSv1.1 disabled\n");
3353+
printf("TLSv1.1 %sdisabled%s\n", COL_GREEN, RESET);
33513354
printf_xml(" <protocol type=\"tls\" version=\"1.1\" enabled=\"0\" />\n");
33523355
}
33533356
}

0 commit comments

Comments
 (0)