[pass] Vim security settings for documentation

Patrick Burroughs (Celti) celti at celti.name
Fri Jul 17 02:08:48 CEST 2015


On Fri, 17 Jul 2015 01:53:30 +0200
Joakim Reinert <mail+password-store at jreinert.com> wrote:

> Hi,
> 
> I'm using pass with vim and I think you should encourage your users to
> add a few settings to their vimrc in order to prevent passwords
> leaking into swap, backup and undo files. Here's the settings I use:
> 
> au BufNewFile,BufRead /dev/shm/pass.* setlocal noswapfile nobackup noundofile

Not a bad idea, but I prefer a more comprehensive option. Include
this[1] into your vimrc or otherwise load it (pathogen, etc.) to
comprehensively treat temporary files as just that: temporary.

[1] https://gist.github.com/tejr/5890634

Regards,
~Celti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150716/3a7d911a/attachment.asc>


More information about the Password-Store mailing list