OpenPGP Encrypt Folder Action

Automate file encryption

On my MacBook I use the GPG Suite in order to keep my sensitive data secure, including data which I upload to the cloud. Encrypting files is something I do frequently, so I put together a small automator folder action to automatically encrypt files dropped into a specific folder.

For this to work, you’ll need the GPG Suite installed, with a private key setup. You’ll also need to adjust the ‘–recipient’ option in the bash code listed below.

Once the file has been encrypted it deletes the unencrypted copy, so be sure to keep your key safe.

 

Read More