I found that using the default context creation tool from ssl actually solved my issue so I decided to open this PR. According to the official python docs, this is what the method does:
Return a new SSLContext object with default settings for the given purpose. The settings are chosen by the ssl module, and usually represent a higher security level than when calling the SSLContext constructor directly.
The tests passed fine on my local branch, but I'm not 100% sure the tests are good enough. Open to suggestions re. better testing of this.
Fixes #34
I found that using the default context creation tool from
ssl
actually solved my issue so I decided to open this PR. According to the official python docs, this is what the method does:The tests passed fine on my local branch, but I'm not 100% sure the tests are good enough. Open to suggestions re. better testing of this.