aboutsummaryrefslogtreecommitdiff
path: root/cmd/utils.go
diff options
context:
space:
mode:
authorishaan <contact@ishaan.cc>2026-07-12 06:40:42 +0530
committerishaan <contact@ishaan.cc>2026-07-12 06:40:42 +0530
commit65017dfaff1376a16f4d11e76a8aa2d625e05aec (patch)
treeab099d2b5d037e2670e6761c99a506accaef78d8 /cmd/utils.go
parentcfbacac3872a98303481a7930b8d497058499b30 (diff)
no step on snek
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
-}