neo-go icon indicating copy to clipboard operation
neo-go copied to clipboard

Consider using `CONIN$` and `CONOUT$` for reading passwords securely in WINDOWS

Open notimetoname opened this issue 1 year ago • 0 comments

There was a secure password reading for the *nix OSes via /dev/tty in https://github.com/nspcc-dev/neo-go/pull/2480. However, it still uses stdin and stdout for Windows. I've also found info that it may be enhanced: https://nullprogram.com/blog/2020/05/04/. Not tested, not sure we need it, not a good Windows user, not sure it was always possible in all modern NT kernels but anyway, all the questions can be answered and a better Windows UX can be considered.

notimetoname avatar Jun 05 '23 10:06 notimetoname