This sortof works: --- vi -n :%! gpg -d foo.gpg edit...
:%! gpg -c --cipher-algo AES256 -o foo.gpg :q! --- With '-n' there's no swap file, and no file locking. So don't open the same file with two editors at the same time, and changes are lost if there's a crash. I say 'sortof' works because: gpg: AES256 encrypted data gpg: encrypted with 1 passphrase is added to the top of the file, because these lines are outputted by gpg. robert
pgpzT67sJ5kEz.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
