Merge branch 'master' of https://git.kmlabz.com/BiztProtoBois/server
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
DESKTOP-DPA61F8\Benedek 2021-04-23 18:13:25 +02:00
commit 02ef40a303
2 changed files with 5 additions and 5 deletions

View File

@ -3,9 +3,8 @@ import logging
import os
import shutil
import sys
import binascii
from base64 import b64encode
from Crypto.PublicKey import RSA
from Crypto.Hash import SHA256
from Crypto.Protocol.KDF import bcrypt, bcrypt_check

View File

@ -1,9 +1,10 @@
from authentication import Authetication
from Crypto.PublicKey import RSA
import json
import logging
import os
from Crypto.PublicKey import RSA
from authentication import Authetication
def generatePrivateKeyForUser(auth: Authetication, username: str, user_passphrase: str, public_server_key='') -> bool:
if auth.checkUserExists(username):