Now, I see that, the answer is in the second link. ----- Original Message ----- > From: "Lubos Kardos" <lkardos@xxxxxxxxxx> > To: "Development discussions related to Fedora" <devel@xxxxxxxxxxxxxxxxxxxxxxx> > Sent: Tuesday, June 2, 2015 10:52:37 AM > Subject: Re: Fedora 22: cannot use rpmsign in script - problem with pinentry-gtk-2 > > Petr, do you know if "--passphrase-fd" should still work? Because that is > the way how rpm pass passphrase to gpg and it doesn't seem to work. > > Lubos > > > ----- Original Message ----- > > From: "Petr Pisar" <ppisar@xxxxxxxxxx> > > To: devel@xxxxxxxxxxxxxxxxxxxxxxx > > Sent: Tuesday, June 2, 2015 9:57:38 AM > > Subject: Re: Fedora 22: cannot use rpmsign in script - problem with > > pinentry-gtk-2 > > > > On 2015-06-02, Pavel Lisý <pavel.lisy@xxxxxxxxx> wrote: > > > I've used rpmsign in script for long time. I worked fine. After upgrade > > > to > > > Fedora 22 (from Fedora 20) something changed > > > > > [...] > > > > > > is starting now pinentry-gtk-2 and forces me to put passphrase to modal > > > window. > > > > > > Is any possibility how to disable this behaviour? Whatever I've found > > > through google didn't work for me. > > > > > gnupg2 changed. Maybe you look for gpg-preset-passphrase tool > > <https://www.gnupg.org/documentation/manuals/gnupg/gpg_002dpreset_002dpassphrase.html>. > > > > Also the gpg-agent is not located by environment variables but by > > socket. And the gpg-agent will be spawned automatically if it does not > > run. > > > > Also handling password file descriptor behaves differently. See > > <http://thread.gmane.org/gmane.comp.encryption.gpg.devel/19353/>. > > > > -- Petr > > > > -- > > devel mailing list > > devel@xxxxxxxxxxxxxxxxxxxxxxx > > https://admin.fedoraproject.org/mailman/listinfo/devel > > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > -- > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/devel > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct