Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

Encrypt And Decrypt Files On A Mac With GPG

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_