-
Notifications
You must be signed in to change notification settings - Fork 3k
Warn user about --password cli option in login #5268
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
Warn user about --password cli option in login #5268
Conversation
|
Hi @Akasurde. Thanks for your PR. I'm waiting for a containers member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/assign @umohnani8 |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Akasurde, mheon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Abhijeet Kasurde <[email protected]>
b883fda to
db60abe
Compare
|
LGTM |
|
/lgtm |
Great timing: this new test collided against containers#5268, which added a warning about using command-line --password. CI is now going to fail all over. Fix: rework test to use --password-stdin. Am doing so only in the places where output string is checked; other instances can keep using '--password xxx' because it's simpler. Signed-off-by: Ed Santiago <[email protected]>
|
Day late dollar short, but would you consider opening a new PR using |
|
Warnf isn't printed by default, which could be a problem |
:gaping-mouth-agog-emoji: I didn't realize that. Um, ok, never mind. Thanks for the quick response. |
|
I kind of want to change that, but we have a bunch of warnings that will show by default now. We'd need to do a pass over all our logging and determine what severity things should be (and then try and fix any warnings that were still being displayed) |
|
I agree, but I believe these warnings run deep. |
Great timing: this new test collided against containers#5268, which added a warning about using command-line --password. CI is now going to fail all over. Fix: rework test to use --password-stdin. Am doing so only in the places where output string is checked; other instances can keep using '--password xxx' because it's simpler. Signed-off-by: Ed Santiago <[email protected]>
Using command line parameter --password may reveal registry password. Better to warn user about this.
Signed-off-by: Abhijeet Kasurde [email protected]