Skip to content

Use terminal reader in keystore add command (#126729) #126963

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

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Apr 16, 2025

When reading a string value from stdin the keystore add command currently looks directly at stdin. However, stdin may also be consumed while reading the keystore password. This commit changes the add command to use the reader from the termainl instead of looking at stdin directly.

closes #98115

When reading a string value from stdin the keystore add command
currently looks directly at stdin. However, stdin may also be consumed
while reading the keystore password. This commit changes the add command
to use the reader from the termainl instead of looking at stdin
directly.

closes elastic#98115
@rjernst rjernst added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Apr 16, 2025
@rjernst
Copy link
Member Author

rjernst commented Apr 17, 2025

@elasticmachine update branch

@elasticsearchmachine elasticsearchmachine merged commit 09a5c67 into elastic:9.0 Apr 17, 2025
16 checks passed
@rjernst rjernst deleted the keystore/use_reader_9.0 branch April 17, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v9.0.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants