You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Expected/desired behavior
Being able to open a ssh connection.
Actual behavior
When using a systems with FIPS enabled md5 hash will fail.
In my case i couldn't even open a connection because of PKey when using key auth or when adding a new host. Due to its use in the
debug log
Not use md5, not sure if sha1 would also be problematic with FIP. At least not depend on hashlib with depends on openssl which will fail.
Maybe use sha256 instead?
Activity
mopi3456 commentedon Feb 10, 2025
I have patched my local version as follows, seems to be working
Flag md5 usage as not for security
steveb commentedon Feb 10, 2025
Thanks @mopi3456 I turned this comment into a PR. This is the standard approach for flagging MD5 usage as not security critical, for example pytest: https://github.com/pytest-dev/pytest-randomly/pull/415/files#diff-77e4b024fe5132833f7d62b9ffc8028a856311e1a3afbb81f5715efc2bea28b9R1-R8
Flag md5 usage as not for security
Flag md5 usage as not for security
Flag md5 usage as not for security
don't use paramiko's get_fingerprint (md5)
Update git submodules