danielgtaylor / restish

Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in
https://rest.sh/
MIT License
717 stars 69 forks source link

http-basic password prompt is shown clear text #232

Closed leorolland closed 7 months ago

leorolland commented 7 months ago

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: *********

2) (preferred) do not show anything

? Auth parameter password: 

version: v0.19.0