Re: Bug: writing encrypted file, while asked for password, destroys contents
- Christian Brabandt wrote:
> On Do, 15 Aug 2013, Bram Moolenaar wrote:Thanks, I'll look into it.
> > Christian Brabandt wrote:
> > > Wouldn't it be a good idea, to have the file set readonly for as long it
> > > hasn't been encrypted (e.g. the current windows behaviour)?
> > You mean, until it has been decrypted. That makes sense.
> > Actually, when a file is encrypted and the user just hits enter and the
> > prompt for the key, it should also be marked as readonly.
> Err, yes that was what I meant.
> I think this patch does it:
Your "diff" lost a "d"....
From "know your smileys":
|-( Contact lenses, but has lost them
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.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
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.