python-httplib2 needs to support SNI for OpenSSL 1.1.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-httplib2 (Debian) |
Fix Released
|
Unknown
|
|||
python-httplib2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* OpenSSL 1.1.1 performs SNI hostname verification, therefore hostname SSL context option must be set when establishing the connection, otherwise, validation of SNI certificates fail and thus resulting in lack of connectivity.
[Test Case]
* use python-httplib2 to connect to an SNI tls protected host
[Regression Potential]
* change is compatible with pythons/openssl versions shipped in bionic-release
* change is from upstream / tested in debian & disco
* change improves security, and is compatible with deployed servers out there
* hosts with certificates not matching their actual hostname will remain invalid/untrusted
[Additional info]
To install python & openssl 1.1.1 on Bionic you may enable and use the below silo, which will then exhibit the enforcement of SNI hostname verification.
sudo add-apt-repository ppa:ci-
sudo apt-get update
Changed in python-httplib2 (Ubuntu): | |
status: | New → Fix Released |
Changed in python-httplib2 (Ubuntu Bionic): | |
status: | New → In Progress |
summary: |
- python-httplib2 needs to support SNI for OpenSSL 1.1.1 Edit + python-httplib2 needs to support SNI for OpenSSL 1.1.1 |
Changed in python-httplib2 (Debian): | |
status: | Unknown → Fix Released |
tags: | added: id-5c619f14f860355c5d264ba1 |
Hello Dimitri, or anyone else affected,
Accepted python-httplib2 into bionic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ python- httplib2/ 0.9.2+dfsg- 1ubuntu0. 1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- bionic to verification- done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- bionic. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.