-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
CryptographyDeprecationWarnings with cryptography 2.5 release #1369
Comments
Hitting this too:
|
Same here:
This pops up when using the |
I predict that everyone who uses modern Paramiko with updated peer dependencies will have this. Also, github etiquette tip: if you have the same issue as the original issue post, I would suggest leaving a thumbs up reaction on it rather than a comment sending all subscribers an email that boils down to "me too". |
Workaround until a fix is in place: Review the cryptography changelog here: https://cryptography.io/en/latest/changelog/ |
The 'paramiko' python module depends on the 'cryptography' module. There is a known 'CryptographyDeprecationWarning' problem (see paramiko/paramiko#1369) that can be resolved by installing 'cryptography==2.4.2'.
I think these are all the lines that need to be changed: Line 163 in cf7d49d
paramiko/paramiko/kex_ecdh_nist.py Line 39 in cf7d49d
paramiko/paramiko/kex_ecdh_nist.py Line 61 in cf7d49d
paramiko/paramiko/kex_ecdh_nist.py Line 78 in cf7d49d
paramiko/paramiko/kex_ecdh_nist.py Line 87 in cf7d49d
paramiko/paramiko/kex_ecdh_nist.py Line 95 in cf7d49d
paramiko/paramiko/kex_ecdh_nist.py Line 111 in cf7d49d
Line 45 in cf7d49d
Line 52 in cf7d49d
Line 56 in cf7d49d
Also, |
The 'paramiko' python module depends on the 'cryptography' module. There is a known 'CryptographyDeprecationWarning' problem (see paramiko/paramiko#1369) that can be resolved by installing 'cryptography==2.4.2'.
More info: paramiko/paramiko#1369
Upstream has blessed #1379 so let's close this and roll it into that. |
Support python 3.5.6. * downgrade cryptography to 2.4.2 due to paramiko/paramiko#1369 * fix tests * 3.5 doesn't like path objects being passed around in some cases
Workaround until paramiko/paramiko#1369 is fully merged upstream
When will there be a release that includes this change? From what I can tell, latest release on Pypi is 2.4.2 from 2018. |
* port to python3 (#24) * initial 2to3 run * remove import of distribute * format to PEP8 spec * pasteurized * remove imports not yet installed via install_requires * require future * install fabric3 and pin cryptography to v2.4.2 to prevent warnings: paramiko/paramiko#1369 * install supervisor using master branch with python3 support * update to celery v4.2.1 * encode unicode string * load yaml securely * bump version
Any updates on when the new version will be published with this fix? |
It would be great to hear from you. We use duplicity for backups. There, warnings are important for us as an indication for a failed or incomplete backup. |
I have cryptography 2.6.1 and the warnings still persist. Any solution? |
see #1379 for any and all solutions/questions/comments/updates |
For old versions I'm use filter of warnings:
It's works for me. |
See the last bullet point here
https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst#25---2019-01-22
The warnings I see launching my app that uses paramiko:
pipenv graph
output for package versionsThe text was updated successfully, but these errors were encountered: