elliotpeele / pyramid_oauth2_provider

An Oauth2 provider built on pyramid
MIT License
31 stars 16 forks source link

This backend does not support scrypt. #20

Open tonthon opened 7 years ago

tonthon commented 7 years ago

My setup : OS : fedora I installed the following packages : gcc libffi-devel python-devel openssl-devel And I pip installed cryptography. I get the following error

    raise UnsupportedAlgorithm("This backend does not support scrypt.")
cryptography.exceptions.UnsupportedAlgorithm: This backend does not support scrypt.

It seems something is missing.

secynic commented 7 years ago

That is strange. Those packages are right per the cryptography docs.

What version of Fedora and openssl?

tonthon commented 7 years ago

Fedora version 23 openssl.x86_64 version 1:1.0.2j-1.fc23

I'm using python 2.7

secynic commented 7 years ago

Looks like scrypt requires openssl 1.1.0 or newer. Your platform is EOL, so you probably need to manually upgrade openssl.

I will add this to the readme.

tonthon commented 7 years ago

Thanks for the feedback

secynic commented 7 years ago

@elliotpeele Any update on merging #22?

elliotpeele commented 7 years ago

Thanks for the reminder, the change is merged now.

On May 30, 2017, at 10:15 PM, Philip Hane notifications@github.com wrote:

@elliotpeele https://github.com/elliotpeele Any update on merging #22 https://github.com/elliotpeele/pyramid_oauth2_provider/pull/22?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/elliotpeele/pyramid_oauth2_provider/issues/20#issuecomment-305062655, or mute the thread https://github.com/notifications/unsubscribe-auth/AADYjtDz_JC9fzxok6wM5kzuDUNB5gswks5r_M03gaJpZM4MtPCF.

secynic commented 7 years ago

Thanks! Did you see my reminder on #19 as well?