CLI: Masked input issues on Windows
ohsayan opened this issue · comments
One of our fellow users let me know via chat that masked input was not working on windows (for example to start skysh
you need to pass the password interactively (or using --password).
However on Windows this interactive input either fails silently or throws a "failed to fill buffer" error.
The good part is that I've been able to reliably reproduce this on a VM (since I don't use Windows). A patch to fix this will be released soon.
Workaround: Use skysh --password <pass>
to log in1
Footnotes
-
but make sure that your terminal history is either cleared or saved securely to avoid your password from being seen by someone ↩
I have also identified the issue, and I believe that using "read_password" can solve this problem.