[Rpm-maint] [rpm-software-management/rpm] macros: make rpmsig's gpg command alterable (#85)

Jakub Filak notifications at github.com
Fri Sep 2 12:56:54 UTC 2016

The current version of gpg2 prompts for password using a curses dialogue
or a GTK dialogue. Both methods breaks automation of package signing.

If we want to be asked the old way on terminal, we must run gpg2 with
additional arguments '--pinentry-mode loopback' (and gpg-agent must be
allow looping back (--allow-loopback) - allowed by default since 2.1.13).

Currently there is no other way how to tweak gpg command line than
creating a wrapper script and redefining %__gpg macro.

The wrapper script method can lead to use of wrong version of gpg
binary, hence, this patch adds possibility to specify additional command
lines argument passed on gpg's command line.

Signed-off-by: Jakub Filak <jfilak at redhat.com>
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * macros: make rpmsig's gpg command alterable

-- File Changes --

    M macros.in (1)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160902/0b0ce328/attachment.html>

More information about the Rpm-maint mailing list