alpaca
alpaca copied to clipboard
Can't read password when Alpaca is launched through Windows Git Bash
Steps to reproduce:
- On a Windows machine, open up Git Bash
- Launch Alpaca using
/path/to/alpaca -d mydomain
Expected behaviour:
Alpaca should prompt for the user's password and use that to authenticate to the proxy.
Actual behaviour:
The password prompt is printed, followed by an error message:
main.go:52: Error reading password from stdin: The handle is invalid.
Workaround:
Run Alpaca from a Command Prompt (cmd.exe) window.
This could be related to https://github.com/golang/go/issues/11914