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

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.