aboutsummaryrefslogtreecommitdiff
path: root/cmd/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/utils.go')
-rw-r--r--cmd/utils.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/cmd/utils.go b/cmd/utils.go
deleted file mode 100644
index d8e54fe..0000000
--- a/cmd/utils.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package main
-
-import (
- "fmt"
-
- "github.com/charmbracelet/x/term"
-)
-
-func takeSecureUserInput() ([]byte, error) {
- sensInfo, err := term.ReadPassword(0)
- fmt.Println()
- if err != nil {
- return nil, err
- }
- if len(sensInfo) == 0 {
- return nil, fmt.Errorf("passphrase cannot be empty")
- }
-
- return sensInfo, nil
-}