Mosh wrote:

> Resending patch for current vim 72* dev branch (from cvs).
> --
>  Added functionality for encrypting files with blowfish and sha2.
>  Blowfish is from http://www.schneier.com/blowfish.html
>
>  Older vim encrypted files with VimCrypt~1 header will still be
>  readable by newer vim,
>  but newly written files will have VimCrypt~2 in the header.
>
>  Algorithm: key=sha2(password), blowfish in Outputfeedback mode,
>  with random 64bit init vector, so same file produces a completely
>  different output, every time it is saved.
>
> Changes:
>
> Minor changes to fileio.c misc2.c, and 4 new files blowfish.c
> blowfish.h sha2.c sha2.h
> Patch is based on  vim DEV branch as of  2010-03-15
>
> thanks,
> questions? mail me.
> mohsin.


Hi Mohsin

I tried to apply your patch but I get...

patch: **** malformed patch at line 29: cryptkey !=3D NULL)

All the equal sign are replaced with =3D in the message.
I removed the 3D thing.  But then I see that your email client
probably inserted some line breaks which mess up the patch:

patch: **** malformed patch at line 29: cryptkey != NULL)

  27 -                       || (filesize == CRYPT_MAGIC_LEN &&
cryptkey != NULL)
  28 +                       || (filesize == (magic_len + seed_len) &&
  29 cryptkey != NULL)
  30  # endif

Could you submit the patch again as a file attachment?

Thanks!
-- Dominique

-- 
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

To unsubscribe from this group, send email to 
vim_dev+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Raspunde prin e-mail lui