Skip to content

Conversation

@danishprakash
Copy link
Contributor

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 #18591, #27879

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]>
Copy link
Member

@ashley-cui ashley-cui left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@TomSweeneyRedHat
Copy link
Member

Changes LGTM
Tests are unhip. At least a few are flakes, restarting.

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.

podman secret usability

3 participants