How to use Gnupg's passphrase-fd argument?

后端 未结 4 752
广开言路
广开言路 2020-12-23 20:42

I would like to use GnuPG´s decrypt command without any user interation. The script\'s --passphrase-fd argument seems exactly what I need. But I do

4条回答
  •  孤城傲影
    2020-12-23 21:22

    Using GPG4win/gpg 2.2.3: to use the passphrase-fd 0 and bypass the prompt, I can confirm that the following works:

    --pinentry-mode loopback
    

提交回复
热议问题