Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

More Password Generator options #687

@Robin481

Description

@Robin481

Instead of just having the option for a random password that is always 14 characters long we would like to have it more configurable.

Options should be:

  • Length of the randomly generated password (up until 32 characters)
  • Whether the password contains special characters or not

Additionally we should evaluate whether we are using a proper random generator or if we should switch to something more secure. From a short glimpse we use Math.random which according to: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random should not be used for anything security related.

ToDo:

  • Draw a Mockup for the design to make it clear how it should look when it is done
    • Check with UX/The team whether this seems reasonable
  • Replace Math.random with something secure like https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
  • Create the inputs that allow the user to determine which options are selected when creating the random password.
  • Tests 🥳

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions