[pycrypto] Build error?
Dave Pawson
dave.pawson at gmail.com
Thu Dec 8 07:43:51 UTC 2016
fyi.
Installed using python setup.py (my error)
as per https://ofswiki.org/wiki/Uninstalling_setup.py_install
list of 2.6.1 files is
]# cat files.txt
/usr/lib64/python2.7/site-packages/Crypto/pct_warnings.py
/usr/lib64/python2.7/site-packages/Crypto/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/MD4.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/RIPEMD.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/hashalgo.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/MD5.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/MD2.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA512.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA224.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA256.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA384.py
/usr/lib64/python2.7/site-packages/Crypto/Hash/HMAC.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/ARC4.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/DES.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/PKCS1_v1_5.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/ARC2.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/PKCS1_OAEP.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/AES.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/Blowfish.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/XOR.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/DES3.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/CAST.py
/usr/lib64/python2.7/site-packages/Crypto/Cipher/blockalgo.py
/usr/lib64/python2.7/site-packages/Crypto/Util/_number_new.py
/usr/lib64/python2.7/site-packages/Crypto/Util/asn1.py
/usr/lib64/python2.7/site-packages/Crypto/Util/RFC1751.py
/usr/lib64/python2.7/site-packages/Crypto/Util/py21compat.py
/usr/lib64/python2.7/site-packages/Crypto/Util/py3compat.py
/usr/lib64/python2.7/site-packages/Crypto/Util/Counter.py
/usr/lib64/python2.7/site-packages/Crypto/Util/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/Util/number.py
/usr/lib64/python2.7/site-packages/Crypto/Util/winrandom.py
/usr/lib64/python2.7/site-packages/Crypto/Util/randpool.py
/usr/lib64/python2.7/site-packages/Crypto/Random/random.py
/usr/lib64/python2.7/site-packages/Crypto/Random/_UserFriendlyRNG.py
/usr/lib64/python2.7/site-packages/Crypto/Random/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py
/usr/lib64/python2.7/site-packages/Crypto/Random/Fortuna/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.py
/usr/lib64/python2.7/site-packages/Crypto/Random/Fortuna/SHAd256.py
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/fallback.py
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/rng_base.py
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/nt.py
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/posix.py
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_ARC2.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_ARC4.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_AES.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/common.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_DES3.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_pkcs1_15.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_DES.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_Blowfish.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_CAST.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_XOR.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_MD5.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_RIPEMD.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_MD4.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA256.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_HMAC.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/common.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_MD2.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA512.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA224.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA384.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_KDF.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_rfc1751.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_chaffing.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_AllOrNothing.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/test_RSA.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/test_importKey.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/test_DSA.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/test_ElGamal.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/test_random.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/test__UserFriendlyRNG.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/test_rpoolcompat.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/Fortuna/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_winrandom.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_generic.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_fallback.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_nt.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_posix.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/test_asn1.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/test_winrandom.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/test_number.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/test_Counter.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Signature/test_pkcs1_pss.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Signature/test_pkcs1_15.py
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Signature/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/Protocol/KDF.py
/usr/lib64/python2.7/site-packages/Crypto/Protocol/Chaffing.py
/usr/lib64/python2.7/site-packages/Crypto/Protocol/AllOrNothing.py
/usr/lib64/python2.7/site-packages/Crypto/Protocol/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/ElGamal.py
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/_DSA.py
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/DSA.py
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.py
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/_RSA.py
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/RSA.py
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/_slowmath.py
/usr/lib64/python2.7/site-packages/Crypto/Signature/PKCS1_v1_5.py
/usr/lib64/python2.7/site-packages/Crypto/Signature/PKCS1_PSS.py
/usr/lib64/python2.7/site-packages/Crypto/Signature/__init__.py
/usr/lib64/python2.7/site-packages/Crypto/pct_warnings.pyc
/usr/lib64/python2.7/site-packages/Crypto/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/MD4.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/RIPEMD.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/hashalgo.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/MD5.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/MD2.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA512.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA224.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA256.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/SHA384.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/HMAC.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/ARC4.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/DES.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/PKCS1_v1_5.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/ARC2.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/PKCS1_OAEP.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/AES.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/Blowfish.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/XOR.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/DES3.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/CAST.pyc
/usr/lib64/python2.7/site-packages/Crypto/Cipher/blockalgo.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/_number_new.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/asn1.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/RFC1751.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/py21compat.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/py3compat.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/Counter.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/number.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/winrandom.pyc
/usr/lib64/python2.7/site-packages/Crypto/Util/randpool.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/random.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/_UserFriendlyRNG.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/Fortuna/FortunaGenerator.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/Fortuna/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/Fortuna/SHAd256.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/fallback.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/rng_base.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/nt.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/posix.pyc
/usr/lib64/python2.7/site-packages/Crypto/Random/OSRNG/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/st_common.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_ARC2.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_ARC4.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_AES.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/common.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_DES3.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_pkcs1_oaep.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_pkcs1_15.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_DES.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_Blowfish.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_CAST.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Cipher/test_XOR.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_MD5.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_RIPEMD.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_MD4.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA256.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_HMAC.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/common.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_MD2.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA512.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA224.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA384.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Hash/test_SHA.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_KDF.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_rfc1751.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_chaffing.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/test_AllOrNothing.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Protocol/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/test_RSA.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/test_importKey.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/test_DSA.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/PublicKey/test_ElGamal.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/test_random.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/test__UserFriendlyRNG.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/test_rpoolcompat.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/Fortuna/test_SHAd256.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/Fortuna/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_winrandom.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_generic.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_fallback.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_nt.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/test_posix.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Random/OSRNG/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/test_asn1.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/test_winrandom.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/test_number.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/test_Counter.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Util/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Signature/test_pkcs1_pss.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Signature/test_pkcs1_15.pyc
/usr/lib64/python2.7/site-packages/Crypto/SelfTest/Signature/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/Protocol/KDF.pyc
/usr/lib64/python2.7/site-packages/Crypto/Protocol/Chaffing.pyc
/usr/lib64/python2.7/site-packages/Crypto/Protocol/AllOrNothing.pyc
/usr/lib64/python2.7/site-packages/Crypto/Protocol/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/ElGamal.pyc
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/_DSA.pyc
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/DSA.pyc
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/pubkey.pyc
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/_RSA.pyc
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/RSA.pyc
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/PublicKey/_slowmath.pyc
/usr/lib64/python2.7/site-packages/Crypto/Signature/PKCS1_v1_5.pyc
/usr/lib64/python2.7/site-packages/Crypto/Signature/PKCS1_PSS.pyc
/usr/lib64/python2.7/site-packages/Crypto/Signature/__init__.pyc
/usr/lib64/python2.7/site-packages/Crypto/Hash/_MD2.so
/usr/lib64/python2.7/site-packages/Crypto/Hash/_MD4.so
/usr/lib64/python2.7/site-packages/Crypto/Hash/_SHA256.so
/usr/lib64/python2.7/site-packages/Crypto/Hash/_SHA224.so
/usr/lib64/python2.7/site-packages/Crypto/Hash/_SHA384.so
/usr/lib64/python2.7/site-packages/Crypto/Hash/_SHA512.so
/usr/lib64/python2.7/site-packages/Crypto/Hash/_RIPEMD160.so
/usr/lib64/python2.7/site-packages/Crypto/Cipher/_AES.so
/usr/lib64/python2.7/site-packages/Crypto/Cipher/_ARC2.so
/usr/lib64/python2.7/site-packages/Crypto/Cipher/_Blowfish.so
/usr/lib64/python2.7/site-packages/Crypto/Cipher/_CAST.so
/usr/lib64/python2.7/site-packages/Crypto/Cipher/_DES.so
/usr/lib64/python2.7/site-packages/Crypto/Cipher/_DES3.so
/usr/lib64/python2.7/site-packages/Crypto/Cipher/_ARC4.so
/usr/lib64/python2.7/site-packages/Crypto/Cipher/_XOR.so
/usr/lib64/python2.7/site-packages/Crypto/Util/strxor.so
/usr/lib64/python2.7/site-packages/Crypto/Util/_counter.so
/usr/lib64/python2.7/site-packages/pycrypto-2.6.1-py2.7.egg-info
Now removed.
Tks for your help.
Dave
On 7 December 2016 at 21:17, Martin Falatic <martin at falatic.com> wrote:
> Typo, or two packages of the same exact name?
>
> The system shouldn't have a problem uninstalling the RPM because of the
> way these packages get installed - pycryptodome uses the same package name
> "Crypto", but it's not installed in the same folders. Because of that same
> namespace, with both installed it can be a toss-up as to which package
> named "Crypto" Python will use.
>
> pycryptodomex uses a different package name entirely ("Cryptodome") - thus
> it wouldn't conflict with "Crypto", but you'd have to refactor everything
> to use "Cryptodome" instead which is its own kind of pain.
>
> Since pycryptodome is a superset of pycrypto, there shouldn't be anything
> missing (and it already works better just by virtue of the bugs that got
> fixed), thus using that alone ought to suffice.
>
> - M
>
>
> On Wed, December 7, 2016 13:03, Dave Pawson wrote:
>> Assumes the rpm software can tell pycrypto from pycrypto!
>>
>>
>> I'll let you know :-)
>>
>>
>> On 7 December 2016 at 20:47, Martin Falatic <martin at falatic.com> wrote:
>>
>>> Got it. I'd think uninstalling pycrypto would suffice.
>>>
>>>
>>> Pycryptodomex is an option, but then you have to refactor everything.
>>> I'd go
>>> with pycryptodome alone.
>>>
>>>
>>> On December 7, 2016 12:33:56 PM PST, Dave Pawson
>>> <dave.pawson at gmail.com>
>>> wrote:
>>>
>>>>
>>>> That was the implied question.
>>>> I installed pycrypto using rpm,
>>>> pycryptodome using pip.
>>>>
>>>> I think I need to start again!
>>>>
>>>>
>>>> regards
>>>>
>>>>
>>>> On 7 December 2016 at 19:09, Martin Falatic <martin at falatic.com>
>>>> wrote:
>>>>
>>>>>
>>>>> As per the docs, do NOT do that. Uninstall pycrypto if you are
>>>>> using pycryptodome, or vice versa. - Marty
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, December 7, 2016 04:58, Dave Pawson wrote:
>>>>>
>>>>>>
>>>>>> It does. Sorry.
>>>>>> I used pip to install pycryptodome.
>>>>>> So now I have both the old pycrypto and pycryptodome 'providing'
>>>>>> Crypto
>>>>>> package! Mmm.
>>>>>>
>>>>>>
>>>>>> Still working, so I'll leave it for now.
>>>>>>
>>>>>>
>>>>>>
>>>>>> regards
>>>>>>
>>>>>>
>>>>>> On 7 December 2016 at
>>>>>> 12:02, Martin Falatic <martin at falatic.com> wrote:
>>>>>>
>>>>>>
>>>>>>> See the introduction link I sent previously. It explains this
>>>>>>> in detail.
>>>>>>>
>>>>>>> On December 7, 2016 3:45:58 AM PST, Dave Pawson
>>>>>>> <dave.pawson at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> # pip search pycryptodome
>>>>>>>> pycryptodome (3.4.3) - Cryptographic library for Python
>>>>>>>> pycryptodomex (3.4.3) - Cryptographic library for Python
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> What's the difference please?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> regards
>>>>>>>>
>>>>>>>> On 6 December 2016 at 21:41, Martin Falatic
>>>>>>>> <martin at falatic.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Since it's forked from pycrypto
>>>>>>>>> 2.6.1 I think you'll be fine.
>>>>>>>>> However,
>>>>>>>>> if you find places where it falls short versus this one,
>>>>>>>>> please open an issue with them first so it can be tracked
>>>>>>>>> and hopefully rectified, and reply with the bug link here so
>>>>>>>>> others can be aware of it.
>>>>>>>>>
>>>>>>>>> - M
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, December 6, 2016 13:34, Dave Pawson wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Thanks for that. Good it's installable via pip.
>>>>>>>>>> I've a whole setup (pwd safe) to check out, I'll
>>>>>>>>>> see if it sits as a usable replacement.
>>>>>>>>>>
>>>>>>>>>> Dave
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 6 December 2016 at 21:12, Martin Falatic
>>>>>>>>>> <martin at falatic.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Consider the following rather basic but important bug
>>>>>>>>>>> in pycrypto:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/dlitz/pycrypto/issues/187
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> As you'll see there, I stumbled on it and even built a
>>>>>>>>>>> fixed version a few months ago.
>>>>>>>>>>>
>>>>>>>>>>> Revisiting this now, I just re-tested to see that
>>>>>>>>>>> pycryptodome already has that fix in it.
>>>>>>>>>>>
>>>>>>>>>>> Your mileage may vary, but pycryptodome is being
>>>>>>>>>>> actively developed and maintained and is a drop-in
>>>>>>>>>>> replacement for pycrypto.
>>>>>>>>>>>
>>>>>>>>>>> - Marty
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, December 6, 2016 04:56, Dave Pawson
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> I downloaded and built from source which seems to
>>>>>>>>>>>> work fine. Shame really, it's a good library.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> regards
>>>>>>>>>>>>
>>>>>>>>>>>> On 6 December 2016 at 09:12, Martin Falatic
>>>>>>>>>>>> <martin at falatic.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> Unfortunately, by all appearances PyCrypto seems to
>>>>>>>>>>>>> be dead. I would consider Helder Eijs'
>>>>>>>>>>>>> "PyCryptodome" as a
>>>>>>>>>>>>> replacement. More information:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> https://pycryptodome.readthedocs.io/en/latest/src/i
>>>>>>>>>>>>> ntroduct ion.html
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> - Marty
>>>>>>>>>>>>> @MartyMacGyver most places
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, December 2, 2016 01:38, Dave Pawson wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> further investigations show:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> # pip show pycrypto
>>>>>>>>>>>>>> Name: pycrypto
>>>>>>>>>>>>>> Version: 2.6.1
>>>>>>>>>>>>>> Summary: Cryptographic modules for Python.
>>>>>>>>>>>>>> Home-page: http://www.pycrypto.org/
>>>>>>>>>>>>>> Author: Dwayne C.
>>>>>>>>>>>>>> Litzenberger
>>>>>>>>>>>>>> Author-email: dlitz at dlitz.net
>>>>>>>>>>>>>> License: UNKNOWN
>>>>>>>>>>>>>> Location: /usr/lib64/python2.7/site-packages
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> All my code is (now) Python 3.5.
>>>>>>>>>>>>>> Question if 3.5 code accesses 2.7 site-packages?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Is there a way round this please?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> regards
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 2 December 2016 at 08:28, Dave Pawson
>>>>>>>>>>>>>> <dave.pawson at gmail.com>
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Fedora 25, installing
>>>>>>>>>>>>>>> pycrypto 2.6.1
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> full build at http://pastebin.com/acC5r1YY
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> error reported
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> gcc: error:
>>>>>>>>>>>>>>> /usr/lib/rpm/redhat/redhat-hardened-cc1: No
>>>>>>>>>>>>>>> such file or directory error: command 'gcc'
>>>>>>>>>>>>>>> failed with exit status 1
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Searching for the
>>>>>>>>>>>>>>> error I found
>>>>>>>>>>>>>>> https://bugs.launchpad.net/openstack-gate/+bug/
>>>>>>>>>>>>>>> 1424582
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> # dnf install redhat-rpm-config
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> which then brought
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> src/MD2.c:31:20: fatal error: Python.h: No such
>>>>>>>>>>>>>>> file or directory #include "Python.h" ^
>>>>>>>>>>>>>>> compilation terminated. error: command 'gcc'
>>>>>>>>>>>>>>> failed with exit status 1
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> dnf install python3-devel resolved that.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I'm lost now with
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> from Crypto.Cipher import AES ImportError: No
>>>>>>>>>>>>>>> module named 'Crypto'
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Google has lots of varying suggestions, none of
>>>>>>>>>>>>>>> which seem to work.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Any help please.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Dave Pawson
>>>>>>>>>>>>>>> XSLT XSL-FO FAQ.
>>>>>>>>>>>>>>> Docbook FAQ.
>>>>>>>>>>>>>>> http://www.dpawson.co.uk
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Dave Pawson
>>>>>>>>>>>>>> XSLT XSL-FO FAQ.
>>>>>>>>>>>>>> Docbook FAQ.
>>>>>>>>>>>>>> http://www.dpawson.co.uk
>>>>>>>>>>>>>> ________________________________
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>>>>>>>>>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/p
>>>>>>>>>>>>>> ycrypto
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ________________________________
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>>>>>>>>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pyc
>>>>>>>>>>>>> rypto
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Dave Pawson
>>>>>>>>>>>> XSLT XSL-FO
>>>>>>>>>>>> FAQ.
>>>>>>>>>>>> Docbook FAQ.
>>>>>>>>>>>> http://www.dpawson.co.uk
>>>>>>>>>>>> ________________________________
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>>>>>>>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycry
>>>>>>>>>>>> pto
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ________________________________
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>>>>>>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypt
>>>>>>>>>>> o
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Dave Pawson
>>>>>>>>>> XSLT XSL-FO FAQ.
>>>>>>>>>> Docbook FAQ.
>>>>>>>>>> http://www.dpawson.co.uk
>>>>>>>>>> ________________________________
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>>>>>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ________________________________
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> pycrypto mailing list
>>>>>>>>>
>>>>>>>>> pycrypto at lists.dlitz.net
>>>>>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ________________________________
>>>>>>>
>>>>>>>
>>>>>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Dave Pawson
>>>>>> XSLT XSL-FO FAQ.
>>>>>> Docbook FAQ.
>>>>>> http://www.dpawson.co.uk
>>>>>> ________________________________
>>>>>>
>>>>>>
>>>>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ________________________________
>>>>>
>>>>>
>>>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>>>>>
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> pycrypto mailing list pycrypto at lists.dlitz.net
>>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>>>
>>>
>>
>>
>>
>> --
>> Dave Pawson
>> XSLT XSL-FO FAQ.
>> Docbook FAQ.
>> http://www.dpawson.co.uk
>> _______________________________________________
>> pycrypto mailing list pycrypto at lists.dlitz.net
>> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
>>
>>
>
>
> _______________________________________________
> pycrypto mailing list
> pycrypto at lists.dlitz.net
> http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto
--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
More information about the pycrypto
mailing list