| 1 |
Metadata-Version: 1.1 |
| 2 |
Name: certifi |
| 3 |
Version: 2018.4.16 |
| 4 |
Summary: Python package for providing Mozilla's CA Bundle. |
| 5 |
Home-page: http://certifi.io/ |
| 6 |
Author: Kenneth Reitz |
| 7 |
Author-email: [email protected] |
| 8 |
License: MPL-2.0 |
| 9 |
Description: Certifi: Python SSL Certificates |
| 10 |
================================ |
| 11 |
|
| 12 |
`Certifi`_ is a carefully curated collection of Root Certificates for |
| 13 |
validating the trustworthiness of SSL certificates while verifying the identity |
| 14 |
of TLS hosts. It has been extracted from the `Requests`_ project. |
| 15 |
|
| 16 |
Installation |
| 17 |
------------ |
| 18 |
|
| 19 |
``certifi`` is available on PyPI. Simply install it with ``pip``:: |
| 20 |
|
| 21 |
$ pip install certifi |
| 22 |
|
| 23 |
Usage |
| 24 |
----- |
| 25 |
|
| 26 |
To reference the installed certificate authority (CA) bundle, you can use the |
| 27 |
built-in function:: |
| 28 |
|
| 29 |
>>> import certifi |
| 30 |
|
| 31 |
>>> certifi.where() |
| 32 |
'/usr/local/lib/python2.7/site-packages/certifi/cacert.pem' |
| 33 |
|
| 34 |
Enjoy! |
| 35 |
|
| 36 |
1024-bit Root Certificates |
| 37 |
~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 38 |
|
| 39 |
Browsers and certificate authorities have concluded that 1024-bit keys are |
| 40 |
unacceptably weak for certificates, particularly root certificates. For this |
| 41 |
reason, Mozilla has removed any weak (i.e. 1024-bit key) certificate from its |
| 42 |
bundle, replacing it with an equivalent strong (i.e. 2048-bit or greater key) |
| 43 |
certificate from the same CA. Because Mozilla removed these certificates from |
| 44 |
its bundle, ``certifi`` removed them as well. |
| 45 |
|
| 46 |
In previous versions, ``certifi`` provided the ``certifi.old_where()`` function |
| 47 |
to intentionally re-add the 1024-bit roots back into your bundle. This was not |
| 48 |
recommended in production and therefore was removed. To assist in migrating old |
| 49 |
code, the function ``certifi.old_where()`` continues to exist as an alias of |
| 50 |
``certifi.where()``. Please update your code to use ``certifi.where()`` |
| 51 |
instead. ``certifi.old_where()`` will be removed in 2018. |
| 52 |
|
| 53 |
.. _`Certifi`: http://certifi.io/en/latest/ |
| 54 |
.. _`Requests`: http://docs.python-requests.org/en/latest/ |
| 55 |
|
| 56 |
Platform: UNKNOWN |
| 57 |
Classifier: Development Status :: 5 - Production/Stable |
| 58 |
Classifier: Intended Audience :: Developers |
| 59 |
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) |
| 60 |
Classifier: Natural Language :: English |
| 61 |
Classifier: Programming Language :: Python |
| 62 |
Classifier: Programming Language :: Python :: 2 |
| 63 |
Classifier: Programming Language :: Python :: 2.6 |
| 64 |
Classifier: Programming Language :: Python :: 2.7 |
| 65 |
Classifier: Programming Language :: Python :: 3 |
| 66 |
Classifier: Programming Language :: Python :: 3.3 |
| 67 |
Classifier: Programming Language :: Python :: 3.4 |
| 68 |
Classifier: Programming Language :: Python :: 3.5 |
| 69 |
Classifier: Programming Language :: Python :: 3.6 |