go-sshlib icon indicating copy to clipboard operation
go-sshlib copied to clipboard

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

Open csakshaug opened this issue 3 years ago • 2 comments

# github.com/blacknon/go-sshlib
pkg/mod/github.com/blacknon/[email protected]/pkcs11.go:45:3: unknown field 'PKCS11Ctx' in struct literal of type crypto11.Config

Check out https://github.com/blacknon/go-sshlib/blob/bc219a9a82a255ad100419c6f4e8eaad7ffbe2cf/pkcs11.go#L45 and https://github.com/ThalesIgnite/crypto11/blob/master/crypto11.go#L228

csakshaug avatar Jun 24 '22 12:06 csakshaug

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?

blacknon avatar Jun 28 '22 14:06 blacknon

csakshaug add line

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

to Your go.mod Look

abakum avatar Nov 27 '23 14:11 abakum