Mercurial > vim
comparison runtime/doc/options.txt @ 15192:690da0a83419 v8.1.0606
patch 8.1.0606: 'cryptmethod' defaults to a very old method
commit https://github.com/vim/vim/commit/a86187b9cd529754ad85cd621169876317eb3a69
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 16 18:20:00 2018 +0100
patch 8.1.0606: 'cryptmethod' defaults to a very old method
Problem: 'cryptmethod' defaults to a very old method.
Solution: Default to "blowfish2", it is now widely available.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Dec 2018 18:30:05 +0100 |
parents | bc1a8d21c811 |
children | 8b334e4cb97f |
comparison
equal
deleted
inserted
replaced
15191:bc38021f1156 | 15192:690da0a83419 |
---|---|
2368 variables overrule the terminal size values obtained | 2368 variables overrule the terminal size values obtained |
2369 with system specific functions. | 2369 with system specific functions. |
2370 | 2370 |
2371 | 2371 |
2372 *'cryptmethod'* *'cm'* | 2372 *'cryptmethod'* *'cm'* |
2373 'cryptmethod' 'cm' string (default "zip") | 2373 'cryptmethod' 'cm' string (default "blowfish2") |
2374 global or local to buffer |global-local| | 2374 global or local to buffer |global-local| |
2375 {not in Vi} | 2375 {not in Vi} |
2376 Method used for encryption when the buffer is written to a file: | 2376 Method used for encryption when the buffer is written to a file: |
2377 *pkzip* | 2377 *pkzip* |
2378 zip PkZip compatible method. A weak kind of encryption. | 2378 zip PkZip compatible method. A weak kind of encryption. |
2399 Changing 'cryptmethod' does not mark the file as modified, you have to | 2399 Changing 'cryptmethod' does not mark the file as modified, you have to |
2400 explicitly write it, you don't get a warning unless there are other | 2400 explicitly write it, you don't get a warning unless there are other |
2401 modifications. Also see |:X|. | 2401 modifications. Also see |:X|. |
2402 | 2402 |
2403 When setting the global value to an empty string, it will end up with | 2403 When setting the global value to an empty string, it will end up with |
2404 the value "zip". When setting the local value to an empty string the | 2404 the value "blowfish2". When setting the local value to an empty |
2405 buffer will use the global value. | 2405 string the buffer will use the global value. |
2406 | 2406 |
2407 When a new encryption method is added in a later version of Vim, and | 2407 When a new encryption method is added in a later version of Vim, and |
2408 the current version does not recognize it, you will get *E821* . | 2408 the current version does not recognize it, you will get *E821* . |
2409 You need to edit this file with the later version of Vim. | 2409 You need to edit this file with the later version of Vim. |
2410 | 2410 |