[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: encrypting a single file



On Tue, Nov 05, 2002 at 10:16:33AM +0100, Michael Naumann wrote:
> On Tuesday 05 November 2002 01:33, Osamu Aoki wrote:
> > On Mon, Nov 04, 2002 at 07:01:41PM -0500, Levi Waldron wrote:
> > > On November 4, 2002 06:03 pm, Osamu Aoki wrote:
> > > > Here is the script for VIM which automate GNUPG.
> > >
> > > Thank you for all the advice!  I went with the GPG in vim - since it's
> > > easy as well, I figured I might as well use the strong encryption.
> > >
> > > That's cool that vim also has a built-in encryption feature.
> >
> > No... not quite.
> >
> > VIM does not have build-in encryption feature.  You need gnupg package
> > to offer it.  Any editor with some smart scripting support shall be able to
> > do this (emacs, of course.  I suppose mcedit in mc should be able to do
> > this too.)
> 
> Well, VIM *has* buid-in encryption out of the box.
> You do not need any other package installed. And as far as I can tell,
> this is true for all platforms, vim runs on.
> 
> Start vim and read all about it with
> :help -x
> :help encryption

The algorithm doesn't look all that secure: a four character key is
breakable in one hour on a P133.  I'd just use Osamu's script with GPG
and a real algorithm like RC5 or Blowfish.

-rob

Attachment: pgp_e5jFxouC_.pgp
Description: PGP signature


Reply to: