Just browsing through here: https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration.html <https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration.html>
Squinting hard at the doc, it looks like you’d like to be able to write gpg.conf under ~/.gnupg with your options. > On Mar 12, 2018, at 11:10 AM, Antoine Toulme <anto...@toulme.name> wrote: > > No, the current code doesn’t seem to allow passing additional options when > issuing the command line arguments. > > There might be a way to use environment variables? What additional parameters > do you need? > >> On Mar 11, 2018, at 12:25 AM, Sathwik B P <sath...@apache.org> wrote: >> >> Hi, >> >> GPG signing artifacts will not work in non interative mode with GPG 2.1. It >> still asks for the passphrase even when the passphrase is provided with the >> gpg --passphrase command. >> >> One option to make this work non interactively is to add "pinentry-mode" >> loopback in the gpg.conf. >> There are other recommendations in gpg forum. >> >> Is there a way to pass additional options to the gpg? >> [https://github.com/apache/buildr/blob/master/addon/buildr/gpg.rb] >> >> regards, >> sathwik >