diff options
| author | Shulhan <ms@kilabit.info> | 2024-01-30 02:01:41 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-01-30 02:01:41 +0700 |
| commit | 77ba620765a5682e05169be8b8740df925f612c8 (patch) | |
| tree | e33f5273e5d124afb020040c4466f7a93c5cb3f7 /go.mod | |
| parent | a6f27c3faea924a509915ab679511033893b773f (diff) | |
| download | gotp-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.mod | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |
