This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
if [ "${DCDEVSPACE:-0}" == "1" ]; then | |
# Create a temporary directory for certificates | |
CERT_DIR=$(mktemp -d /tmp/android-certs.XXXXXX) | |
# Define the subject details for the certificates | |
read -p "Country : " C | |
read -p "State : " ST | |
read -p "Locality : " L | |
read -p "Organization Name : " O |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
# Ensure necessary environment variables are set | |
: "${BUCKET_NAME:?}" | |
: "${KEY_ENCRYPTION_PASSWORD:?}" | |
: "${BKEY_ID:?}" | |
: "${BAPP_KEY:?}" | |
# Directory for storing certificates |