forked from aniani/vim
updated for version 7.4.509
Problem: Users are not aware their encryption is weak. Solution: Give a warning when prompting for the key.
This commit is contained in:
@@ -854,6 +854,7 @@ vim_main2(int argc UNUSED, char **argv UNUSED)
|
||||
#ifdef FEAT_CRYPT
|
||||
if (params.ask_for_key)
|
||||
{
|
||||
crypt_check_current_method();
|
||||
(void)crypt_get_key(TRUE, TRUE);
|
||||
TIME_MSG("getting crypt key");
|
||||
}
|
||||
|
Reference in New Issue
Block a user