Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wizard: add user information step (HMS-4903) #2551

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 26, 2024

  1. wizard: add user information step (HMS-4903)

    This commit introduces the user information step with the following fields:
    (*) `userName` field with validation according to Red Hat guidelines: https://access.redhat.com/solutions/30164
    (*) `password` field with validation using the pam_pwquality module, which enforces strict password policies for Linux systems.
    This module enhances security by enforcing minimum length, complexity, and avoiding weak passwords.
      More info: https://access.redhat.com/solutions/6979714
    Validation is configured based on the requirements defined for our systems:
      https://github.com/osbuild/osbuild-composer/tree/main/test/data/manifests
      https://github.com/osbuild/images/pkg/distro/rhel/rhel10
    (*) `confirm password` field that check if confirm password equal to password
    (*) `ssh key` field - implement the same validation as we have in edge.
    [x] [wip> unit tests- in progress because I want to make sure that all new fields are in a good shape.
    mgold1234 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    936c15f View commit details
    Browse the repository at this point in the history
  2. remove general function

    mgold1234 committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    0a44d3d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee48ec4 View commit details
    Browse the repository at this point in the history