Monday, September 14, 2015

Re: [ANN] Plugin: VimCrypt: A small framework for encryption and decryption in vim. (supports openssl and gpg)

On Mon, Sep 14, 2015 at 08:28:18AM -0400, Justin M. Keyes wrote:
> Other than support SSL, how does it compare to
> https://github.com/jamessan/vim-gnupg ?
>
> Justin M. Keyes

Well, before coding this plugin, I did take a look at vim-gnupg, but it just
seemed to be trying to do too much.

vimcrypt has a much simpler interface for gnupg where you just provide the
gpg shell command yourself (minus input and output). Combined with the reuse
of generic code between the gpg and ssl part, you get a pretty minimalistic
plugin.

For comparison, vim-gnupg has over 1000 non comment lines of code, and these
are the results for vimcrypt:

43 autoload/gpg.vim
60 autoload/ssl.vim
157 autoload/vimcrypt.vim
4 plugin/gpg.vim
12 plugin/ssl.vim
35 plugin/vimcrypt.vim
14 autoload/vimcrypt/fold.vim
8 autoload/vimcrypt/util.vim
333 total

Especially for anything relating to security and cryptography, I tend to
prefer simpler and smaller code.

That being said, I have not tried out vim-gnupg so if there are any features
that you find are lacking in vimcrypt, please let me know.

--
mwnx
GPG: AEC9 554B 07BD F60D 75A3 AF6A 44E8 E4D4 0312 C726

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment