How to use Gnupg’s passphrase-fd argument?
In order to use the gpg option –passphrase-fd in GnuPG v2, you must specify the –batch parameter. I will first explain how –passphrase-fd works, and then get to the examples. –passphrase-fd tells GnuPG which file descriptor (-fd) to expect the passphrase to come from. The standard file descriptors are STDIN (0), STDOUT (1) and STDERR … Read more