You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
github.com/coreos/fleet/ssh has a nice known hosts check that is compatible with golang.org/x/crypto/ssh, but vendoring with Godeps creates a namespacing problem which prevents it from being used outside the fleet library fwict.
./ssh_config.go:36: cannot use check.Check (type func(string, net.Addr, "github.com/coreos/fleet/Godeps/_workspace/src/golang.org/x/crypto/ssh".PublicKey) error) as type func(string, net.Addr, "golang.org/x/crypto/ssh".PublicKey) error in assignment
It's possible I'm misusing this library somehow, but it seems like the Go vendor experiment that has been adopted in go 1.6 might enable this type of use.
The text was updated successfully, but these errors were encountered:
I think this issue is already resolved since fleet started using govendor instead of Godeps. As far as I tested it shortly, it's already possible to call methods of github.com/coreos/fleet/ssh, even outside of fleet.
So I'm closing it. Thanks!
github.com/coreos/fleet/ssh
has a nice known hosts check that is compatible withgolang.org/x/crypto/ssh
, but vendoring with Godeps creates a namespacing problem which prevents it from being used outside thefleet
library fwict.It's possible I'm misusing this library somehow, but it seems like the Go vendor experiment that has been adopted in go 1.6 might enable this type of use.
The text was updated successfully, but these errors were encountered: