encrypting text files in-place

Kevin Day thekevinday at gmail.com
Sun Jun 24 09:17:11 PDT 2007

On 6/23/07, Robert Connolly <robert at linuxfromscratch.org> wrote:
> 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

As far as the swap files this would be useful:

Kevin Day

More information about the hlfs-dev mailing list