redact_pass.vim : Set options to edit pass(1) files securely
script karma |
Rating 24/8,
Downloaded by 663 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Tom Ryder |
|
script type |
utility |
|
description |
This plugin switches off the 'viminfo', 'backup', 'writebackup', 'swapfile', and 'undofile' options globally when editing a password in pass(1).
This is to prevent anyone being able to extract passwords from your Vim cache files in the event of a compromise.
You should test this after installation to ensure you see this message printed whenever you `pass edit`:
Editing password file--disabled leaky options!
https://sanctum.geek.nz/cgit/vim-redact-pass.git |
|
install details |
Drop plugin/redact_pass.vim in your ~/.vim/plugin directory. Add doc/redact_pass.txt in ~/.vim/doc if you want the help file. Otherwise, use your favourite Vim plugin package manager. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|