blacknon / go-sshlib

easy ssh library for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot download module

renard opened this issue · comments

go-sshlib cannot be downloaded because p11.Module uses undefined Destroy function:

 go get -v  github.com/blacknon/go-sshlib
github.com/blacknon/go-sshlib
# github.com/blacknon/go-sshlib
go/pkg/mod/github.com/blacknon/go-sshlib@v0.1.3/auth.go:220:8: module.Destroy undefined (type p11.Module has no field or method Destroy)
go version
go version go1.16 darwin/amd64

I'm replacing the library I'm using (github.com/miekg/pkcs11) because the pull request hasn't passed yet, but it doesn't seem to work.

Please install with the following command.

mkdir -p $ GOPATH / src / github.com/blacknon && cd $ _
git clone git@github.com:blacknon/go-sshlib.git
cd go-sshlib
go install