gnupg is a Vim plugin for transparent editing of gpg encrypted files.
This script implements transparent editing of gpg symmetric and asymmetric encrypted files. The filename must have a ".gpg", ".pgp" or ".asc" suffix. When opening such a file the content is decrypted, when opening a new file the script will ask for the recipients of the encrypted file. The file content will be encrypted to all recipients or the script asks for a passphrase before it is written. The script turns off viminfo and swapfile to increase security.
Opens a scratch buffer to change the list of recipients. Recipients that
are unknown (not in your public keyring) are highlighted and have
a prepended "!". Closing the buffer makes the changes permanent.
Prints the list of recipients.
Opens a scratch buffer to change the options for encryption (symmetric,asymmetric, signing). Closing the buffer makes the changes permanent. WARNING: There is no check of the entered options, so you need to know what you are doing.
Prints the list of options.
If set to 0 a possible available gpg-agent won't be used. Defaults to 1.
If set to 1 symmetric encryption is preferred for new files. Defaults to 0.
If set to 1 armored data is preferred for new files. Defaults to 0.
Copy the gnupg.vim file to the $HOME/.vim/plugin directory. Refer to ':help add-plugin', ':help add-global-plugin' and ':help runtimepath' for more details about Vim plugins.
What's New in This Release:
· changed parsin to work with gpg2 correctly
· save/restore view of saved window
· fix a bug when encoding and fileencoding is different
· restructured autocommand triggers
· added a debug command and debug messages