Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to enabling hostname verification. #25

Merged
merged 1 commit into from
Jan 9, 2017

Conversation

exarkun
Copy link
Member

@exarkun exarkun commented Jan 9, 2017

Release 0.2.3-based fix for #24

The 0.2.3 release doesn't have any of our CI configuration and has various incompatibilities with the most recent release of Twisted (at least, in the test suite). This makes it difficult to get a clean test run, let alone something public I can point at to demonstrate this is working.

The complexities of certificate verification and the sub-optimal interface to controlling this behavior (from txAWS's simple True/False to Twisted's old-style TLS context factories with few features and fewer nice knobs) make automated testing of the change challenging. Further, since most of this code should be deleted and replaced with modern Twisted TLS context factory-using code, I'm not much inclined to spend a lot of effort making the code testable and then testing it automatically.

I have verified the consequences of this change against get_page. See the description for the issue linked above.

@david415
Copy link

david415 commented Jan 9, 2017

looks good to me.

@exarkun exarkun merged commit 66a5104 into release-0.2.3 Jan 9, 2017
@exarkun exarkun deleted the certificate-verification-for-release-0.2.3 branch January 9, 2017 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants