Wednesday, September 26, 2012

Re: Plugin gnupg.vim: Symmetric keys with gnupg (gpg)

On Wednesday, September 26, 2012 9:10:15 AM UTC-5, Suresh Govindachar wrote:
> Earlier, I asked:
>
> > On Windows 7, I use the following command lines to encrypt and
>
> > decrypt using a symmetric key:
>
> >
>
> > 1) gpg -o foo.gpg -c --force-mdc foo.txt
>
> > 2) del foo.txt
>
> > 3) gpg -o foo.txt -d foo.gpg
>
> >
>
> > The first command would be done once per file. Then, I would
>
> > like to open the foo.gpg file, edit it, and save it from within
>
> > Vim. How can this be done?
>
> >
>
> > (At present, when I open foo.gpg from within Vim, the plugin
>
> > gnupg.vim incorrectly reports: "File is not encrypted, all GPG
>
> > functions disabled!").
>
>
>
> I have since found these two tips (which are hard to read on IE
>
> since they show up as green font on green background):
>
>
>
> http://vim.wikia.com/wiki/Edit_gnupg-encrypted_files
>
> http://vim.wikia.com/wiki/Edit_gpg_encrypted_files
>
>
>
> and a page on antagonism.org -- which neither IE or FireFox can
>
> display, but here's google's cached version:
>
>
>
>
>
> http://webcache.googleusercontent.com/search?q=cache:XrPCqnc4bgkJ:https://ww
>
> w.antagonism.org/privacy/gpg-vi.shtml+using+gnupg+with+vim&cd=4&hl=en&ct=cln
>
> k&gl=us
>
>
>
> Also a plugin that has been deleted:
>
> http://www.vim.org/scripts/script.php?script_id=1403
>
>

I'm glad you found some answers, and if you want to use GPG then I assume they work for you.

But did you know Vim has native support for BlowFish encryption?

http://en.wikipedia.org/wiki/Blowfish_(cipher)
:help 'cryptmethod'
:help encryption

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

No comments:

Post a Comment