Closed roxyland closed 2 years ago
@roxyland
Do not @
me please.
@roxyland, what error do you get when running echo foo | gpg --trust-model always --no-use-agent --quiet --no-encrypt-to --symmetric --cipher-algo CAST5 > foo.gpg
?
echo foo | gpg --trust-model always --no-use-agent --quiet --no-encrypt-to --symmetric --cipher-algo CAST5 > foo.gpg gpg: WARNING: "--no-use-agent" is an obsolete option - it has no effect gpg: cancelled by user gpg: error creating passphrase: Operation cancelled gpg: symmetric encryption of `[stdin]' failed: Operation cancelled
Ok, so it's not specific to the plugin. Sounds like you don't have a working pinentry installed that can be used to enter the password.
gnupg.vim 2.7.1 gpg (GnuPG) 2.0.22 libgcrypt 1.5.3
vim opens the encrypted file, but I cannot save. It errors out with Message could not be encrypted! (Press ENTER)
Enabling :let g:GPGDebugLevel=2 and :let g:GPGDebugLog='gpg.log' produces this log: