Extend password policy and generator

This commit is contained in:
thePR0M3TH3AN committed 2025-07-30 18:44:41 -04:00
1 parent d4d475438f
commit dcb5c6e805
5 files changed
+130 -24

No files matched your search

+3
View File
@@ -50,6 +50,9 @@ 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
# Characters considered safe for passwords when limiting punctuation
SAFE_SPECIAL_CHARS = "!@#$%^*-_+=?"
# Timeout in seconds before the vault locks due to inactivity
INACTIVITY_TIMEOUT = 15 * 60 # 15 minutes