Skip to content

Conversation

@kkapper
Copy link
Contributor

@kkapper kkapper commented May 20, 2025

This is a useful feature if you want to auto generate plaintext passwords and distribute those credentials. This avoids having to maintain references to both the plaintext and encrypted versions.

# # sha1sum: echo -n "password" | sha1sum | cut -d' ' -f1 | xxd -r -p | sha1sum
# authType: double_sha1_password
# authString: 3081f32caef285c232d066033c89a78d88a6d8a5 # databend
# password: thisIsAnExamplePassword # If generateSha256FromPlaintext is enabled above, this value will be used instead of authString.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How abount forcing sha256_password if password specified?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is reasonable. I don't know of an easy way to implement a double sha 1 with the helm functions we have available to begin with.

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