Re: Editing and storing encrypted files

2000-09-10 Thread Joey Hess
Wouter Hanegraaff wrote: Convert all text to encrypted text before writing autocmd BufWritePre,FileWritePre*.gpg '[,']!gpg -e -r Wouter 2 /dev/null Or slightly more portable, s/-r Wouter/--default-recipient-self/ I like to add a -a too, YMMV. Nice hack to avoid the temp

Re: Editing and storing encrypted files

2000-09-07 Thread Peter Crystal
On Wed, Sep 06, 2000 at 11:17:40PM +0200, Philipp Schulte wrote: 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

Re: Editing and storing encrypted files

2000-09-07 Thread Ondrej Sury
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

Re: Editing and storing encrypted files

2000-09-07 Thread Tollef Fog Heen
* Wouter Hanegraaff | Is something like this available? $apt-cache show crypt++el Package: crypt++el Version: 2.87-2 Priority: extra Section: editors Maintainer: Christoph Martin [EMAIL PROTECTED] Depends: emacsen Recommends: mailcrypt Architecture: all FileName:

Re: Editing and storing encrypted files

2000-09-07 Thread Wouter Hanegraaff
Thanks all for the overwhelming response! I'll probably try cfs in the near future, as it seems a nice and elegant solution and it was recommended by a lot of people. But for a quick start, I'll use the vim auto commands, because I'm already used to vim and because it was so easy to setup

Re: Editing and storing encrypted files

2000-09-07 Thread Arthur Korn
Hello. I've played a bit with autocommands in vim (the first time ever I looked at them), and came up with this (shamelessly stolen from the default vimrc, there it handles *.bz2): augroup encrypted au! autocmd BufReadPre,FileReadPre*.gpg set bin autocmd

Re: Editing and storing encrypted files

2000-09-07 Thread Arthur Korn
Wouter Hanegraaff schrieb: Is something like this available? Yes vi. ;) Type what you want, then enter this in command mode: :%! gpg -ea The whole buffer is piped through gpg and encryptet to self (assuming you encrypt to self per default) and does ascii armoring (you don't need to do this).

Re: Editing and storing encrypted files

2000-09-07 Thread Henrique M Holschuh
On Thu, 07 Sep 2000, Arthur Korn wrote: Could somebody more familiar with vim than me please tell me (us) wheter this writes anything unencrypted onto disk? If not, shall I file a wishlist bug against vim-rt to include this? Is your swap file (not VIM's, the OS') in an encripted partition?

Re: Editing and storing encrypted files

2000-09-07 Thread Wouter Hanegraaff
On Thu, Sep 07, 2000 at 06:11:28PM +0200, Arthur Korn wrote: It seems to work for me, and the .swp file is _encrypted_, no need to disable them. The .swp file is definitely not encrypted. Worse, it's not possible to disable using a swapfile when a vim session is already started: :set uc=0 as

Re: Editing and storing encrypted files

2000-09-07 Thread Wouter Hanegraaff
On Thu, Sep 07, 2000 at 07:19:11PM +0200, Wouter Hanegraaff wrote: On Thu, Sep 07, 2000 at 06:11:28PM +0200, Arthur Korn wrote: It seems to work for me, and the .swp file is _encrypted_, no need to disable them. The .swp file is definitely not encrypted. Worse, it's not possible to

Editing and storing encrypted files

2000-09-06 Thread Wouter Hanegraaff
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

Re: Editing and storing encrypted files

2000-09-06 Thread Philipp Schulte
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

Re: Editing and storing encrypted files

2000-09-06 Thread Jon Leonard
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

Re: Editing and storing encrypted files

2000-09-06 Thread Bradley M Alexander
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

Re: Editing and storing encrypted files

2000-09-06 Thread Jim Breton
On Wed, Sep 06, 2000 at 10:22:44PM +0200, Wouter Hanegraaff wrote: I have some files that I would like to store encrypted. Of course I can See also PPDD: http://linux01.gwdg.de/~alatham/ppdd.html

Re: Editing and storing encrypted files

2000-09-06 Thread Herbert Ho
how about encrypted loopback? just need the crypto/int'l patch for the kernel. no other software. but then again it doesn't use gpg there's a howto for it on linuxdoc.org. herb On Wed, Sep 06, 2000 at 10:22:44PM +0200, Wouter Hanegraaff wrote: Hi, I have some files that I would like

Re: Editing and storing encrypted files

2000-09-06 Thread Oliver Elphick
Wouter Hanegraaff wrote: 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