Skip to content

Conversation

tuomari
Copy link

@tuomari tuomari commented Aug 20, 2025

Admin password can and most likely should be provided to the container as a hash, instead of plaintext password.

This commit adds a new environment variable 'XROAD_ADMIN_PWD_HASH', which can be used to supply a hash to sidecar container instead of hashing the plaintext password on container start. If 'XROAD_ADMIN_PWD_HASH' variable is not supplied, old behaviour is preserved.

Admin password can and most likely should be provided to the container as a hash, instead of plaintext password.

This commit adds a new environment variable 'XROAD_ADMIN_PWD_HASH', which can be used to supply a hash to sidecar container
instead of hashing the plaintext password on container start. If 'XROAD_ADMIN_PWD_HASH' variable is not supplied, old behaviour
is preserved.
@tuomari tuomari requested review from a team, petkivim and raits as code owners August 20, 2025 10:55
@raits
Copy link
Contributor

raits commented Aug 21, 2025

Hello @tuomari!

Thank you for the contribution, I have created a backlog item for our developers to review this contribution: https://nordic-institute.atlassian.net/browse/XRDDEV-2968.

I see that you have already started the CLA process as well so the PR can be merged once it has been reviewed and the CLA approved.

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.

2 participants