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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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