scylladb / scylla-cluster-tests

Tests for Scylla Clusters
GNU Affero General Public License v3.0
55 stars 93 forks source link

get rid of CryptographyDeprecationWarning #8192

Open fruch opened 1 month ago

fruch commented 1 month ago

in recent updates to the hydra docker image, we start getting those warnings

/usr/local/lib/python3.10/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "cipher": algorithms.TripleDES,
/usr/local/lib/python3.10/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
  "class": algorithms.TripleDES,

we should see if upgrade of paramiko can help, or add a way to quiet those for now

fruch commented 1 month ago

there an ongoing talk about it in: https://github.com/paramiko/paramiko/issues/2419

and PR with suggested fix

so we can wait for next release of paramiko, and pick it up