Skip to content

Instantly share code, notes, and snippets.

@victorbruce
Created October 19, 2021 04:23
Show Gist options
  • Save victorbruce/3ecc76af197095071877577fc5614258 to your computer and use it in GitHub Desktop.
Save victorbruce/3ecc76af197095071877577fc5614258 to your computer and use it in GitHub Desktop.
A script to decrypt encrypted files
#!/bin/sh
# Decrypt the file
# --batch to prevent interactive command
# --yes to assume "yes" for questions
gpg --quiet --batch --yes --decrypt --passphrase="$KEYS_KEYSTORE_PASSPHRASE" \
--output android/app/release-key.keystore android/app/release-key.keystore.gpg
gpg --quiet --batch --yes --decrypt --passphrase="$KEYS_KEYSTORE_PASSPHRASE" \
--output fastlane/keys.properties fastlane/keys.properties.gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment