summaryrefslogtreecommitdiff
path: root/scripts/setup_publish_keys.sh
diff options
context:
space:
mode:
authorjkoan <jkoan@users.noreply.github.com>2021-06-22 09:28:27 +0200
committerGitHub <noreply@github.com>2021-06-22 09:28:27 +0200
commit39b6e79aa9037848da696b12393ecb2e57eaf625 (patch)
treef90d2cdc3f6df8a2e9356d68a1a3ea35e6d06323 /scripts/setup_publish_keys.sh
parent82881fdf0cbb7509401ea626de892b0e18d024eb (diff)
parentea5a86beafcb52f54544e079ef7e4f8ac8b070f4 (diff)
downloadnavit-PR_830.tar.gz
Merge branch 'trunk' into PR_830PR_830
Diffstat (limited to 'scripts/setup_publish_keys.sh')
-rwxr-xr-xscripts/setup_publish_keys.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/setup_publish_keys.sh b/scripts/setup_publish_keys.sh
index 2b1331d8e..b363d9d32 100755
--- a/scripts/setup_publish_keys.sh
+++ b/scripts/setup_publish_keys.sh
@@ -7,8 +7,7 @@ if [[ -n $GOOGLE_KEY ]]; then
fi
if [[ -n $KEY ]]; then
wget "https://github.com/navit-gps/infrastructure-blackbox/raw/master/keyrings/keystore.gpg"
- openssl aes-256-cbc -d -in keystore.gpg -md md5 -k $KEY > ~/.keystore
- keytool -importkeystore -srcstorepass "$STORE_PASS" -deststorepass "$STORE_PASS" -srckeystore ~/.keystore -destkeystore ~/.keystore -deststoretype pkcs12
- keytool -keypasswd -alias $KEY_ALIAS -storepass $STORE_PASS -new $KEY_PASS -keystore ~/.keystore
- rm keystore.gpg
+ openssl aes-256-cbc -d -in keystore.gpg -md md5 -k $KEY > keystore
+ keytool -importkeystore -srcstorepass "$STORE_PASS" -deststorepass "$STORE_PASS" -srckeystore keystore -destkeystore ~/.keystore -deststoretype pkcs12
+ rm keystore.gpg keystore
fi