Philip Hane
Philip Hane
So it looks like Python 3.7 and later use openssl for hostname checks and cert validation. Requests uses urllib3 which implements its own hostname checks. I am trying to figure...
Thanks. Can you submit a PR to the dev branch for this? I will test more extensively when I get a chance.
You can pass the response arg like in the offline tests: https://github.com/secynic/ipwhois/blob/master/ipwhois/tests/test_rdap.py#L26 https://github.com/secynic/ipwhois/blob/master/ipwhois/tests/test_rdap.py#L37 Keeping this open to document it.
Requested changes in the PR. Still need to test this to make sure it doesn't cause errors in other parts of the lib.
That is strange. Those packages are right per the cryptography docs. What version of Fedora and openssl?
Looks like scrypt requires openssl 1.1.0 or newer. Your platform is EOL, so you probably need to manually upgrade openssl. I will add this to the readme.
@elliotpeele Any update on merging #22?
Thanks! Did you see my reminder on #19 as well?
I might be wrong, but isn't this what you are looking for? https://github.com/elliotpeele/pyramid_oauth2_provider/blob/master/pyramid_oauth2_provider/views.py#L71-L133
Understood. It looks like the database is already setup for this tracking: https://github.com/elliotpeele/pyramid_oauth2_provider/blob/master/pyramid_oauth2_provider/models.py#L111 Re-reading your initial post, you are right. Support should be added in the oauth2_token view.