service-identity
Service identity verification for pyOpenSSL.
Service identity verification for pyOpenSSL.
To install this package, run one of the following:
===========================================
.. image:: https://travis-ci.org/pyca/serviceidentity.svg?branch=master :target: https://travis-ci.org/pyca/serviceidentity
.. image:: https://codecov.io/github/pyca/serviceidentity/coverage.svg?branch=master :target: https://codecov.io/github/pyca/serviceidentity
.. image:: https://www.irccloud.com/invite-svg?channel=%23cryptography-dev&hostname=irc.freenode.net&port=6697&ssl=1 :target: https://www.irccloud.com/invite?channel=%23cryptography-dev&hostname=irc.freenode.net&port=6697&ssl=1
.. begin
TL;DR: Use this package if you use pyOpenSSL_ and dont want to be MITM_\ ed.
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 <https://service-identity.readthedocs.org/>, the code on GitHub <https://github.com/pyca/service_identity>.
.. Twisted: https://twistedmatrix.com/
.. _pyOpenSSL: https://pypi.python.org/pypi/pyOpenSSL/
.. _MITM: https://en.wikipedia.org/wiki/Man-in-the-middleattack
.. _RFC 6125: http://www.rfc-editor.org/info/rfc6125
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.
Changes: ^^^^^^^^
service_identity.SubjectAltNameWarning is now raised if the server certicate lacks a proper SubjectAltName.
[#9 <https://github.com/pyca/service_identity/issues/9>_]__str__ method to VerificationError.characteristic to its spiritual successor attrs <https://attrs.readthedocs.org/>_.Full changelog <https://service-identity.readthedocs.org/en/stable/changelog.html>_.
service_identity is written and maintained by Hynek Schlawack <https://hynek.me/>_.
The development is kindly supported by Variomedia AG <https://www.variomedia.de/>_.
Other contributors can be found in GitHub's overview <https://github.com/pyca/service_identity/graphs/contributors>_.
Summary
Service identity verification for pyOpenSSL.
Last Updated
Feb 8, 2017 at 03:28
License
MIT
Total Downloads
56