Refactor constants initialization

This commit is contained in:
thePR0M3TH3AN
2025-07-02 22:04:52 -04:00
parent f94a964622
commit 7763d9de88
6 changed files with 32 additions and 33 deletions

View File

@@ -4,10 +4,12 @@ from cryptography.fernet import Fernet
from password_manager.encryption import EncryptionManager
from password_manager.vault import Vault
from password_manager.entry_management import EntryManager
from constants import initialize_app
def main() -> None:
"""Demonstrate basic EntryManager usage."""
initialize_app()
key = Fernet.generate_key()
enc = EncryptionManager(key, Path("."))
vault = Vault(enc, Path("."))