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.
Release Information
Added
Changed
- service-identity now uses cryptography's Rust-based ASN.1 decoder and doesn't depend on pyasn1 and pyasn1-modules anymore. As a result, the oldest supported pyOpenSSL backend combination is now pyOpenSSL 26.1.0 with cryptography 47.0.0. #95
Fixed
- Verifying a single-label hostname (e.g.
localhost) against a wildcard certificate pattern now raisesVerificationErrorcleanly instead of crashing with an opaqueValueError. #92
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file service_identity-26.1.0.tar.gz.
File metadata
- Download URL: service_identity-26.1.0.tar.gz
- Upload date:
- Size: 42.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6358c52882c96e66ac4a55eb3a72c7dd4a70763f8cc6fa4e70abde2656f4bf3b
|
|
| MD5 |
fc0ed70ba5b73387d25b51e88e2740cf
|
|
| BLAKE2b-256 |
6187ad52e2c582c0f0e7f0a1b86950494c38d67422dc0f5ed9044a5fb9569a49
|
Provenance
The following attestation bundles were made for service_identity-26.1.0.tar.gz:
Publisher:
pypi-package.yml on pyca/service-identity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
service_identity-26.1.0.tar.gz -
Subject digest:
6358c52882c96e66ac4a55eb3a72c7dd4a70763f8cc6fa4e70abde2656f4bf3b - Sigstore transparency entry: 1675091649
- Sigstore integration time:
-
Permalink:
pyca/service-identity@5025f92e3856e814bb5012ba4ed03b71320131d8 -
Branch / Tag:
refs/tags/26.1.0 - Owner: https://github.com/pyca
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-package.yml@5025f92e3856e814bb5012ba4ed03b71320131d8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file service_identity-26.1.0-py3-none-any.whl.
File metadata
- Download URL: service_identity-26.1.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68c32dadbb69135fb951077677e07cd7f6031020f3a8c8f47a28cda8a0742118
|
|
| MD5 |
41845717ce5e5f256d72c58487239a99
|
|
| BLAKE2b-256 |
93eb2433e1af4ff903499144de4846569fb3300b816179ae99a03c2f011b666a
|
Provenance
The following attestation bundles were made for service_identity-26.1.0-py3-none-any.whl:
Publisher:
pypi-package.yml on pyca/service-identity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
service_identity-26.1.0-py3-none-any.whl -
Subject digest:
68c32dadbb69135fb951077677e07cd7f6031020f3a8c8f47a28cda8a0742118 - Sigstore transparency entry: 1675091686
- Sigstore integration time:
-
Permalink:
pyca/service-identity@5025f92e3856e814bb5012ba4ed03b71320131d8 -
Branch / Tag:
refs/tags/26.1.0 - Owner: https://github.com/pyca
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-package.yml@5025f92e3856e814bb5012ba4ed03b71320131d8 -
Trigger Event:
release
-
Statement type: