You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

METADATA 2.5KB

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