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

http-basic password prompt is shown clear text #232

Closed
leorolland opened this issue Dec 13, 2023 · 0 comments
Closed

http-basic password prompt is shown clear text #232

leorolland opened this issue Dec 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@leorolland
Copy link

leorolland commented Dec 13, 2023

While configuring a new API, basic-auth password prompt doesn't hide text.

E.g.


▶  ~ $ restish api configure test http://localhost
Setting up a `default` profile
? Select option for profile `default` Set up auth
? API auth type http-basic
? Auth parameter username test
? Auth parameter password mypassword
? Add additional auth param? No
...

Expected behavior:

  1. replace chars
? Auth parameter password: *********
  1. (preferred) do not show anything
? Auth parameter password: 

version: v0.19.0

@danielgtaylor danielgtaylor added the enhancement New feature or request label Dec 14, 2023
danielgtaylor added a commit that referenced this issue Dec 14, 2023
fix: hide secret input during API config, fixes #232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants