On Sun, May 9, 2010 at 11:49 PM, Patrick Texier <[email protected]> wrote: > On Sun, 9 May 2010 09:11:36 -0700, Mosh wrote: > >> Attaching just the updated sha256.c, added case for handling >> hash empty password means no password and no encryption. > > I have still the problem. > > You can find my executable gvim73.exe at > <http://patrick.texier.free.fr/gvim73.zip> > I added a extra-patch line in version.c: > > VIM - Vi IMproved 7.2 (2008 Aug 9, compiled May 9 2010 18:36:34) > MS-Windows 32-bit GUI version with OLE support > Included patches: 1-416 > Extra patches: strong encryption Vim 7.3 > > gvim -u NONE test.txt (7.2.416) > ibla bla<ESC> > :X > vim > vim > :wq > > gvim73 -u NONE test.txt > vim > vim > :wq > > After, you can not decrypt the file: > > gvim73 -u NONE test.txt > vim > vim > > And file remains encrypt.
Patrick, Do you mean the password doesn't work the second time, or that you cannot remove the password? The usage to remove password is to specify empty password twice and write the file (even though file is not modified), like this: I tried your http://patrick.texier.free.fr/gvim73.zip and it works as expected: c:\> echo 123 > test.txt c:\> gvim73 -u NONE test.txt :X Enter encryption key: vim Enter same key again: vim :wq .. [crypted]... c:\> gvim73 -u NONE test.txt Enter encryption key: vim :X password:<ENTER> password:<ENTER> :wq c:\> cat test.txt 123 > -- > Patrick Texier > > -- > 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 > -- 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
