mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-14 06:57:31 +00:00
ssh,tempfork/gliderlabs/ssh: replace github.com/tailscale/golang-x-crypto/ssh with golang.org/x/crypto/ssh
The upstream crypto package now supports sending banners at any time during authentication, so the Tailscale fork of crypto/ssh is no longer necessary. github.com/tailscale/golang-x-crypto is still needed for some custom ACME autocert functionality. tempfork/gliderlabs is still necessary because of a few other customizations, mostly related to TTY handling. Updates #8593 Signed-off-by: Percy Wegmann <percy@tailscale.com>
This commit is contained in:

committed by
Percy Wegmann

parent
3abfbf50ae
commit
46fd4e58a2
@@ -31,7 +31,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
gossh "github.com/tailscale/golang-x-crypto/ssh"
|
||||
gossh "golang.org/x/crypto/ssh"
|
||||
"golang.org/x/net/http2"
|
||||
"golang.org/x/net/http2/h2c"
|
||||
"tailscale.com/ipn/ipnlocal"
|
||||
@@ -805,7 +805,8 @@ func TestSSHAuthFlow(t *testing.T) {
|
||||
state: &localState{
|
||||
sshEnabled: true,
|
||||
},
|
||||
authErr: true,
|
||||
authErr: true,
|
||||
wantBanners: []string{"tailscale: failed to evaluate SSH policy"},
|
||||
},
|
||||
{
|
||||
name: "accept",
|
||||
|
Reference in New Issue
Block a user