jamessan / vim-gnupg

This script implements transparent editing of gpg encrypted files.
http://www.vim.org/scripts/script.php?script_id=3645
724 stars 72 forks source link

Vim doesn't ask for the password everytime I open a GPG encrypted file. #87

Closed sibinpthomas closed 6 years ago

sibinpthomas commented 6 years ago

I am using this plugin with the variable g:GPGPreferSymmetric set.

I save and close the .gpg file with a password and when I reopen it, it is decrypted automatically without prompting me to enter the password. How do I ensure that the password is asked everytime I open the file?

My setup -

Question posed on SO - https://stackoverflow.com/questions/48709340/how-do-i-make-vim-to-ask-for-the-password-everytime-i-open-a-gpg-encrypted-file

jamessan commented 6 years ago

Duplicate of #85