<html><head></head><body>See the introduction link I sent previously. It explains this in detail. <br><br><div class="gmail_quote">On December 7, 2016 3:45:58 AM PST, Dave Pawson <dave.pawson@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"># pip search pycryptodome<br />pycryptodome (3.4.3)   - Cryptographic library for Python<br />pycryptodomex (3.4.3)  - Cryptographic library for Python<br /><br />What's the difference please?<br /><br />regards<br /><br />On 6 December 2016 at 21:41, Martin Falatic <martin@falatic.com> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Since it's forked from pycrypto 2.6.1 I think you'll be fine. However, if<br /> you find places where it falls short versus this one, please open an issue<br /> with them first so it can be tracked and hopefully rectified, and reply<br /> with the bug link here so others can be aware of it.<br /><br />  - M<br /><br /><br /> On Tue, December 6, 2016 13:34, Dave Pawson wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Thanks for that. Good it's installable via pip.<br
/> I've a whole setup (pwd safe) to check out, I'll<br /> see if it sits as a usable replacement.<br /><br /> Dave<br /><br /><br /> On 6 December 2016 at 21:12, Martin Falatic <martin@falatic.com> wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"> Consider the following rather basic but important bug in pycrypto:<br /><br /><br /> <a href="https://github.com/dlitz/pycrypto/issues/187">https://github.com/dlitz/pycrypto/issues/187</a><br /><br /><br /> As you'll see there, I stumbled on it and even built a fixed version a<br /> few months ago.<br /><br /> Revisiting this now, I just re-tested to see that pycryptodome already<br /> has that fix in it.<br /><br /> Your mileage may vary, but pycryptodome is being actively developed and<br />  maintained and is a drop-in replacement for pycrypto.<br /><br /> - Marty<br /><br /><br /><br /><br /> On Tue, December 6, 2016 04:56, Dave Pawson
wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;"> I downloaded and built from source which seems to work fine.<br /> Shame really, it's a good library.<br /><br /><br /><br /> regards<br /><br /> On 6 December 2016 at 09:12, Martin Falatic <martin@falatic.com><br /> wrote:<br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"> Unfortunately, by all appearances PyCrypto seems to be dead. I<br /> would consider Helder Eijs' "PyCryptodome" as a replacement. More<br /> information:<br /><br /><br /><br /> <a href="https://pycryptodome.readthedocs.io/en/latest/src/introduction.html">https://pycryptodome.readthedocs.io/en/latest/src/introduction.html</a><br /><br /><br /><br /> - Marty<br /> @MartyMacGyver most places<br /><br /><br /><br /><br /> On Fri, December 2, 2016 01:38, Dave Pawson wrote:<br /><br /><br
/><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> further investigations show:<br /><br /> # pip show pycrypto<br /> Name: pycrypto<br /> Version: 2.6.1<br /> Summary: Cryptographic modules for Python.<br /> Home-page: <a href="http://www.pycrypto.org">http://www.pycrypto.org</a>/<br /> Author: Dwayne C. Litzenberger<br /> Author-email: dlitz@dlitz.net<br /> License: UNKNOWN<br /> Location: /usr/lib64/python2.7/site-packages<br /><br /><br /><br /><br /><br /> All my code is (now) Python 3.5.<br /> Question if 3.5 code accesses 2.7 site-packages?<br /><br /><br /><br /><br /> Is there a way round this please?<br /><br /><br /><br /><br /> regards<br /><br /><br /><br /> On 2 December 2016 at 08:28, Dave Pawson <dave.pawson@gmail.com><br /> wrote:<br /><br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> Fedora 25, installing
pycrypto 2.6.1<br /><br /><br /><br /><br /> full build at <a href="http://pastebin.com/acC5r1YY">http://pastebin.com/acC5r1YY</a><br /><br /> error reported<br /><br /> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such<br /> file or directory error: command 'gcc' failed with exit status 1<br /><br /><br /> Searching for the error I found<br /> <a href="https://bugs.launchpad.net/openstack-gate/+bug/1424582">https://bugs.launchpad.net/openstack-gate/+bug/1424582</a><br /><br /><br /><br /><br /> # dnf install redhat-rpm-config<br /><br /><br /><br /><br /> which then brought<br /><br /> src/MD2.c:31:20: fatal error: Python.h: No such file or<br /> directory #include "Python.h"<br /> ^<br /> compilation terminated. error: command 'gcc' failed with exit<br /> status 1<br /><br /><br /><br /><br /> dnf install python3-devel resolved that.<br /><br /> I'm lost now with<br /><br /><br /><br /><br /> from Crypto.Cipher import AES ImportError: No module named<br /> 'Crypto'<br
/><br /><br /><br /><br /> Google has lots of varying suggestions, none of which<br /> seem to work.<br /><br /> Any help please.<br /><br /><br /><br /><br /> --<br /> Dave Pawson<br /> XSLT XSL-FO FAQ.<br /> Docbook FAQ.<br /> <a href="http://www.dpawson.co.uk">http://www.dpawson.co.uk</a></blockquote><br /><br /><br /><br /><br /><br /> --<br /> Dave Pawson<br /> XSLT XSL-FO FAQ.<br /> Docbook FAQ.<br /> <a href="http://www.dpawson.co.uk">http://www.dpawson.co.uk</a><br /><hr /><br /> pycrypto mailing list pycrypto@lists.dlitz.net<br /> <a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</a></blockquote><br /><br /><br /><br /><br /><br /><hr /><br /> pycrypto mailing list pycrypto@lists.dlitz.net<br /> <a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</a></blockquote><br /><br /><br /><br /><br /> --<br /> Dave Pawson<br /> XSLT XSL-FO
FAQ.<br /> Docbook FAQ.<br /> <a href="http://www.dpawson.co.uk">http://www.dpawson.co.uk</a><br /><hr /><br /> pycrypto mailing list pycrypto@lists.dlitz.net<br /> <a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</a></blockquote><br /><br /><br /><br /><br /><hr /><br /> pycrypto mailing list pycrypto@lists.dlitz.net<br /> <a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</a></blockquote><br /><br /><br /><br /> --<br /> Dave Pawson<br /> XSLT XSL-FO FAQ.<br /> Docbook FAQ.<br /> <a href="http://www.dpawson.co.uk">http://www.dpawson.co.uk</a><br /><hr /><br /> pycrypto mailing list pycrypto@lists.dlitz.net<br /> <a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</a></blockquote><br /><br /><br /><br /><hr /><br /> pycrypto mailing list<br />
pycrypto@lists.dlitz.net<br /> <a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</a><br /></blockquote><br /><br /></pre></blockquote></div></body></html>