aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/install_key.sh
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-04-26 14:27:39 +0200
committerGitHub <noreply@github.com>2017-04-26 14:27:39 +0200
commitfd361169707a184f6c94f9e4a87c4e656f41f270 (patch)
treef5130ecbf074ad7af2b8c5847bdd0c4d64c35174 /.travis/install_key.sh
parent9e4f992d9633dd1ac8cc0b5bcd92b377190a9a03 (diff)
parent63bbba6804c1ee5f52897aaedb8e58574b056bb9 (diff)
downloadgo-git-fd361169707a184f6c94f9e4a87c4e656f41f270.tar.gz
Merge pull request #356 from mcuadros/ssh-default-auth
transport: ssh, new DefaultAuthBuilder variable
Diffstat (limited to '.travis/install_key.sh')
-rwxr-xr-x[-rw-r--r--].travis/install_key.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/.travis/install_key.sh b/.travis/install_key.sh
index b035092..f2df1ab 100644..100755
--- a/.travis/install_key.sh
+++ b/.travis/install_key.sh
@@ -1,3 +1,11 @@
-openssl aes-256-cbc -K $encrypted_1477e58fe67a_key -iv $encrypted_1477e58fe67a_iv -in .travis/deploy.pem.enc -out .travis/deploy.pem -d
+#!/bin/bash
+export SSH_TEST_PRIVATE_KEY=$PWD/.travis/deploy.pem
+
+openssl aes-256-cbc \
+ -K $encrypted_1477e58fe67a_key \
+ -iv $encrypted_1477e58fe67a_iv \
+ -in .travis/deploy.pem.enc \
+ -out .travis/deploy.pem -d
+
chmod 600 .travis/deploy.pem
-ssh-add .travis/deploy.pem
+