-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
test failures - cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported for PBKDF2 by this backend #1958
Comments
From a cryptography install can you do |
No feedback here, closing for now. Will reopen if there's more info. |
Hey Alex, I have the similar issue here |
@famoraes What OS/distribution are you on? Would you mind cloning current master and seeing if installing that works? |
I'm using Fedora 21. I'm using cryptography through another python package Signxml. Maybe I have to create a issue there? or there is something with my packages installation maybe? Thanks for the quick reply @reaperhulk |
It's not likely to be signxml's issue. Be aware that to install master you'll need cffi 1.1+, so you won't be able to use the Fedora system packages for that. |
Hum, I see. Ok I'll try to install cffi and cryptography from the source and see what happens. |
Still without backends. These backends, there is a linux lib or something that "install" theses sources? |
No, the backends are part of the installation of the package, but they're discovered via entry points. cc @dstufft to see if he has any ideas why the entry points aren't working |
@famoraes Just to be sure, you have |
@Ayrx yep, I have these two packages installed. |
@alex Sorry for the delay,
|
Im on ubuntu 14.04 and Im seeing the same thing, any solution to this? I have all the libs installed. |
So I believe I found the problem at least for me. Throws the error, while the implmentation here, Works. The first does not call the method default_backend(). |
@wil3 that is definitely a docs bug! Thanks for the report. |
I'm seeing this problem on a windows install.
And |
Can you provide the output of |
Thanks! It certainly could be something weird with this particular vm (an old xp install). I've tested it on another windows server machine, and the backends do have something in them. Here's pip list:
(sorry that's a little long) And here's the directory listing:
|
ah. Just to be sure, I uninstalled cryptography and all its dependencies, and then reinstalled them, and now I do have a backend, and everything works. So probably I installed cffi or something in some broken way, no doubt my fault. Thanks for the incredibly prompt response, sorry to waste anyone's time. |
The text was updated successfully, but these errors were encountered: