Skip to content

Commit

Permalink
Update extract-iana-ciphers script to use https
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Andrew-Finn authored Feb 12, 2024
1 parent 36a0022 commit 76a8472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/extract-iana-ciphers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 76a8472

Please sign in to comment.