Skip to content

Instantly share code, notes, and snippets.

@igor-brishkoski
Created January 2, 2018 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igor-brishkoski/0a208363142645a4b9054889ce533807 to your computer and use it in GitHub Desktop.
Save igor-brishkoski/0a208363142645a4b9054889ce533807 to your computer and use it in GitHub Desktop.
Decrypt the encrypted file
https://superuser.com/questions/370388/simple-built-in-way-to-encrypt-and-decrypt-a-file-on-a-mac-via-command-line
# decrypt binary file.enc
openssl enc -d -aes-256-cbc -in secrets.properties.enc -out secrets.properties
# decrypt base64-encoded version
openssl enc -d -aes-256-cbc -a -in secrets.properties.enc -out secrets.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment