MarketSquare / SSHLibrary

Robot Framework test library for SSH and SFTP
http://marketsquare.github.io/SSHLibrary/
Other
156 stars 137 forks source link

CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0 #442

Closed anaga1990 closed 1 week ago

anaga1990 commented 1 month ago

`C:\Python3.12.4\Lib\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,

C:\Python3.12.4\Lib\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, ` as per install document from -> https://github.com/robotframework/SSHLibrary?tab=readme-ov-file I am using windows Os, so i am followed below steps installed pip install git+https://github.com/robotframework/SSHLibrary.git (robotframework-sshlibrary=3.8.1rc2.dev1) installed python -m pip install win_inet_pton

anaga1990 commented 1 month ago

I am using robotframework==7.0.1

kstine commented 1 month ago

I received this error too using RF 6.1.1 and sshlibrary 3.8.0

Noordsestern commented 1 week ago

I remember having seen this error message in projects, too. Strangely, the acceptence tests from SSHLibrary don't throw that warning.

It seems that paramiko has fixed this 3 weeks ago for paramiko 3.3 and 3.4.

Can you check if it still exists and if so state the version of paramiko in your environment?

Thanks!

anaga1990 commented 1 week ago

with robotframework-sshlibrary==3.8.0 library internally using paramiko==3.4.1 & cryptography==43.0.0 issue resolved

anaga1990 commented 1 week ago

as issue resolved , closing issue