Skip to content
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

When prompting for passwords, don't echo to the terminal #31586

Merged
merged 3 commits into from
Sep 10, 2016

Conversation

brendandburns
Copy link
Contributor

@brendandburns brendandburns commented Aug 28, 2016

@deads2k
@kubernetes/kubectl


This change is Reviewable

@brendandburns brendandburns added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed cla: yes labels Aug 28, 2016
@k8s-github-robot k8s-github-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 28, 2016
@jwforres
Copy link
Contributor

cc @fabianofranz

@brendandburns
Copy link
Contributor Author

@k8s-bot test this please issue: #23634

@bgrant0607 bgrant0607 assigned deads2k and fabianofranz and unassigned bgrant0607 Aug 29, 2016
@fabianofranz
Copy link
Contributor

fabianofranz commented Aug 29, 2016

@brendandburns We are just using DisableEcho from docker/pkg/term like in here. Other than masked input, does gopass add anything that Docker's term doesn't provide? Looks pretty solid, it's just that I never heard of it before.

@brendandburns
Copy link
Contributor Author

@fabianofranz it masks the characters, so that you get:

Enter Password: *******

Instead of

Enter Password:

Given that we don't currently vendor that Docker library, and that feature I'd just as soon use this library.

Thanks!
--brendan

@deads2k
Copy link
Contributor

deads2k commented Aug 30, 2016

Given that we don't currently vendor that Docker library, and that feature I'd just as soon use this library.

Ok.

@deads2k
Copy link
Contributor

deads2k commented Aug 30, 2016

lgtm.

@fabianofranz we should probably be consistent downstream. If you tag an issue in origin kind/post-rebase it ought to percolate up after the next kube rebase.

@deads2k deads2k added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 30, 2016
@fabianofranz
Copy link
Contributor

@brendandburns works for me, thanks! LGTM

@deads2k definitely, added openshift/origin#10737

@k8s-bot
Copy link

k8s-bot commented Sep 10, 2016

GCE e2e build/test passed for commit 7de9bc6.

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Sep 10, 2016

GCE e2e build/test passed for commit 7de9bc6.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit bc835c6 into kubernetes:master Sep 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants