Re: password protecting a file

From: Peter Valdemar Mørch (4nr8e4s02_at_sneakemail.com)
Date: 03/01/04


Date: Mon, 01 Mar 2004 10:53:50 +0100

Andreas Janssen wrote:
> gpg can use symmetric encryption.

And, if you put the section "GPG Integration" into your ~/.vimrc, then
vi (vim) will automatically prompt for a password, decrypt, edit, and
re-encrypt all *.gpg files.
http://mundy.yazzy.org/unix/vim.php

Then you can seemlessly:

vi mysecrets.gpg
(enter password)

Totally cool!

Peter

-- 
Peter Valdemar Mørch
http://www.morch.com


Relevant Pages

  • Re: Nice GUI/CLI Password Manager for Linux
    ... vim can be configured to automatically use gpg to decrypt *.gpg files ... the command is not available in this version: augroup END ... Vi IMproved - enhanced vi editor ...
    (Debian-User)
  • Re: Nice GUI/CLI Password Manager for Linux
    ... vim can be configured to automatically use gpg to decrypt *.gpg files ... never touches the disk (though encrypting your swap partition too wouldn't ... autocmd BufReadPre,FileReadPre *.gpg set noswapfile ...
    (Debian-User)
  • Re: vi wierdness
    ... but they do it in vim. ... Ben Steeves ... GPG ID: 0xB3EBF1D9 ... fedora-list mailing list ...
    (Fedora)