jamessan / vim-gnupg

This script implements transparent editing of gpg encrypted files.
http://www.vim.org/scripts/script.php?script_id=3645
729 stars 73 forks source link

Is there a way to force prompt for password? #128

Closed molleweide closed 1 year ago

molleweide commented 1 year ago

Hi,

I am quite a novice user with gpg and I use MacOS.

Can I somehow force gpg to prompt me for password upon commiting inside of neovim? I want to do this because every time that the prompt is ran inside of neovim it seems to crash neovim and so now I want to test my gpg config to see if the problem is solved.

I have tried to use :

gpgconf --kill gpg-agent
gpg-agent --daemon

to force re-prompt for password but now I don't seem to get prompted for password anymore - in neogit it just signs the commit.