The openssl.vim software is a Vim plugin featuring editing abilities for OpenSSL encrypted files, resulting in the conversion of Vim into a Password Safe.
To disable the swap file and .viminfo log, enable the `openssl` command line tool that must be in the path. This plugin requires Vim as a prerequisite.
Installation entails saving the openssl.vim in the plugin directory, which will be automatically loaded by Vim from ~/.vim/plugin/openssl.vim. Editing an empty unencrypted file is a great way to start. Assign the file one of the OpenSSL ciphered extensions once you're done editing. When saving the file, a prompt to enter a new password will appear.
If you choose to edit a file named `.auth.bfa' (in full), you'll notice additional features such as folding and an automatic quit timeout, which will cause Vim to quit after 5 minutes of inactivity (unless you have made the changes). This plugin automatically folds wiki-style headlines in the format of ==This is a headline==. You can access any notes under the headline by moving the cursor to the headline and pressing SPACE to toggle, the q key will quit Vim.
To effectively make use of OpenSSL.vim as a simple Vim Password Safe, create an example file like ~/.auth.des3 and save under wiki-style headlines. Create the following bash alias: alias auth='view ~/.auth.des3' to view your password safe, where all the sensitive information is hidden under the headlines. To view the password information, move the cursor to the headline and press SPACE.
This version comes with a new feature that makes a backup of the encrypted file before writing changes, guarding against editing errors, and eventual losses. This is done by renaming the original file and adding .bak before the extension. To enable backups, input the following global definition in your .vimrc file: let g:openssl_backup = 1.
Special thanks to Tom Purl for the des3 tip.
Version 3.2: N/A