From 76a84720a66f4decf9f4c625d638eab11920ff2c Mon Sep 17 00:00:00 2001 From: Andrew Finn <44867518+Andrew-Finn@users.noreply.github.com> Date: Mon, 12 Feb 2024 12:54:38 +0000 Subject: [PATCH] Update extract-iana-ciphers script to use https urllib supports https & http connections should be avoided where https is available. This will have a better end user experience for customers who have static analyses running against their code base. www.iana.org supports https connections. --- scripts/extract-iana-ciphers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/extract-iana-ciphers.py b/scripts/extract-iana-ciphers.py index 7a2b498..1eff295 100755 --- a/scripts/extract-iana-ciphers.py +++ b/scripts/extract-iana-ciphers.py @@ -2,7 +2,7 @@ import urllib2 from BeautifulSoup import BeautifulSoup, ResultSet -file = urllib2.urlopen('http://www.iana.org/assignments/tls-parameters/tls-parameters.xml') +file = urllib2.urlopen('https://www.iana.org/assignments/tls-parameters/tls-parameters.xml') data = file.read() with open('tls-parameters.xml', 'wb') as myFile: myFile.write(data)