Fabric: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name 'verify_ip_address''

Created on 23 Apr 2019  ·  1Comment  ·  Source: fabric/fabric

Hello:

I have install fabric using pip3 install fabric2

here is the warning

:0: UserWarning: You do not have a working installation of the service_identity module: 'cannot import name 'verify_ip_address''.  Please install it from <https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied.  Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification.  Many valid certificate/hostname mappings may be rejected.
[2019-04-23 12:24:34,941] paramiko.transport:INFO: Connected (version 2.0, client OpenSSH_7.6p1)
/Users/jack/anaconda/lib/python3.6/site-packages/paramiko/kex_ecdh_nist.py:39: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
  m.add_string(self.Q_C.public_numbers().encode_point())
/Users/jack/anaconda/lib/python3.6/site-packages/paramiko/kex_ecdh_nist.py:96: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
  self.curve, Q_S_bytes
/Users/jack/anaconda/lib/python3.6/site-packages/paramiko/kex_ecdh_nist.py:111: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
  hm.add_string(self.Q_C.public_numbers().encode_point())
/Users/jack/anaconda/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/ciphers.py:114: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  operation
/Users/jack/anaconda/lib/python3.6/site-packages/cryptography/hazmat/backends/openssl/ciphers.py:140: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  self._backend._ffi.from_buffer(data), len(data)
[2019-04-23 12:24:35,356] paramiko.transport:INFO: Authentication (publickey) successful!

Most helpful comment

I had downgrade Twisted and it is working.😄

pip install Twisted==18.9.0

>All comments

I had downgrade Twisted and it is working.😄

pip install Twisted==18.9.0
Was this page helpful?
0 / 5 - 0 ratings