Complete security item 3 hardening and redaction sweep

This commit is contained in:
thePR0M3TH3AN committed 2026-02-25 18:23:40 -05:00
1 parent fcbe2b2943
commit 56b68bd0ac
11 files changed
+201 -55

No files matched your search

+3 -10
View File
@@ -1042,10 +1042,7 @@ class PasswordManager:
self.encryption_manager = EncryptionManager(key_b64, fingerprint_dir)
self.vault = Vault(self.encryption_manager, fingerprint_dir)
# Log the type and content of parent_seed
logger.debug(
f"Decrypted parent_seed: {self.parent_seed} (type: {type(self.parent_seed)})"
)
logger.debug("Parent seed decrypted successfully.")
# Validate the decrypted seed
if not self.validate_bip85_seed(self.parent_seed):
@@ -1222,9 +1219,7 @@ class PasswordManager:
logging.info("User password hashed and stored successfully.")
self.parent_seed = parent_seed
logger.debug(
f"parent_seed set to: {self.parent_seed} (type: {type(self.parent_seed)})"
)
logger.debug("Parent seed initialized successfully.")
self.initialize_bip85()
self.initialize_managers()
@@ -1422,9 +1417,7 @@ class PasswordManager:
logging.info("Parent seed encrypted and saved successfully.")
self.parent_seed = seed # Ensure this is a string
logger.debug(
f"parent_seed set to: {self.parent_seed} (type: {type(self.parent_seed)})"
)
logger.debug("Parent seed initialized successfully.")
self.initialize_bip85()
self.initialize_managers()