summaryrefslogtreecommitdiff
path: root/https_wrapper.py
AgeCommit message (Collapse)Author
2020-10-02Disallow SSLv2 and SSLv3Mark Bishop
2020-10-02Move away from deprecated TLS socket wrappingMark Bishop
2019-12-18Python3 compatibility updates (#28)Pete
* WIP: fix imports and exception calls for python3 * fix remaining utf-8 encoding issues * fix init trying to return a value * change expected control checks to bytes * make comparison of request params non-ordered python3's url request handler likes to reorder the parameters its given this breaks the params out and checks each separately * refactor to simplify params comparisons * FIX: decode auth bytes back to a utf-8 string * FIX: also decode response data bytes to utf-8 * FIX: do not decode response data if already a str * enhance existing test to ensure auth is str no bytes * change test req and import from mox to mox3 * add additional python versions to CI config * fix failing 3.7 travis ci build * Apply changes to duo_openvpn.py similar to what we do in duo_client_python * Apply changes to https_wrapper similar to what we do in duo_client_python * Fixup the import bugs * Use six for StringIO import * Include six for py2->py3 compat layer * use explicit decoding on control file data * Consistent encoding and updated variable names for clarity * Revert variable names back again.
2017-07-26Fix certificate validation when using a proxyJason Scholl
2013-11-22Fixes #3 Add HTTPS proxy support (if using the Python helper script)Ben Murray
2012-06-19add SSL certificate validationAdam Goodman