home
NOTE: Under Construction - I'm in the middle of upgrading my site and lots of stuff is kinda broken. Please forgive the mess.

Encrypt And Decrypt Files On A Mac With GPG

December 2021

To encrypt a file, use:

Code
/usr/local/bin/gpg --armor --encrypt --yes -r self@localhost.localdomain {FILE_PATH}

To decrypt a file use:

Code
/usr/local/bin/gpg --decrypt {FILE_PATH}

_NOTE: I'm not sure if gpg is installed by default or if it's something from homebrew_

═══ § ═══