blob: b60902ee5bb6c8d36a118e3473a5fded7adbd205 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
ENCRYPT_KEY=$1
if [[ -n "$ENCRYPT_KEY" ]]; then
# Decrypt Release key
openssl enc -aes-256-cbc -md sha256 -d -in release/keystore.cipher -out keystore.jks -k "${ENCRYPT_KEY}"
# Decrypt signing config
openssl enc -aes-256-cbc -md sha256 -d -in release/props.cipher -out keystore.properties -k "${ENCRYPT_KEY}"
else
echo "ENCRYPT_KEY is empty"
fi
|