Skip to main content

Service identity verification for pyOpenSSL.

Project description

https://travis-ci.org/pyca/service_identity.svg?branch=master https://codecov.io/github/pyca/service_identity/coverage.svg?branch=master https://www.irccloud.com/invite-svg?channel=%23cryptography-dev&hostname=irc.freenode.net&port=6697&ssl=1

TL;DR: Use this package if you use pyOpenSSL and don’t want to be MITMed.

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 and plans to add other relevant RFCs too.

service_identity’s documentation lives at Read the Docs, the code on GitHub.

Release Information

16.0.0 (2016-02-18)

Backward-incompatible changes:

  • Python 3.3 and 2.6 aren’t supported anymore. They may work by chance but any effort to keep them working has ceased.

    The last Python 2.6 release was on October 29, 2013 and isn’t supported by the CPython core team anymore. Major Python packages like Django and Twisted dropped Python 2.6 a while ago already.

    Python 3.3 never had a significant user base and wasn’t part of any distribution’s LTS release.

  • pyOpenSSL versions older than 0.14 are not tested anymore. They don’t even build with recent OpenSSL versions.

Changes:

  • Officially support Python 3.5.

  • service_identity.SubjectAltNameWarning is now raised if the server certicate lacks a proper SubjectAltName. [#9]

  • Add a __str__ method to VerificationError.

  • Port from characteristic to its spiritual successor attrs.

Full changelog.

Authors

service_identity is written and maintained by Hynek Schlawack.

The development is kindly supported by Variomedia AG.

Other contributors can be found in GitHub’s overview.

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-16.0.0.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

service_identity-16.0.0-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for service_identity-16.0.0.tar.gz
Algorithm Hash digest
SHA256 0630e222f59f91f3db498be46b1d879ff220955d7bbad719a5cb9ad14e3c3036
MD5 d52392597b9c44a740abf322bfdb21e6
BLAKE2b-256 f32a7c04e7ab74f9f2be026745a9ffa81fd9d56139fa6f5f4b4c8a8c07b2bfba

See more details on using hashes here.

File details

Details for the file service_identity-16.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for service_identity-16.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5c63e1532135f7171cb33e8b2f31c758c3ce0654e6eb198573e23d01128678d4
MD5 70eef3afd5e1294cb14a138d9ca5ec56
BLAKE2b-256 80f58b1604e4d85ce60333a2fd4bc7b7743b21949b434b7c1c2c77eee9e7cd6f

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