vi a gpg file?

Kevin D. Clark kclark at CetaceanNetworks.com
Wed Jul 16 18:05:24 EDT 2003


Tom Buskey <tom at buskey.name> writes:

> How does that solve the encryption problem?

Ignoring the problem of memory being swapped by the kernel...

> I want to edit an encrypted file.  I don't want a cleartext version
> stored on disk.

vim -n encrypted_file   (you might need to add "-b" here, if the file
                         isn't ascii-armored)
:%!gpg --decrypt
Edit your file to your heart's content
:%!gpg --encrypt
:wq

That's the general idea.

Regards,

--kevin
-- 
Kevin D. Clark / Cetacean Networks / Portsmouth, N.H. (USA)
cetaceannetworks.com!kclark (GnuPG ID: B280F24E)
alumni.unh.edu!kdc




More information about the gnhlug-discuss mailing list