On July 3, 2018 7:33:27 AM CDT, Samuraiii <samurai.no.d...@gmail.com> wrote: >On 3.7.2018 13:27, Philip Webb wrote: >> 180703 Alec Ten Harmsel wrote: >>> 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. >> Thanks, that's very helpful except that you forgot to append [1] >(smile). >> >> I don't need to encrypt the files locally, >> but do need to when I create copies to up-load as off-site back-ups. >> >> Does anyone else have a useful suggestion ? >> >Hi, > >there is "reverse" encfs if there are more files to encrypt for backup. > >encfs --reverse ~/dir /tmp/dir > >It will encrypt original files on fly as you read /tmp/dir. > >I used this before (now I backup with duplicity). > >S > >PS: link to arch page with some more info > >https://wiki.archlinux.org/index.php/EncFS#Encrypted_backup I'd recommend taking a look at borg backup. I've used it for remote backups over ssh and the deduplication and automatic encryption is aweaome. Maybe a bit overkill, but I believe in encryptes backups.
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.