mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 06:14:24 -05:00
Patch from Sebastian Luettich
Fix issue with symmetric encryption and set recipients.
This commit is contained in:
@@ -82,6 +82,8 @@
|
|||||||
" - Karl-Heinz Ruskowski for patch to fix unknown recipients and trust model
|
" - Karl-Heinz Ruskowski for patch to fix unknown recipients and trust model
|
||||||
" and patient beta testing.
|
" and patient beta testing.
|
||||||
" - Giel van Schijndel for patch to get GPG_TTY dynamically.
|
" - Giel van Schijndel for patch to get GPG_TTY dynamically.
|
||||||
|
" - Sebastian Luettich for patch to fix issue with symmetric encryption an set
|
||||||
|
" recipients.
|
||||||
"
|
"
|
||||||
" Section: Plugin header {{{1
|
" Section: Plugin header {{{1
|
||||||
if v:version < 700
|
if v:version < 700
|
||||||
@@ -368,6 +370,7 @@ function s:GPGEncrypt()
|
|||||||
let b:GPGOptions=[]
|
let b:GPGOptions=[]
|
||||||
if (exists("g:GPGPreferSymmetric") && g:GPGPreferSymmetric == 1)
|
if (exists("g:GPGPreferSymmetric") && g:GPGPreferSymmetric == 1)
|
||||||
let b:GPGOptions+=["symmetric"]
|
let b:GPGOptions+=["symmetric"]
|
||||||
|
let b:GPGRecipients=[]
|
||||||
else
|
else
|
||||||
let b:GPGOptions+=["encrypt"]
|
let b:GPGOptions+=["encrypt"]
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user