Skip to content

opensearch: internal_users.yml changes and securityadmin.sh runs on every run #511

Open

Description

@NavidSassan

hash.sh generates a new bcrypt salt on every run, so the rendered internal_users.yml always differs, the task reports a change and securityadmin.sh runs every time.

Expected: hash only when the password changed, for example by verifying the stored hash against the configured password first.

Found while testing OpenSearch 2.19.7 and 3.9.0 for #508.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions