Monday, June 17, 2019

Re: encryption with vim

Mathieu Roux wrote:

> I use encryption with vim.
> I just do :X
> and then i write 2 times my password.
> After my file is crypted.
>
> 1) What about now, if i want to cancel encryption (i don't want
> password anymore).
> If i try set key=
> it does not work: again the same password when i open vim again.

You need to write the file:
:set key=
:write

> 2) And what about now if i want to change password?
> If i do :X in the open file, and enter 2 times my new password, it is
> the same... when i close the file and open it again, only the old
> password is ok.

Sounds like you are missing the write here as well.

--
hundred-and-one symptoms of being an internet addict:
216. Your pet rock leaves home.

/// Bram Moolenaar -- Bram@Moolenaar.net -- 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_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/201906171838.x5HIcbHL016821%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

No comments: