covid-19-ro-help icon indicating copy to clipboard operation
covid-19-ro-help copied to clipboard

Remove mobilpay modules dependency on pycrypto and pyopenssl

Open aramboi opened this issue 3 years ago • 5 comments

Change the instances where the mobilpay modules located here https://github.com/code4romania/covid-19-ro-help/tree/develop/ro_help/mobilpay/mobilpay are using the pycrypto library.

PyCrypto has not been updated since 2013 and it is not tested with Python>3.3. pyOpenSSL also recommends not using it for anything other than making a TLS connection.

We should use https://github.com/pyca/cryptography instead as this is the recommended library to use for crypto primitives in this day and age.

aramboi avatar Apr 23 '21 15:04 aramboi