On Wed, Sep 06, 2000 at 10:22:44PM +0200, Wouter Hanegraaff wrote: > Hi, > > I have some files that I would like to store encrypted. Of course I can > just type them in, encrypt them using gpg and delete the original, but > that seems to be a bit of a kludge. It would mean the file is at some > time readable unencrypted (after saving in the editor), and forgetting > to turn off the backup file option in the editor when changing the file.
I solved this problem with a little script: #!/bin/bash gpg .dev.gpg > /dev/null emacs .dev rm .dev.gpg gpg -r "Philipp Schulte" -e .dev rm .dev rm .dev~ .dev is my encrypted file. Phil