encrypting text files in-place

Robert Connolly robert at linuxfromscratch.org
Sat Jun 23 19:59:06 PDT 2007


Hello. Do any of you know of a portable way to safely edit encrypted text 
files transparently. Like 'cat foo.gpg | gpg -v -d | vim - | 
gpg -v -c --output foo.gpg'... except that vim doesn't write to stdout, and 
vim creates clear text .swap files.

With either openssl or gnupg, piped to an editor which doesn't create swap 
files, and prints to stdout. Portable in that it's possible to decrypt the 
file on a foreign system (bsd/windows), if needed, and without root.

robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20070623/d41f617e/attachment.sig>


More information about the hlfs-dev mailing list