mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-11 07:11:44 +00:00
update
This commit is contained in:
1 parent
6e3862810f
commit
412296d545
12 files changed
+10
-115
No files matched your search
+5
-5
@@ -53,7 +53,7 @@ try:
|
||||
# -----------------------------------
|
||||
# Application Directory and Paths
|
||||
# -----------------------------------
|
||||
APP_DIR = Path.home() / '.deterministic_password_generator'
|
||||
APP_DIR = Path.home() / '.seedpass'
|
||||
APP_DIR.mkdir(exist_ok=True, parents=True) # Ensure the directory exists
|
||||
logging.info(f"Application directory created at {APP_DIR}")
|
||||
except Exception as e:
|
||||
@@ -61,7 +61,7 @@ except Exception as e:
|
||||
logging.error(traceback.format_exc()) # Log full traceback
|
||||
|
||||
try:
|
||||
INDEX_FILE = APP_DIR / 'passwords_db.json' # Encrypted password database
|
||||
INDEX_FILE = APP_DIR / 'seedpass_passwords_db.json' # Encrypted password database
|
||||
PARENT_SEED_FILE = APP_DIR / 'parent_seed.enc' # Encrypted parent seed
|
||||
logging.info(f"Index file path set to {INDEX_FILE}")
|
||||
logging.info(f"Parent seed file path set to {PARENT_SEED_FILE}")
|
||||
@@ -73,8 +73,8 @@ except Exception as e:
|
||||
# Checksum Files for Integrity
|
||||
# -----------------------------------
|
||||
try:
|
||||
SCRIPT_CHECKSUM_FILE = APP_DIR / 'script_checksum.txt' # Checksum for main script
|
||||
DATA_CHECKSUM_FILE = APP_DIR / 'passwords_checksum.txt' # Checksum for password data
|
||||
SCRIPT_CHECKSUM_FILE = APP_DIR / 'seedpass_script_checksum.txt' # Checksum for main script
|
||||
DATA_CHECKSUM_FILE = APP_DIR / 'seedpass_passwords_checksum.txt' # Checksum for password data
|
||||
logging.info(f"Checksum file paths set: Script {SCRIPT_CHECKSUM_FILE}, Data {DATA_CHECKSUM_FILE}")
|
||||
except Exception as e:
|
||||
logging.error(f"Error setting checksum file paths: {e}")
|
||||
@@ -83,7 +83,7 @@ except Exception as e:
|
||||
# -----------------------------------
|
||||
# Password Generation Constants
|
||||
# -----------------------------------
|
||||
DEFAULT_PASSWORD_LENGTH = 12 # Default length for generated passwords
|
||||
DEFAULT_PASSWORD_LENGTH = 16 # Default length for generated passwords
|
||||
MIN_PASSWORD_LENGTH = 8 # Minimum allowed password length
|
||||
MAX_PASSWORD_LENGTH = 128 # Maximum allowed password length
|
||||
|
||||
|
||||
Reference in new issue
Block a user