This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user