Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CryptographyDepricationWarning: Blowfish has been deprecated 'class' : algorithms.Blowfish #266

Open
Dotwut opened this issue Nov 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Dotwut
Copy link

Dotwut commented Nov 19, 2022

image

Seemingly, an easy fix is to comment out:

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

in paramiko/transport.py

@Dotwut Dotwut added the bug Something isn't working label Nov 19, 2022
@Dxaz
Copy link

Dxaz commented Feb 15, 2023

If you installed with a virtual enviornment as recommended you can also just run the following in the venv:

pip uninstall -y cryptography && pip install cryptography==36.0.2

This issue was addressed here: paramiko/paramiko#2038

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants