METADATA 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Metadata-Version: 2.1
  2. Name: certifi
  3. Version: 2022.12.7
  4. Summary: Python package for providing Mozilla's CA Bundle.
  5. Home-page: https://github.com/certifi/python-certifi
  6. Author: Kenneth Reitz
  7. Author-email: me@kennethreitz.com
  8. License: MPL-2.0
  9. Project-URL: Source, https://github.com/certifi/python-certifi
  10. Platform: UNKNOWN
  11. Classifier: Development Status :: 5 - Production/Stable
  12. Classifier: Intended Audience :: Developers
  13. Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
  14. Classifier: Natural Language :: English
  15. Classifier: Programming Language :: Python
  16. Classifier: Programming Language :: Python :: 3
  17. Classifier: Programming Language :: Python :: 3 :: Only
  18. Classifier: Programming Language :: Python :: 3.6
  19. Classifier: Programming Language :: Python :: 3.7
  20. Classifier: Programming Language :: Python :: 3.8
  21. Classifier: Programming Language :: Python :: 3.9
  22. Classifier: Programming Language :: Python :: 3.10
  23. Classifier: Programming Language :: Python :: 3.11
  24. Requires-Python: >=3.6
  25. License-File: LICENSE
  26. Certifi: Python SSL Certificates
  27. ================================
  28. Certifi provides Mozilla's carefully curated collection of Root Certificates for
  29. validating the trustworthiness of SSL certificates while verifying the identity
  30. of TLS hosts. It has been extracted from the `Requests`_ project.
  31. Installation
  32. ------------
  33. ``certifi`` is available on PyPI. Simply install it with ``pip``::
  34. $ pip install certifi
  35. Usage
  36. -----
  37. To reference the installed certificate authority (CA) bundle, you can use the
  38. built-in function::
  39. >>> import certifi
  40. >>> certifi.where()
  41. '/usr/local/lib/python3.7/site-packages/certifi/cacert.pem'
  42. Or from the command line::
  43. $ python -m certifi
  44. /usr/local/lib/python3.7/site-packages/certifi/cacert.pem
  45. Enjoy!
  46. 1024-bit Root Certificates
  47. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  48. Browsers and certificate authorities have concluded that 1024-bit keys are
  49. unacceptably weak for certificates, particularly root certificates. For this
  50. reason, Mozilla has removed any weak (i.e. 1024-bit key) certificate from its
  51. bundle, replacing it with an equivalent strong (i.e. 2048-bit or greater key)
  52. certificate from the same CA. Because Mozilla removed these certificates from
  53. its bundle, ``certifi`` removed them as well.
  54. In previous versions, ``certifi`` provided the ``certifi.old_where()`` function
  55. to intentionally re-add the 1024-bit roots back into your bundle. This was not
  56. recommended in production and therefore was removed at the end of 2018.
  57. .. _`Requests`: https://requests.readthedocs.io/en/master/
  58. Addition/Removal of Certificates
  59. --------------------------------
  60. Certifi does not support any addition/removal or other modification of the
  61. CA trust store content. This project is intended to provide a reliable and
  62. highly portable root of trust to python deployments. Look to upstream projects
  63. for methods to use alternate trust.