aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-07-24 13:01:36 +0700
committerShulhan <ms@kilabit.info>2023-10-06 10:03:04 +0700
commit8a1a81a6428ae970569d9c2a506acf90deb2e0c4 (patch)
treed3e82e19718962181b51572a0395ed6b1cef2222 /go.mod
parent479e33040d93e582aa10f19c299b2633f2270d24 (diff)
downloadgotp-8a1a81a6428ae970569d9c2a506acf90deb2e0c4.tar.xz
all: unfold private key path before reading
By unfolding, user can set the path to private key using "~" that points to their home. This make the key can works across home directory, in case user have multiple homes (Linux and macOS have different home path and maybe user name, but both can use "~" as substitution for $HOME)
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 39f2ec5..b58dbdf 100644
--- a/go.mod
+++ b/go.mod
@@ -3,14 +3,14 @@
module git.sr.ht/~shulhan/gotp
-go 1.19
+go 1.20
require (
- github.com/shuLhan/share v0.46.0
- golang.org/x/crypto v0.9.0
- golang.org/x/term v0.8.0
+ github.com/shuLhan/share v0.50.0
+ golang.org/x/crypto v0.13.0
+ golang.org/x/term v0.12.0
)
-require golang.org/x/sys v0.8.0 // indirect
+require golang.org/x/sys v0.12.0 // indirect
//replace github.com/shuLhan/share => ../share