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

workaround new limitation in requests #86

Merged
merged 1 commit into from
Oct 11, 2017

Conversation

anarcat
Copy link
Contributor

@anarcat anarcat commented Oct 3, 2017

newer requests do not expose the internal SSL socket object so we
cannot verify certificates. there was work to allow custom
verification routines which we could use, but this never finished:

urllib3/urllib3#257

so right now, just treat missing socket information as if the cert was
missing.

Closes: #76

newer requests do not expose the internal SSL socket object so we
cannot verify certificates. there was work to allow custom
verification routines which we could use, but this never finished:

urllib3/urllib3#257

so right now, just treat missing socket information as if the cert was
missing.

Closes: linkchecker#76
@anarcat
Copy link
Contributor Author

anarcat commented Oct 3, 2017

note that this would introduce a regression whereas we cannot verify SSL expiry times with newer requests versions. i'm not sure how to workaround that issue, but at least we would run properly again...

Copy link
Contributor

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mgedmin
Copy link
Contributor

mgedmin commented Oct 3, 2017

Perhaps we should open a requests issue asking for an API so we can do this?

@anarcat
Copy link
Contributor Author

anarcat commented Oct 3, 2017

i thought urllib3/urllib3#257 and https://github.com/kennethreitz/requests/issues/1966 were the upstream issues, but feel free to open another one...

@mgedmin
Copy link
Contributor

mgedmin commented Oct 3, 2017

Ah, I didn't see the link to kennethreitz/requests#1966 before.

@anarcat anarcat merged commit 231dece into linkchecker:master Oct 11, 2017
@anarcat anarcat deleted the requests-socks branch October 11, 2017 21:23
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