| Jeff Abrahamson on Wed, 18 Dec 2002 09:30:33 -0500 |
|
I have a file I want to keep encrypted, but editing it with emacs
would be nice. I have read that crypt.el should do the trick, but it
(1) seems outdated, as it seems to want to use crypt, and (2) doesn't
seem to work for me anyway.
Does anyone keep encrypted files and have a one-step way to view
and/or edit them?
Viewing is easy enough, something like the following (untested) bit of
bash:
emore() { gpg --decrypt $1 | less; }
I'd like such seamless editing without being forced to hit the disk
with named, decrypted files, a la
eedit() { gpg --decrypt $1 --output $scratch; emacsclient \
$scratch; gpg --encrypt $scratch --output $1; }
--
Jeff
Jeff Abrahamson <http://www.purple.com/jeff/>
GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B
Attachment:
pgpeHdNytyIYf.pgp
|
|