You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tempfork/sshtest/ssh
Brad Fitzpatrick 2f98197857 tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only
This fork golang.org/x/crypto/ssh (at upstream x/crypto git rev e47973b1c1)
into tailscale.com/tempfork/sshtest/ssh so we can hack up the client in weird
ways to simulate other SSH clients seen in the wild.

Two changes were made to the files when they were copied from x/crypto:

* internal/poly1305 imports were replaced by the non-internal version;
  no code changes otherwise. It didn't need the internal one.
* all decode-with-passphrase funcs were deleted, to avoid
  using the internal package x/crypto/ssh/internal/bcrypt_pbkdf

Then the tests passed.

Updates #14969

Change-Id: Ibf1abebfe608c75fef4da0255314f65e54ce5077
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
10 months ago
..
benchmark_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
buffer.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
buffer_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
certs.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
certs_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
channel.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
cipher.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
cipher_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
client.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
client_auth.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
client_auth_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
client_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
common.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
common_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
connection.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
doc.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
example_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
handshake.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
handshake_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
kex.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
kex_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
keys.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
keys_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
mac.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
mempipe_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
messages.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
messages_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
mux.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
mux_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
server.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
server_multi_auth_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
server_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
session.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
session_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
ssh_gss.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
ssh_gss_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
streamlocal.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
tcpip.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
tcpip_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
testdata_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
transport.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago
transport_test.go tempfork/sshtest/ssh: add fork of golang.org/x/crypto/ssh for testing only 10 months ago