Merge branch 'master' of https://git.kmlabz.com/BiztProtoBois/server
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
02ef40a303
@ -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
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user