diff options
| author | Shulhan <ms@kilabit.info> | 2026-03-27 06:29:41 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-03-27 06:31:33 +0700 |
| commit | 5290db947e7971cadc7464019e1cbc80082a572a (patch) | |
| tree | 722c2f533f3499d8f5302f6e9307523fc133dcdf /go.mod | |
| parent | 83a162bfa6e6eba78ae439e193682c19b9cd4744 (diff) | |
| download | awwan-dev.tar.xz | |
This fix the issue on play command where remote server only has one
public key in the known_hosts file with the following error:
initSSHClient: NewClientInteractive: dialWithSigners: \
ssh: handshake failed: knownhosts: key mismatch with known_hosts \
files [/home/ms/.ssh/known_hosts]
This changes require replacing golang.org/x/crypto module with our
own forks that implement the fix on the [ssh/knownhosts] package.
Diffstat (limited to 'go.mod')
| -rw-r--r-- | go.mod | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -3,11 +3,11 @@ module git.sr.ht/~shulhan/awwan -go 1.25.0 +go 1.26.0 require ( git.sr.ht/~shulhan/ciigo v0.16.0 - git.sr.ht/~shulhan/pakakeh.go v0.61.1-0.20260215055354-3f780768650c + git.sr.ht/~shulhan/pakakeh.go v0.61.1-0.20260326231819-df7fcb9796d3 github.com/evanw/esbuild v0.27.3 ) @@ -17,12 +17,12 @@ require ( github.com/yuin/goldmark v1.7.16 // indirect github.com/yuin/goldmark-meta v1.1.0 // indirect golang.org/x/crypto v0.48.0 // indirect - golang.org/x/exp v0.0.0-20260209203927-2842357ff358 // indirect + golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa // indirect golang.org/x/mod v0.33.0 // indirect - golang.org/x/net v0.50.0 // indirect - golang.org/x/sync v0.19.0 // indirect - golang.org/x/sys v0.41.0 // indirect - golang.org/x/term v0.40.0 // indirect + golang.org/x/net v0.51.0 // indirect + golang.org/x/sync v0.20.0 // indirect + golang.org/x/sys v0.42.0 // indirect + golang.org/x/term v0.41.0 // indirect golang.org/x/tools v0.42.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) @@ -30,3 +30,5 @@ require ( //replace git.sr.ht/~shulhan/pakakeh.go => ../pakakeh.go //replace git.sr.ht/~shulhan/ciigo => ../ciigo + +replace golang.org/x/crypto => git.sr.ht/~shulhan/go-x-crypto v0.49.1-0.20260326231004-e6291d138282 |
