Skip to content

Ability to generate passwords using diceware#176

Open
raphael247 wants to merge 2 commits intolinuxmuster:bionicfrom
raphael247:bionic
Open

Ability to generate passwords using diceware#176
raphael247 wants to merge 2 commits intolinuxmuster:bionicfrom
raphael247:bionic

Conversation

@raphael247
Copy link
Copy Markdown

To generate dice-passwords:

  • set the option RANDOM_PWD=dice in school.conf
  • PWD_LENGTH will be the number of words separated by dots.
  • diceware must be installed by 'pip3 install diceware'
  • Samba must be configured to permit non-komplex passwords via 'samba-tool domain passwordsettings set --complexity=off'

To generate dice-passwords:
- set the option RANDOM_PWD=dice in school.conf
- PWD_LENGTH will be the number of words separated by dots.
- diceware must be installed by 'pip3 install diceware'
- Samba must be configured to permit non-komplex passwords via
  'samba-tool domain passwordsettings set --complexity=off'
@toheine
Copy link
Copy Markdown

toheine commented Feb 2, 2025

What is the current status of this PR? This feature makes absolutely sense. Please merge or get in touch with @raphael247 if this should be implemented differently.

@anschuetz
Copy link
Copy Markdown

Hi @raphael247,
hi @toheine,

We apologize for the delay in reviewing your pull request. Unfortunately, the developer responsible for this has been unavailable for an extended period. However, we've addressed the situation by creating a fork to continue the process, and we'll be moving forward with the necessary steps to handle your contribution.

Thank you for your patience and understanding.

Best regards,
Jesko

Introduced DICE config options in school.conf:
[userfile.students|teacher|extrastudents.csv]
    DICE_LANG = de_8k
    DICE_SEPARATOR = .
    DICE_WORDS = 2
    DICE_CAPS = TRUE

Error checks:
- diceware package not installed
- samba password complexity not disabled
- diced password too short (samba minimum password length)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants