Skip to main content

Service identity verification for pyOpenSSL & cryptography.

Project description

Service Identity Verification for pyOpenSSL & cryptography

Use this package if:

  • you want to verify that a PyCA cryptography certificate is valid for a certain hostname or IP address,
  • or if you use pyOpenSSL and don’t want to be MITMed,
  • or if you want to inspect certificates from either for service IDs.

service-identity aspires to give you all the tools you need for verifying whether a certificate is valid for the intended purposes. In the simplest case, this means host name verification. However, service-identity implements RFC 6125 fully.

Also check out pem that makes loading certificates from all kinds of PEM-encoded files a breeze!

Project Information

service-identity is released under the MIT license, its documentation lives at Read the Docs, the code on GitHub, and the latest release on PyPI.

Credits

service-identity is written and maintained by Hynek Schlawack.

The development is kindly supported by my employer Variomedia AG, service-identity's Tidelift subscribers, and all my amazing GitHub Sponsors.

service-identity for Enterprise

Available as part of the Tidelift Subscription.

The maintainers of service-identity and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open-source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.

Release Information

Changed

  • If a certificate doesn't contain any subjectAltNames, we now raise service_identity.CertificateError instead of service_identity.VerificationError to make the problem easier to debug. #67

Complete Changelog →

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

service_identity-24.1.0.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

service_identity-24.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file service_identity-24.1.0.tar.gz.

File metadata

  • Download URL: service_identity-24.1.0.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for service_identity-24.1.0.tar.gz
Algorithm Hash digest
SHA256 6829c9d62fb832c2e1c435629b0a8c476e1929881f28bee4d20bc24161009221
MD5 64267a4351ee3c225ee12a11bb29fc44
BLAKE2b-256 38d22ac20fd05f1b6fce31986536da4caeac51ed2e1bb25d4a7d73ca4eccdfab

See more details on using hashes here.

File details

Details for the file service_identity-24.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for service_identity-24.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a28caf8130c8a5c1c7a6f5293faaf239bbfb7751e4862436920ee6f2616f568a
MD5 bee8f2053cb311185729cc65a0869643
BLAKE2b-256 3b9244669afe6354a7bed9968013862118c401690d8b5a805bab75ac1764845f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page