diff --git a/pkg/input/input.go b/pkg/input/input.go index 2f5e43edb..b69af997d 100644 --- a/pkg/input/input.go +++ b/pkg/input/input.go @@ -23,7 +23,7 @@ func Text(promptText string) string { // Password requests a users passord, does not print out what they entered, and returns it func Password(promptText string) (string, error) { fmt.Print(promptText) - bytePassword, err := terminal.ReadPassword(syscall.Stdin) + bytePassword, err := terminal.ReadPassword(int(syscall.Stdin)) // nolint: unconvert if err != nil { return "", err }