From 63d09daf9413707ac1c93d818552c30e2419c350 Mon Sep 17 00:00:00 2001 From: Luna Midori Date: Fri, 15 Nov 2024 11:37:45 -0800 Subject: [PATCH] updated our file manager and uploader to support username flag --- Webserver/Programs/File_manager/file_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Webserver/Programs/File_manager/file_manager.py b/Webserver/Programs/File_manager/file_manager.py index 84449a3..2257625 100644 --- a/Webserver/Programs/File_manager/file_manager.py +++ b/Webserver/Programs/File_manager/file_manager.py @@ -130,6 +130,8 @@ def decrypt_user_data(encrypted_data, username, salt): decrypted_data = cipher.decrypt(encrypted_data).decode() return decrypted_data + + def upload_to_midori_ai(): print("Please enter a token to encrypt your data before sending it to Midori AI") print("Midori AI will not get this token, please record this token in a safe place")