We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0291bc9 commit 3cb7d54Copy full SHA for 3cb7d54
pkg/ecctl/read_secret.go
@@ -35,7 +35,7 @@ var (
35
// descriptor. If passFunc is empty, it defaults to terminal.
36
func ReadSecret(w io.Writer, passFunc PassFunc, msg string) ([]byte, error) {
37
fmt.Fprint(w, msg)
38
- b, err := passFunc(syscall.Stdin)
+ b, err := passFunc(int(syscall.Stdin))
39
fmt.Fprintln(w)
40
if err != nil {
41
return nil, err
0 commit comments