skytable / skytable

Skytable is a modern scalable NoSQL database with BlueQL, designed for performance, scalability and flexibility. Skytable gives you spaces, models, data types, complex collections and more to build powerful experiences

Home Page:https://skytable.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. 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.

@jkcs thanks for your comment. However, we implement masked input in a more low-level fashion (and don't use the line editor for it)