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 67  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 0.3 2021-11-24 7.0 Michael Moser error handling for read errors: If read error: sleep for five seconds, display error and delete the
    buffer that failed to read.
vimcrypt2.zip 0.2.1 2021-11-21 7.0 Michael Moser remove test scripts from install bundle.
vimcrypt2.zip 0.2 2021-11-07 7.0 Michael Moser save and restore cursor on writing.
vimcrypt2.zip 1.0 2021-11-01 7.0 Michael Moser Initial upload
ip used for rating: 18.212.120.195

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.
   
OSDN