- 19 Jun, 2019 1 commit
-
-
Jérémy Bobbio (Lunar) authored
PyCryptodome comes in two flavors: “an almost drop-in replacement for the old PyCrypto library” and “a library independent of the old PyCrypto”. The former uses the Crypto namespace, and is shipped as `pycryptodome` while the latter uses Cryptodome instead and lies in the `pycryptodomex` package. Given the reason to switch to PyCryptodome is that PyCrypto in unmaintained, its probably better to avoid any mistake and mandate the specific usage of the Cryptodome namespace by requiring `pycryptodomex` instead of `pycryptodome`. A more present reason is that Debian buster will only provide a package with the separate namespace flavor. The current Recommends is not working with the current code. Although it's important to note that the package name will probably have to be changed to `python3-pycryptodomex` once https://bugs.debian.org/886291 is solved.
-
- 21 May, 2019 1 commit
-
-
Philippe Pepiot authored
pycrypto accept both bytes or string but pycryptodome, which will be introduced in next changeset, doesn't accept this. For backward compatibility, encode unicode strings in _cypherer()
-
- 05 Apr, 2019 1 commit
-
-
Denis Laxalde authored
This mostly consists in removing the dependency on "six" and updating the code to use only Python3 idioms. Notice that we previously used TemporaryDirectory from cubicweb.devtools.testlib for compatibility with Python2. We now directly import it from tempfile.
-
- 16 May, 2019 2 commits
-
-
Denis Laxalde authored
--HG-- branch : 3.26
-
Denis Laxalde authored
* Remove usage of unicode() and decode the base64-encoded string in encrypt(); * Encode the string received in decrypt() as (I supposed) it should come from the result of encrypt(). Add tests for this module along the way. --HG-- branch : 3.26
-
- 30 Sep, 2016 1 commit
-
-
Sylvain Thénault authored
* update some copyright * drop most __docformat__ declaration * fix some flake8 warnings / errors
-
- 16 Jan, 2016 1 commit
-
-
Denis Laxalde authored
Basically: mkdir cubicweb hg mv *.py -X setup.py cubicweb hg mv dataimport devtools entities etwist ext hooks i18n misc schemas server skeleton sobjects test web wsgi cubicweb Other changes: * adjust path to cubicweb-ctl in devtools tests * update setup.py to avoid importing __pkginfo__ (exec it instead), replace os.path.walk by os.walk and prepend `modname` here and there * update tox.ini to account for new test locations * update doc/conf.py so that it still finds __pkginfo__.py and CWDIR in doc/Makefile
-
- 28 Sep, 2011 1 commit
-
-
Sylvain Thénault authored
[pylint] fix pylint detected errors and tweak it so that pylint -E will be much less verbose next time (+ update some copyrights on the way) --HG-- branch : stable
-
- 28 Apr, 2010 2 commits
-
-
Sylvain Thénault authored
--HG-- branch : oldstable
-
Sylvain Thénault authored
--HG-- branch : stable
-
- 16 Feb, 2010 1 commit
-
-
Sylvain Thénault authored
-