Installation and Requirements#

Installation#

$ python -Im pip install service-identity

Requirements#

service-identity depends on the cryptography package. In addition to the latest release, we’re also testing against the following oldest version constraint:

attrs==19.1.0
cryptography<3

If you want to use the pyOpenSSL functionality, you have to install it yourself. In addition to the latest release, we are also testing against the following oldest version constraints (you have to add the cryptography pin yourself, if you want to use an old version of pyOpenSSL):

attrs==19.1.0
cryptography<35
pyOpenSSL==17.0.0

International Domain Names#

Optionally, the idna extra dependency can be used for internationalized domain names (IDN), i.e. non-ASCII domains:

$ python -Im pip install service-identity[idna]

Unfortunately it’s required because Python’s IDN support in the standard library is outdated even in the latest releases.