Skip to content

Device reports CryptographyDeprecationWarning: Blowfish has been deprecated

Proposers

  • Lluis Gifre (CTTC)

Description

Seems to be an issue with paramiko and the cryptography package considering Blowfish to be deprecated (check [Ref-1] for a general thread on that issue). Logs in the following:

xxxx@xxxx:~/tfs-ctrl$ ./scripts/show_logs_device.sh
/usr/local/lib/python3.9/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,

Should be fixed upgrading paramiko:

  • Changed paramiko==2.9.2 to paramiko==2.11.0 in src/device/requirements.in

References:

  1. Paramiko Issue #2038