-
Notifications
You must be signed in to change notification settings - Fork 2.9k
secrets/create: remove pipe check and allow interactive stdin #27904
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
Conversation
Previously, `secret create` required stdin to be a pipe when using `-`, blocking interactive stdin forcing users to use insecure patterns like `echo "secret" | podman secret create <name>`. Remove the pipe check to allow interactive stdin. Closes containers#18591, containers#27879 Signed-off-by: Danish Prakash <[email protected]>
cb8587c to
86a3b68
Compare
ashley-cui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
|
Changes LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for your contribution.
I also checked git blame to see if there is any non-obvious reason for the original code and there isn't, so +1.
|
The failed tft tests are not related to this change. The issue is in the tft I think. |
|
/packit retest-failed |
|
Account inknos has no write access nor is author of PR! |
|
/packit retest-failed |
|
Account jankaluza has no write access nor is author of PR! |
|
/packit retest-failed |
Previously,
secret createrequired stdin to be a pipe when using-, blocking interactive stdin forcing users to use insecure patterns likeecho "secret" | podman secret create <name>.Remove the pipe check to allow interactive stdin.
Closes #18591, #27879