Offline Mode: Implemented a new offline mode that bypasses external API checks for password strength against haveibeenpwned.com. This mode is beneficial for instances running in isolated networks or where external API access is unnecessary. The mode can be enabled through an environment variable NO_API_CHECK=true when running the Docker container.
Fixed:
Word Separator Selector in Passphrase Generation: Resolved an issue where the selected word separator (e.g., hyphens, spaces, or custom characters) was not being applied correctly in the passphrase generation process. Passphrases will now correctly incorporate the chosen separator, enhancing the usability and customizability of generated passphrases.
Changes:
Modified the generate_passphrase function to correctly apply the user-selected separator between words in the generated passphrase.
Updated the index route to check for the NO_API_CHECK environment variable and pass this status to the frontend. This modifies the informational text regarding password checks based on the offline mode status.
Altered the frontend template to dynamically display a message about the offline mode when enabled, providing clear feedback to users about the operational mode of the application.
Technical Improvements:
Refactored environment variable handling to streamline the process of checking for the presence of NO_API_CHECK and simplify future enhancements related to configuration via environment variables.
Added
Fixed:
Changes:
Technical Improvements: