Skip to main content

Certificate normalizer

Нормализатор сертификата электронной подписи (далее ЭП) в формате base64

Скрипт приводит содержимое сертификата ЭП в нормализованный вид.
Добавляет -----BEGIN CERTIFICATE----- в начало файла и -----END CERTIFICATE----- в конец файла.
Добавляет отступы каждые 65 символов для читаемости.

Зависимости

Для реализации CLI интерфейса используется typer

Установка модуля

pip install cert-normalizer

Использование

python -m cert_normalizer path/to/cert.cer

Можно также указывать путь до директории. В таком случае скрипт будет искать все файлы сертификатов, заканчивающиеся на .cer и будет пытаться нормализовать их.

Metadata

Release files for cert-normalizer 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cert-normalizer 1.0.0
File Size Uploaded Provenance Actions
cert-normalizer-1.0.0.tar.gz 2.9 kB Without provenance Details for cert-normalizer-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cert-normalizer 1.0.0
File Interpreter ABI Platform Actions
cert_normalizer-1.0.0-py3-none-any.whl Python 3 none any Details for cert_normalizer-1.0.0-py3-none-any.whl

Total release size: 6.5 kB

Release files / cert-normalizer-1.0.0.tar.gz

Download URL cert-normalizer-1.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3cffa96b905f969f8c8ae13a65669138bc746acc628d363223aaf96e17416a19
BLAKE2b-256 checksum
How to use checksums
26d313e29266ab97543d894fcbafd5ed1d27c8e68a9d08fa06d66d5e93b0d645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Release files / cert_normalizer-1.0.0-py3-none-any.whl

Download URL cert_normalizer-1.0.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83ca830456c14accec5082aa1269ad95e5e2350a69294044c1ffa0992ba8503d
BLAKE2b-256 checksum
How to use checksums
c9a50a8bd7ec8b5e32a19669f060a696ae08ad50b4f6f474ff7458d3433d7ca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Security for cert-normalizer 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page