Chris Sutcliffe wrote:

> I encrypted a file using the blowfish option 'cryptmethod=1' prior to
> 'salt' being added.  I've updated my source repository this morning
> and have recompiled vim (with the 'salt' addition) and now the file
> won't unencrypt.  Is there  a way to recover the file, or is the
> contents lost?

Sorry, I forgot to send out a warning about this change.

You can recover your file by going back to the version you used before.
Just checkout from Mercurial with the right tag (one week ago should
work) and build Vim.

So you have to store your file unencrypted (or using cryptmethod set to
zero), build the new version and crypt it again.

I'm working on also crypting the swap file, so that no unencrypted text
ends up intentionally written to disk.  Swapping memory to disk might
still happen, but that's very difficult to recover.

-- 
hundred-and-one symptoms of being an internet addict:
202. You're amazed to find out Spam is a food.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui