Fabric: UserWarning: No tiene una instalación funcional del módulo service_identity: 'no se puede importar el nombre' verify_ip_address ''

Creado en 23 abr. 2019  ·  1Comentario  ·  Fuente: fabric/fabric

Hola:

He instalado fabric usando pip3 install fabric2

aquí está la advertencia

: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!

Comentario más útil

Había rebajado Twisted y está funcionando.

pip install Twisted==18.9.0

>Todos los comentarios

Había rebajado Twisted y está funcionando.

pip install Twisted==18.9.0
¿Fue útil esta página
0 / 5 - 0 calificaciones