I have this simple python code to get a password without echoing it.
import getpass
password = getpass.getpass("Password: ")
print(password)
This code works as expected on Linux, but on Windows Git Bash it let's me type indefinitely. As a workaround I can use the script from PowerShell, but it's annoying to change shells just to run a script.
Do you know any other non-echoing libraries in Python or any workaround for this issue?