Skip to content

Commit 71c6881

Browse files
inline encryption label
1 parent 7f86de7 commit 71c6881

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ rebel.xml
2828
target
2929
out
3030
build
31+
32+
.travis/deploy_key

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,3 @@ notifications:
4040
4141
on_success: change
4242
on_failure: always
43-
44-
env:
45-
global:
46-
- ENCRYPTION_LABEL: "7a1322f4b03c"

.travis/deploy.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,7 @@ then
6464
git commit -m "[Travis-CI] next snapshot version"
6565

6666
# Get the deploy key by using Travis's stored variables to decrypt deploy_key.enc
67-
ENCRYPTED_KEY_VAR="encrypted_${ENCRYPTION_LABEL}_key"
68-
ENCRYPTED_IV_VAR="encrypted_${ENCRYPTION_LABEL}_iv"
69-
ENCRYPTED_KEY=${!ENCRYPTED_KEY_VAR}
70-
ENCRYPTED_IV=${!ENCRYPTED_IV_VAR}
71-
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in .travis/deploy_key.enc -out .travis/deploy_key -d
67+
openssl aes-256-cbc -K $encrypted_7a1322f4b03c_key -iv $encrypted_7a1322f4b03c_iv -in .travis/deploy_key.enc -out .travis/deploy_key -d
7268
chmod 600 .travis/deploy_key
7369
eval `ssh-agent -s`
7470
ssh-add .travis/deploy_key

0 commit comments

Comments
 (0)