sponsor Vim development Vim logo Vim Book Ad

vimcrypt2 : open encrypted files in vim, enter password once for the same buffer

 script karma  Rating -1/1, Downloaded by 283  Comments, bugs, improvements  Vim wiki

created by
Michael Moser
 
script type
utility
 
description
The vimcrypt2  extension will encrypt/decrypt files when read/written by vim.
You will have to enter the password that the encryption key is derived from once, for the same buffer.
This is different from other solutions, where you have to enter the password each time that the buffer is saved.

The plugin encrypts files of the following extensions: *.aes,*.cast,*.rc5,*.desx

- needs a vim that has been compiled with python3 option enabled.
- use the same openssl for reading and writing the same encrypted file. You can't decrypt with LibreSSL, what has been encrypted with OpenSSL.

See on github page: https://github.com/MoserMichael/vimcrypt2
 
install details
Install from downloaded zip file

mkdir -p ~/.vim/pack/vendor/start/vimcrypt2; unzip vimcrypt2.zip -d  ~/.vim/pack/vendor/start/vimcrypt2


Install from git

mkdir -p ~/.vim/pack/vendor/start/vimcrypt2; git clone --depth 1 https://github.com/MoserMichael/vimcrypt2 ~/.vim/pack/vendor/start/vimcrypt2
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vimcrypt2.zip 1.1 2023-06-01 7.0 Michael Moser adding g:vimcrypt2_cipher (default aes-256-ecb) and g:vimcrypt2_addopt (default -md md5)
ip used for rating: 34.230.35.103

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github