From d5614f97f2387a6a4681205e365a955ec3afd54d Mon Sep 17 00:00:00 2001 From: Aaron Ogle <aaron@geekgonecrazy.com> Date: Mon, 16 Jan 2017 16:41:32 -0600 Subject: [PATCH] change file permission on key --- .travis/snap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis/snap.sh b/.travis/snap.sh index 86969dd5e3b..b3830a4a4d8 100755 --- a/.travis/snap.sh +++ b/.travis/snap.sh @@ -23,6 +23,9 @@ cd $PWD/.snapcraft # Decrypt key openssl aes-256-cbc -K $encrypted_f5c8ae370556_key -iv $encrypted_f5c8ae370556_iv -in launchpadkey.enc -out launchpadkey -d +# Change permissions +chmod 0600 launchpadkey + # We need some meta data so it'll actually commit. This could be useful to have for debugging later. echo "Tag: $TRAVIS_TAG \r\nBranch: $TRAVIS_BRANCH\r\nBuild: $TRAVIS_BUILD_NUMBER\r\nCommit: $TRAVIS_COMMIT" > buildinfo -- GitLab