You are here

File Encryption Using GPG And Editing Using Vim

File encryption is a useful feature. Especially if you want to store some sensitive information in a file on your PC or mail someone a file with sensitive data. GPG allows us to encrypt files using either a password or public-private-key pair. Further, a vim plugin is available which allows you to edit the gpg file directly. Though vim by default provides encryption support for files (using the -x option), the encryption algorithm is weak. GPG provides a great alternative for strongly encrypting files. Below are a few links which should help you understand about GPG and also use vim for GPG encryption. Also note that you might need vim and not vim-tiny for this plugin to work properly.

http://en.wikipedia.org/wiki/GNU_Privacy_Guard
http://advosys.ca/viewpoints/2006/07/pgp-symmetric-encryption/
http://vim.sourceforge.net/scripts/script.php?script_id=661

Category: 

Add new comment