From: Michael Wallner Date: Fri, 9 Nov 2018 06:47:28 +0000 (+0100) Subject: add --pinentry-mode loopback option X-Git-Url: https://git.m6w6.name/?p=pharext%2Freplicator.pharext.org;a=commitdiff_plain;h=ef2ea5ceccdcda6443ce68952c2211e73b008809 add --pinentry-mode loopback option --- diff --git a/bin/gpg-sign b/bin/gpg-sign index df0ddc9..19cd4fd 100755 --- a/bin/gpg-sign +++ b/bin/gpg-sign @@ -30,7 +30,7 @@ if (($pwd = getenv("REPLICATOR_PWD"))) { $stream = STDIN; } -$proc = proc_open("gpg --batch --no-tty -a --detach-sign --passphrase-fd 3 --output $dir/$basename.asc $src", [ +$proc = proc_open("gpg --batch --pinentry-mode loopback --no-tty -a --detach-sign --passphrase-fd 3 --output $dir/$basename.asc $src", [ ["pipe", "r"], ["pipe", "w"], ["file", $log, "a"],