blacknon / go-sshlib

easy ssh library for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unknown field 'PKCS11Ctx' in struct literal of type crypto11.Config

csakshaug opened this issue · comments

# github.com/blacknon/go-sshlib
pkg/mod/github.com/blacknon/go-sshlib@v0.1.10/pkcs11.go:45:3: unknown field 'PKCS11Ctx' in struct literal of type crypto11.Config

Check out

PKCS11Ctx: ctx,
and https://github.com/ThalesIgnite/crypto11/blob/master/crypto11.go#L228

Oh, this is throwing a pull request, but it seems that it has not been marged yet.
I'm rewriting go.mod to read the package I'm forking, but isn't it working?

csakshaug add line

replace github.com/ThalesIgnite/crypto11 v1.2.5 => github.com/blacknon/crypto11 v1.2.6

to Your go.mod
Look