This commit is contained in:
Son Nguyen Kim 2021-09-10 17:42:07 +02:00
parent e5a388dffb
commit 4949afc791
1 changed files with 2 additions and 0 deletions

View File

@ -10,11 +10,13 @@ import collections
import phpserialize import phpserialize
import requests import requests
from Crypto.Hash import SHA1 from Crypto.Hash import SHA1
# Crypto can be found at https://pypi.org/project/pycryptodome/ # Crypto can be found at https://pypi.org/project/pycryptodome/
from Crypto.PublicKey import RSA from Crypto.PublicKey import RSA
from Crypto.Signature import PKCS1_v1_5 from Crypto.Signature import PKCS1_v1_5
from app.config import PADDLE_PUBLIC_KEY_PATH, PADDLE_VENDOR_ID, PADDLE_AUTH_CODE from app.config import PADDLE_PUBLIC_KEY_PATH, PADDLE_VENDOR_ID, PADDLE_AUTH_CODE
# Your Paddle public key. # Your Paddle public key.
from app.log import LOG from app.log import LOG
from app.models import User from app.models import User