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: - [x] 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 - [x] Replace Math.random with something secure like https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues - [x] Create the inputs that allow the user to determine which options are selected when creating the random password. - [x] Tests :partying_face:
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:
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.randomwhich 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: