Skip to content
Myr

Merge pull request #2203 from Lukasa/remove_certifi

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Remove hard certifi dependency and document.

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 0df32de, 9c6ae1d · Browse files · 2 files+19 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+19 added−1 removed

  • other:+19 added−1 removed

2 files+19 added−1 removed

modified:docs/user/advanced.rst+18 added
739 unmodified lines
740741 r = requests.get('https://github.com', timeout=None)742743.. _`connect()`: http://linux.die.net/man/2/connect744745CA Certificates746---------------747748By default Requests bundles a set of root CAs that it trusts, sourced from the749`Mozilla trust store`_. However, these are only updated once for each Requests750version. This means that if you pin a Requests version your certificates can751become extremely out of date.752753From Requests version 2.4.0 onwards, Requests will attempt to use certificates754from `certifi`_ if it is present on the system. This allows for users to update755their trusted certificates without having to change the code that runs on their756system.757758For the sake of security we recommend upgrading certifi frequently!759760.. _certifi: http://certifi.io/761.. _Mozilla trust store: https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
modified:setup.py+1 added-1 removed
25 unmodified lines
26 'requests.packages.urllib3.util',27 'requests.packages.urllib3.packages.ssl_match_hostname',28]2930requires = ['certifi']30requires = []3132with open('README.rst', 'r', 'utf-8') as f:33 readme = f.read()34with open('HISTORY.rst', 'r', 'utf-8') as f:
34 unmodified lines