Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > site-packages > pip > _vendor > truststore
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 1264 bytes | April 17 2025 13:10:58. | |
_api.py | File | 10555 bytes | April 17 2025 13:10:58. | |
_macos.py | File | 20503 bytes | April 17 2025 13:10:58. | |
_openssl.py | File | 2324 bytes | April 17 2025 13:10:58. | |
_ssl_constants.py | File | 1130 bytes | April 17 2025 13:10:58. | |
_windows.py | File | 17993 bytes | April 17 2025 13:10:58. | |
py.typed | File | 0 bytes | April 17 2025 13:10:58. |
"""Verify certificates using native system trust stores""" import sys as _sys if _sys.version_info < (3, 10): raise ImportError("truststore requires Python 3.10 or later") # Detect Python runtimes which don't implement SSLObject.get_unverified_chain() API # This API only became public in Python 3.13 but was available in CPython and PyPy since 3.10. if _sys.version_info < (3, 13): try: import ssl as _ssl except ImportError: raise ImportError("truststore requires the 'ssl' module") else: _sslmem = _ssl.MemoryBIO() _sslobj = _ssl.create_default_context().wrap_bio( _sslmem, _sslmem, ) try: while not hasattr(_sslobj, "get_unverified_chain"): _sslobj = _sslobj._sslobj # type: ignore[attr-defined] except AttributeError: raise ImportError( "truststore requires peer certificate chain APIs to be available" ) from None del _ssl, _sslobj, _sslmem # noqa: F821 from ._api import SSLContext, extract_from_ssl, inject_into_ssl # noqa: E402 del _api, _sys # type: ignore[name-defined] # noqa: F821 __all__ = ["SSLContext", "inject_into_ssl", "extract_from_ssl"] __version__ = "0.10.0"
SILENT KILLER Tool