commit 290bb3d47f715ba493c46073e254416ba1f4f494
parent 3ff0b22e0ad31ac8998b19fff9144d3d14870cba
Author: Sean Enck <sean@ttypty.com>
Date: Wed, 2 Jul 2025 11:33:50 -0400
this func is unused
Diffstat:
1 file changed, 0 insertions(+), 10 deletions(-)
diff --git a/internal/platform/os.go b/internal/platform/os.go
@@ -63,16 +63,6 @@ func GetUserInput(interactive bool, prompt string) ([]byte, error) {
return []byte(value), nil
}
-// ReadInteractivePassword will prompt for a single password for unlocking
-func ReadInteractivePassword() (string, error) {
- termEcho(false)
- defer func() {
- termEcho(true)
- }()
- fmt.Print("password: ")
- return Stdin(true)
-}
-
func confirmInputsMatch(prompt string) (string, error) {
termEcho(false)
defer func() {