diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-17 20:32:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-17 20:32:55 +0200 |
commit | 0bbabe80800bd80b245b6e8b2fff4d3a908c5ded (patch) | |
tree | 66db6ba92e5df873e703f7982988985005c20fdd /runtime/doc/editing.txt | |
parent | 823a165119fccd8ace6b8d37619ef68b75ecd44f (diff) | |
download | vim-git-0bbabe80800bd80b245b6e8b2fff4d3a908c5ded.tar.gz |
Fixed encryption big/little endian test.
Use uint32_t to avoid crash on 64 bit machines.
Added error numbers for Blowfish errors.
Fixed the tiny version not building.
Diffstat (limited to 'runtime/doc/editing.txt')
-rw-r--r-- | runtime/doc/editing.txt | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 98d4d633e..1c4c1980e 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1366,10 +1366,18 @@ this before writing the file. When reading an encrypted file it will be set automatically to the method used when that file was written. You can change 'cryptmethod' before writing that file to change the method. -When reading a file that has been encrypted and this option is not empty, it -will be used for decryption. If the value is empty, you will be prompted to -enter the key. If you don't enter a key, the file is edited without being -decrypted. + *E817* *E818* *E819* +When encryption does not work properly, you would be able to write your text +to a file and never be able to read it back. Therefore a test is performed to +check if the encryption works as expected. If you get one of these errors +don't write the file encrypted! You need to rebuild the Vim binary to fix +this. + +When reading a file that has been encrypted and the 'key' option is not empty, +it will be used for decryption. If the value is empty, you will be prompted +to enter the key. If you don't enter a key, or you enter the wrong key, the +file is edited without being decrypted. There is no warning about using the +wrong key (this makes brute force methods to find the key more difficult). If want to start reading a file that uses a different key, set the 'key' option to an empty string, so that Vim will prompt for a new one. Don't use |