On Tue, Jul 03, 2018 at 05:47:22AM -0400, Philip Webb wrote:
> I have a couple of small files which need to be encrypted :
> one is simple text ( .txt ), the other a spreadsheet ( .ods ).
> 
> I haven't used encryption like this before : what do others use ?

I have used `gpg' to do this before:

    # Encrypt with a passphrase
    gpg -c <file>

    # Decrypt
    gpg -d <file>.gpg

I do have some files I keep encrypted locally that I use `gpg' to
encrypt/decrypt, but with my personal key pair. For that, I use a vim
plugin[1] that transparently decrypts to `/tmp', lets me edit, and then
saves back to the original file. This prevents the decrypted contents
from ever being on my hard drive, as I have `/tmp' mounted as tmpfs.

Hope this helps,

Alec

Reply via email to