CryptographyDeprecationWarning: Blowfish has been deprecated [python issue]

更新了python, 然后运行脚本,提示如下告警信息

/usr/local/lib/python3.8/dist-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,

这里提示该文件219行,规避方法是打开该文件,然后直接注释保存即可

#"blowfish-cbc": {
# "class": algorithms.Blowfish,
# "mode": modes.CBC,
# "block-size": 8,
# "key-size": 16,
#},

 

posted @ 2022-05-20 15:57  sciapex  阅读(12628)  评论(0编辑  收藏  举报