summaryrefslogtreecommitdiffstats
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-21 15:36:08 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-21 15:36:08 +0200
commitf50a2533d0e1dfc4c402d44fc387e0efa41f0ec4 (patch)
treeb49f3094f8f8ff8425ba7b2717af33d841299843 /runtime/doc/options.txt
parent6019078ece008a53d6c4abfd822eeaf29b241b2d (diff)
A few more changes for encryption. Add test that encrypted file can be read.
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt17
1 files changed, 13 insertions, 4 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c07549d079..3493a14bbc 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2056,12 +2056,21 @@ A jump table for the options with a short description can be found at |Q_op|.
Method used for encryption when the buffer is written to a file:
*pkzip*
0 PkZip compatible method. A weak kind of encryption.
- backwards compatible with Vim 7.2 and older.
+ Backwards compatible with Vim 7.2 and older.
*blowfish*
- 1 Blowfish method. Strong encryption. Not compatible
- with Vim 7.2 and older.
+ 1 Blowfish method. Strong encryption. Requires Vim 7.3
+ or later, files can NOT be read by Vim 7.2 and older.
+ This adds a "seed" to the file, every time you write
+ the file the encrypted bytes will be different.
+
When reading an encrypted file 'cryptmethod' will be set automatically
- to detected method for the file being read.
+ to the detected method of the file being read. Thus if you write it
+ without changing 'cryptmethod' the same method will be used.
+ Changing 'cryptmethod' does not mark the file as modified, you have to
+ explicitly write it when not making modifications.
+ Also see |:X|.
+ When a new encryption method is added in a later version of Vim, and
+ the current version does not recognize it, you will get *E821* .
*'cscopepathcomp'* *'cspc'*