Mercurial > libervia-backend
comparison setup.py @ 3160:330a5f1d9eea
core (memory/crypto): replaced `PyCrypto` by `cryptography`:
`PyCrypto` is unmaintained for years but was used in SàT for password hashing. This patch
fixes that by replacing `PyCrypto` by the reference `cryptography` module which is well
maintained.
The behaviour stays the same (except that previously async `hash`, `encrypt` and `decrypt`
methods are now synchronous, as they are quick and using a deferToThread may actually be
more resource intensive than using blocking methods).
It is planed to improve `memory.crypto` by using more up-to-date cryptography/hashing
algorithms in the future.
PyCrypto is no more a dependency of SàT
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 09 Feb 2020 23:50:26 +0100 |
parents | 9d0df638c8b4 |
children | f300d78f08f3 |
comparison
equal
deleted
inserted
replaced
3159:30e08d904208 | 3160:330a5f1d9eea |
---|---|
33 'miniupnpc', | 33 'miniupnpc', |
34 'mutagen', | 34 'mutagen', |
35 'netifaces', | 35 'netifaces', |
36 'pillow', | 36 'pillow', |
37 'progressbar2', | 37 'progressbar2', |
38 'pycrypto >= 2.6.1', | |
39 'cryptography', | 38 'cryptography', |
40 'pygments', | 39 'pygments', |
41 'pygobject', | 40 'pygobject', |
42 'PyOpenSSL', | 41 'PyOpenSSL', |
43 'python-dateutil', | 42 'python-dateutil', |