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.

Copy link
Member

@jankaluza jankaluza 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 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.

@jankaluza
Copy link
Member

The failed tft tests are not related to this change. The issue is in the tft I think.

@inknos
Copy link
Collaborator

inknos commented Jan 15, 2026

/packit retest-failed

@packit-as-a-service
Copy link

Account inknos has no write access nor is author of PR!

@jankaluza
Copy link
Member

/packit retest-failed

@packit-as-a-service
Copy link

Account jankaluza has no write access nor is author of PR!

@Honny1
Copy link
Member

Honny1 commented Jan 15, 2026

/packit retest-failed

@ashley-cui ashley-cui merged commit 0dda53b into containers:main Jan 15, 2026
78 checks passed
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

6 participants