From abf02bc7d79dfb7b0bbcd404ebecb202cff2a18e Mon Sep 17 00:00:00 2001 From: lhchavez Date: Sun, 6 Dec 2020 11:55:04 -0800 Subject: Add `NewCredentialSSHKeyFromSigner` (#706) This change adds `NewCredentialSSHKeyFromSigner`, which allows idiomatic use of SSH keys from Go. This also lets us spin off an SSH server in the tests. --- testdata/TestGitRepository.git/objects/info/commit-graph | Bin 0 -> 2296 bytes testdata/TestGitRepository.git/objects/info/packs | 2 ++ .../pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.bitmap | Bin 0 -> 1334 bytes .../pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.idx | Bin 0 -> 3032 bytes .../pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.pack | Bin 0 -> 6072 bytes 5 files changed, 2 insertions(+) create mode 100644 testdata/TestGitRepository.git/objects/info/commit-graph create mode 100644 testdata/TestGitRepository.git/objects/info/packs create mode 100644 testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.bitmap create mode 100644 testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.idx create mode 100644 testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.pack (limited to 'testdata/TestGitRepository.git/objects') diff --git a/testdata/TestGitRepository.git/objects/info/commit-graph b/testdata/TestGitRepository.git/objects/info/commit-graph new file mode 100644 index 0000000..013e2f0 Binary files /dev/null and b/testdata/TestGitRepository.git/objects/info/commit-graph differ diff --git a/testdata/TestGitRepository.git/objects/info/packs b/testdata/TestGitRepository.git/objects/info/packs new file mode 100644 index 0000000..d876b38 --- /dev/null +++ b/testdata/TestGitRepository.git/objects/info/packs @@ -0,0 +1,2 @@ +P pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.pack + diff --git a/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.bitmap b/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.bitmap new file mode 100644 index 0000000..df3442c Binary files /dev/null and b/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.bitmap differ diff --git a/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.idx b/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.idx new file mode 100644 index 0000000..aff5c2e Binary files /dev/null and b/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.idx differ diff --git a/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.pack b/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.pack new file mode 100644 index 0000000..a3a1206 Binary files /dev/null and b/testdata/TestGitRepository.git/objects/pack/pack-ccace4e169a0858c13d9ae781a91d76fc33769b8.pack differ -- cgit v1.2.3