Skip to content

[SUPPORT] - Deprecation Warning for TripleDES Algorithm in Paramiko #2419

@ghost

Description

Are you using paramiko as a client or server?

Both

What feature(s) aren't working right?

SSH

What version(s) of paramiko are you using?

3.4.0

What version(s) of Python are you using?

3.10.12

What operating system and version are you using?

Linux Mint

If you're connecting as a client, which SSH server are you connecting to?

No response

If you're using paramiko as part of another tool, which tool/version?

No response

What are you trying to do with paramiko?

Description:

I am encountering a deprecation warning when using Paramiko in my Python script. The warning message is as follows:

/home/user/Documents/projects/myproject/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,

Additional Information:
This warning indicates that the TripleDES algorithm has been moved to the cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES module and will be removed in a future release (version 48.0.0) of the cryptography library. It is important to address this deprecation to ensure compatibility with future versions of the cryptography library.

How are you trying to do it, and what's happening instead?

I try to run my script, but I am only importing netmiko, without connecting via ssh to any computer, just importing

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions