معرفی شرکت ها


cert-chain-resolver-1.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Resolve / obtain the certificate intermediates of a x509 cert
ویژگی مقدار
سیستم عامل -
نام فایل cert-chain-resolver-1.1.0
نام cert-chain-resolver
نسخه کتابخانه 1.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Remco Koopmans
ایمیل نویسنده me@remcokoopmans.com
آدرس صفحه اصلی https://github.com/rkoopmans/python-certificate-chain-resolver
آدرس اینترنتی https://pypi.org/project/cert-chain-resolver/
مجوز -
# Python certificate chain resolver [![Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://tldrlegal.com/license/mit-license) [![CI](https://github.com/rkoopmans/python-certificate-chain-resolver/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/rkoopmans/python-certificate-chain-resolver/actions/workflows/ci-cd.yml) [![Docs](https://readthedocs.org/projects/certificate-resolver/badge/?version=latest)](https://certificate-resolver.readthedocs.io/en/latest/) [![Downloads](https://static.pepy.tech/personalized-badge/cert-chain-resolver?period=total&units=international_system&left_color=black&right_color=blue&left_text=Downloads)](https://pepy.tech/project/cert-chain-resolver) [![Python)](https://img.shields.io/pypi/pyversions/cert-chain-resolver.svg)](https://pypi.org/project/cert-chain-resolver/) [![PyPI - Wheel](https://img.shields.io/pypi/wheel/cert-chain-resolver)](https://pypi.org/cert-chain-resolver/) [![PyPI](https://img.shields.io/pypi/v/cert-chain-resolver)](https://pypi.org/project/cert-chain-resolver/#history) Resolve / obtain the certificate intermediates of a x509 certificate using the CLI or python API. The CLI writes the full bundle to stdout. The Python API can be used to iterate over the certificates and get additional information on the bundle. ``` from cert_chain_resolver.api import resolve with open('cert.pem', 'rb') as f: fb = f.read() chain = resolve(fb) >>> for cert in chain: print(cert) <Cert common_name="cert-chain-resolver.remcokoopmans.com" subject="CN=cert-chain-resolver.remcokoopmans.com" issuer="CN=R3,O=Let's Encrypt,C=US"> <Cert common_name="R3" subject="CN=R3,O=Let's Encrypt,C=US" issuer="CN=DST Root CA X3,O=Digital Signature Trust Co."> <Cert common_name="DST Root CA X3" subject="CN=DST Root CA X3,O=Digital Signature Trust Co." issuer="CN=DST Root CA X3,O=Digital Signature Trust Co."> ``` ## Support * PKCS7, PEM and DER formats * LetsEncrypt certificates ## Dependencies * cryptography ## Documentation Read more on [readthedocs](https://certificate-resolver.readthedocs.io/en/latest/) ## Install [Pypi](https://pypi.org/project/cert-chain-resolver/) $ pip install cert-chain-resolver ## Usage ### Installed using PIP $ cert_chain_resolver certificate.crt > bundle.crt Or read from stdin $ cat certificate.crt | cert_chain_resolver > bundle.crt ### After cloning the repository Install dependencies $ make from file: $ python -m cert_chain_resolver.cli certificate.crt > bundle.crt from stdin: $ cat certificate.crt | python -m cert_chain_resolver.cli > bundle.crt ### Print the details of each certificate in resolved chain $ cert_chain_resolver cert.pem --info ## Development bootstrap $ make ### Testing Unit testing $ make tests Re-run tests on file changes: $ make tests TEST_ARGS="-- -f"


نیازمندی

مقدار نام
>=3.1 cryptography


نحوه نصب


نصب پکیج whl cert-chain-resolver-1.1.0:

    pip install cert-chain-resolver-1.1.0.whl


نصب پکیج tar.gz cert-chain-resolver-1.1.0:

    pip install cert-chain-resolver-1.1.0.tar.gz