Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how best to encrypt a file
Date: Tue, 03 Jul 2018 11:27:44
Message-Id: 20180703112735.GP1970@ca.inter.net
In Reply to: Re: [gentoo-user] how best to encrypt a file by Alec Ten Harmsel
1 180703 Alec Ten Harmsel wrote:
2 > On Tue, Jul 03, 2018 at 05:47:22AM -0400, Philip Webb wrote:
3 >> I have a couple of small files which need to be encrypted :
4 >> one is simple text ( .txt ), the other a spreadsheet ( .ods ).
5 >> I haven't used encryption like this before : what do others use ?
6 > I have used `gpg' to do this before:
7 > # Encrypt with a passphrase
8 > gpg -c <file>
9 > # Decrypt
10 > gpg -d <file>.gpg
11 > I do have some files I keep encrypted locally
12 > that I use `gpg' to encrypt/decrypt, but with my personal key pair.
13 > For that, I use a vim plugin [1] that transparently decrypts to `/tmp',
14 > lets me edit and then saves back to the original file.
15 > This prevents the decrypted contents from ever being on my hard drive,
16 > as I have `/tmp' mounted as tmpfs.
17
18 Thanks, that's very helpful except that you forgot to append [1] (smile).
19
20 I don't need to encrypt the files locally,
21 but do need to when I create copies to up-load as off-site back-ups.
22
23 Does anyone else have a useful suggestion ?
24
25 --
26 ========================,,============================================
27 SUPPORT ___________//___, Philip Webb
28 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
29 TRANSIT `-O----------O---' purslowatchassdotutorontodotca

Replies

Subject Author
Re: [gentoo-user] how best to encrypt a file Samuraiii <samurai.no.dojo@×××××.com>
Re: [gentoo-user] how best to encrypt a file Alec Ten Harmsel <alec@××××××××××××××.com>