replace Crypto with Cryptodome (#59924)
This commit is contained in:
parent
fd729ab30a
commit
b0fe753a58
|
@ -26,8 +26,8 @@ from those services, reporting whether the transaction was successful and which
|
||||||
one it was. The full content (which is specific to the service) is also
|
one it was. The full content (which is specific to the service) is also
|
||||||
reported for logging purpose.
|
reported for logging purpose.
|
||||||
|
|
||||||
The spplus and paybox module also depend upon the python Crypto library for DES
|
The paybox module also depend upon the python Cryptodome library for RSA
|
||||||
decoding of the merchant key and RSA signature validation on the responses.
|
signature validation on the responses.
|
||||||
|
|
||||||
Some backends allow to specify the order and transaction ids in different
|
Some backends allow to specify the order and transaction ids in different
|
||||||
fields, in order to allow to match them in payment system backoffice. They are:
|
fields, in order to allow to match them in payment system backoffice. They are:
|
||||||
|
|
|
@ -19,6 +19,7 @@ Package: python3-eopayment
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${python3:Depends},
|
Depends: ${python3:Depends},
|
||||||
python3-zeep (>= 2.5),
|
python3-zeep (>= 2.5),
|
||||||
|
python3-pycryptodome,
|
||||||
python3-click
|
python3-click
|
||||||
Description: common API to access online payment services (Python 3)
|
Description: common API to access online payment services (Python 3)
|
||||||
eopayment is a Python module to interface with French's bank credit
|
eopayment is a Python module to interface with French's bank credit
|
||||||
|
|
|
@ -27,9 +27,9 @@ from collections import OrderedDict
|
||||||
|
|
||||||
import pytz
|
import pytz
|
||||||
import requests
|
import requests
|
||||||
from Crypto.Hash import SHA
|
from Cryptodome.Hash import SHA
|
||||||
from Crypto.PublicKey import RSA
|
from Cryptodome.PublicKey import RSA
|
||||||
from Crypto.Signature import PKCS1_v1_5
|
from Cryptodome.Signature import PKCS1_v1_5
|
||||||
from six.moves.urllib import parse as urllib
|
from six.moves.urllib import parse as urllib
|
||||||
from six.moves.urllib import parse as urlparse
|
from six.moves.urllib import parse as urlparse
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue