Matthias J. Sax created KAFKA-8423:
--------------------------------------

             Summary: Update ducktape to not use deprecated APIs
                 Key: KAFKA-8423
                 URL: https://issues.apache.org/jira/browse/KAFKA-8423
             Project: Kafka
          Issue Type: Improvement
          Components: system tests
    Affects Versions: 2.3.0
            Reporter: Matthias J. Sax


Running system tests locally, I see the following warnings:


{code:java}
/usr/local/lib/python2.7/dist-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())
/usr/local/lib/python2.7/dist-packages/paramiko/kex_ecdh_nist.py:94: 
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
/usr/local/lib/python2.7/dist-packages/paramiko/kex_ecdh_nist.py:109: 
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())
{code}
We should update the code to not use deprecated APIs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to