Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

pycrypto 2.7a1 missing Crypto.Hash SHA256 #140

Open
tektengu opened this issue Jun 23, 2015 · 4 comments
Open

pycrypto 2.7a1 missing Crypto.Hash SHA256 #140

tektengu opened this issue Jun 23, 2015 · 4 comments

Comments

@tektengu
Copy link

I manually included the library component of the pycrypto 2.7a1 into my project and now it is missing the SHA256 has. Looking in the directory and .py files there is no SHA256. Here is the stack trace from PyCharm in building this.

Traceback (most recent call last):
File "/Users/mindninja/Documents/Working/labs/projects/python/auth-restler/restler.py", line 8, in
from Crypto.PublicKey import RSA
File "/Users/mindninja/Documents/Working/labs/projects/python/auth-restler/Crypto/PublicKey/RSA.py", line 79, in
from Crypto.IO import PKCS8, PEM
File "/Users/mindninja/Documents/Working/labs/projects/python/auth-restler/Crypto/IO/PKCS8.py", line 57, in
from Crypto.IO._PBES import PBES1, PBES2
File "/Users/mindninja/Documents/Working/labs/projects/python/auth-restler/Crypto/IO/_PBES.py", line 27, in
from Crypto import Random
File "/Users/mindninja/Documents/Working/labs/projects/python/auth-restler/Crypto/Random/init.py", line 29, in
from Crypto.Random import _UserFriendlyRNG
File "/Users/mindninja/Documents/Working/labs/projects/python/auth-restler/Crypto/Random/_UserFriendlyRNG.py", line 38, in
from Crypto.Random.Fortuna import FortunaAccumulator
File "/Users/mindninja/Documents/Working/labs/projects/python/auth-restler/Crypto/Random/Fortuna/FortunaAccumulator.py", line 37, in
import SHAd256
File "/Users/mindninja/Documents/Working/labs/projects/python/auth-restler/Crypto/Random/Fortuna/SHAd256.py", line 41, in
from Crypto.Hash import SHA256
ImportError: cannot import name SHA256

@lafrank
Copy link

lafrank commented Jul 22, 2016

Any update on this please ? I am also facing with this issue.

@mouse07410
Copy link

The update/answer is pycryptodome

The alternative is to keep suffering

@elias6
Copy link

elias6 commented Jul 23, 2016

I don't think this project is being maintained any more. For more info, see #173.

@lafrank
Copy link

lafrank commented Jul 25, 2016

Thanks, this was my impression also :-(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants