aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-01-30 02:01:41 +0700
committerShulhan <ms@kilabit.info>2024-01-30 02:01:41 +0700
commit77ba620765a5682e05169be8b8740df925f612c8 (patch)
treee33f5273e5d124afb020040c4466f7a93c5cb3f7 /go.mod
parenta6f27c3faea924a509915ab679511033893b773f (diff)
downloadgotp-77ba620765a5682e05169be8b8740df925f612c8.tar.xz
all: use [lib/crypto.LoadPrivateKeyInteractive]
The lib/crypto.LoadPrivateKeyInteractive provides a simple way to read passphrase from stdin that also support SSH_ASKPASS. While at it, add test for Cli with passphrase.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod10
1 files changed, 5 insertions, 5 deletions
diff --git a/go.mod b/go.mod
index f7d6947..ab0ee37 100644
--- a/go.mod
+++ b/go.mod
@@ -5,12 +5,12 @@ module git.sr.ht/~shulhan/gotp
go 1.20
+require github.com/shuLhan/share v0.52.1-0.20240129164925-ec2b46e7780a
+
require (
- github.com/shuLhan/share v0.52.0
- golang.org/x/crypto v0.18.0
- golang.org/x/term v0.16.0
+ golang.org/x/crypto v0.18.0 // indirect
+ golang.org/x/sys v0.16.0 // indirect
+ golang.org/x/term v0.16.0 // indirect
)
-require golang.org/x/sys v0.16.0 // indirect
-
//replace github.com/shuLhan/share => ../share