github jocxfin/pwgen v1.5.0
v1.5.0 - Environment Variable Configuration for Password/Passphrase Defaults

latest releases: v1.93.0, v1.92.4, v1.92.3...
21 months ago

Added:

  • Environment Variable Configuration for Password/Passphrase Defaults: Implemented functionality to allow users to define default settings for password and passphrase generation using environment variables. This feature enhances automation and standardization across different deployments, particularly benefiting self-hosted environments.

Fixed:

  • Fixed homoglyphic excluding option

Changes:

  • Modified password and passphrase generation routes to use environment-provided defaults when explicit parameters are not specified in the request.
  • Updated the UI to indicate which settings are being applied, based on the environment variables.
  • Added validation for environment variable values to ensure they meet expected formats and constraints.
  • Updated documentation to include details on the new environment variables, their expected values, and usage examples.

Technical Improvements:

  • Implemented logic to read environment variables for password and passphrase settings at application startup.
  • Enhanced backend logic to dynamically adjust default settings based on environment-provided values.
  • Added error handling for invalid environment variable values to maintain application stability.

Other:

  • Thank you everyone for your support to this hobby project of mine. This release will be a release version 1.5.0 and it will follow semantic versioning from here onwards.

Thank you u/NinjaFragrant7710 from Reddit for your valuable input and contribution to this feature!

To use:

docker pull jocxfin/pwgen:latest
docker run -d -p 5069:5069 jocxfin/pwgen:latest

Offline mode:

docker pull jocxfin/pwgen:latest
docker run -d -e NO_API_CHECK=true -p 5069:5069 jocxfin/pwgen:latest

With environmental variables defining settings:

docker pull jocxfin/pwgen:latest
docker run -d -p 5069:5069 \
  -e NO_API_CHECK=false \
  -e PW_LENGTH=12 \
  -e PW_INCLUDE_UPPERCASE=false \
  -e PW_INCLUDE_DIGITS=false \
  -e PW_INCLUDE_SPECIAL=false \
  -e PW_EXCLUDE_HOMOGLYPHS=true \
  -e PP_WORD_COUNT=4 \
  -e PP_CAPITALIZE=false \
  -e PP_SEPARATOR_TYPE=space \
  -e PP_USER_DEFINED_SEPARATOR='' \
  -e PP_MAX_WORD_LENGTH=12 \
  -e PP_INCLUDE_NUMBERS=false \
  -e PP_INCLUDE_SPECIAL_CHARS=false \
  -e PP_LANGUAGE=en \
  jocxfin/pwgen:latest

Quick and straightforward improvements for a better tool.

Don't miss a new pwgen release

NewReleases is sending notifications on new releases.