bump version to 0.5.3 (#2306)

This commit is contained in:
takatost
2024-02-01 18:11:57 +08:00
committed by GitHub
parent b521aafd26
commit 9f637ead38
169 changed files with 591 additions and 670 deletions

View File

@@ -1,13 +1,13 @@
# -*- coding:utf-8 -*-
import hashlib
import libs.gmpy2_pkcs10aep_cipher as gmpy2_pkcs10aep_cipher
from Crypto.Cipher import AES
from Crypto.PublicKey import RSA
from Crypto.Random import get_random_bytes
from extensions.ext_redis import redis_client
from extensions.ext_storage import storage
import libs.gmpy2_pkcs10aep_cipher as gmpy2_pkcs10aep_cipher
def generate_key_pair(tenant_id):
private_key = RSA.generate(2048)