gnupg 1933

gnupg is a Vim plugin for transparent editing of gpg encrypted files.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
3.5/5 11
DEVELOPED BY:
Markus Braun
HOMEPAGE:
www.vim.org
CATEGORY:
ROOT \ Text Editing&Processing \ Vim Plugins
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.

Commands:

:GPGEditRecipients

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.

:GPGViewRecipients
Prints the list of recipients.

:GPGEditOptions
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.

:GPGViewOptions
Prints the list of options.

Variables:

g:GPGUseAgent
If set to 0 a possible available gpg-agent won't be used. Defaults to 1.

g:GPGPreferSymmetric
If set to 1 symmetric encryption is preferred for new files. Defaults to 0.

g:GPGPreferArmor
If set to 1 armored data is preferred for new files. Defaults to 0.

Requirements:

Vim

INSTALLATION:

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

Last updated on May 30th, 2008

#GnuPG encryption #GPG editor #Vim plugin #GnuPG #encryption #editor #Vim

Add your review!

SUBMIT