From users-return-3968-archive-asf-public=cust-asf.ponee.io@buildr.apache.org Mon Mar 12 19:14:18 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 26F2A18064D for ; Mon, 12 Mar 2018 19:14:17 +0100 (CET) Received: (qmail 90160 invoked by uid 500); 12 Mar 2018 18:14:17 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 90145 invoked by uid 99); 12 Mar 2018 18:14:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2018 18:14:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 249D1C0033 for ; Mon, 12 Mar 2018 18:14:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.979 X-Spam-Level: ** X-Spam-Status: No, score=2.979 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id RqyslxQTwpAB for ; Mon, 12 Mar 2018 18:14:14 +0000 (UTC) Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 635F75F393 for ; Mon, 12 Mar 2018 18:14:14 +0000 (UTC) Received: from ath.hsd1.ca.comcast.net ([76.103.148.235]) by mrelay.perfora.net (mreueus001 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LjcJ4-1eOK8O3abQ-00bfX4 for ; Mon, 12 Mar 2018 19:14:13 +0100 From: Antoine Toulme Content-Type: multipart/alternative; boundary="Apple-Mail=_D7D358C8-0BB0-4FA4-9160-3C26649A54D2" Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: GPG signing non interative mode Date: Mon, 12 Mar 2018 11:14:07 -0700 References: To: users@buildr.apache.org In-Reply-To: Message-Id: <8918C45D-D922-4BD7-A0D4-45F7B396AF8F@toulme.name> X-Mailer: Apple Mail (2.3445.5.20) X-Provags-ID: V03:K0:J8ApyL8B2VDiWjjcjUyf84LvTvK1PjtEbG0CPP6kYNdaUSN7Pz+ nSvRcVbJEK6LQby/oeJX41sJm3l7Yug5Xlw8Ii6v2MWtXxN7mzGWsGUYBmk5kSUsxKb3rXr 5pRyTCD8yCedn+u7eu8+t1I+m9J4imheJcLgzaS5dEExdIr0u8JboJ2PXh1IftkgKS1j37I NB0h3rcJsepHuOe7YZi7g== X-UI-Out-Filterresults: notjunk:1;V01:K0:1StQPNhUoyg=:11/vP0vvYz3YDMqk+jv5km Z0Jh4Z2InBeBzMiAw0ne9CziuV5chhVPElzM1yXWJrlWplX8Er9OeE7AnY4xxWlWtYFQA3u16 mMuqZYeZ/g1fQcm+ERRhuX3FDNfgP4OdwpWJi+T2P/xEiyiy7buIvo70HGoR6gXZSc9Qp3veW 0DJw/r//VThpfP8ysxtUD8h12Jb9e1vZF41hpsrkFs1sYvm/jfytxfmxULOl9LePcm7eGlzby 7CC8UCj4Jq6zHFqK1KHjxDMO6JIElctw8dmdeg3Ke2CBv3NBk5LBmoaJ+/rfjVuYSCY8wk6JF AismY/+mcM5K0Jn/lLs7nvi0Bx2OVaWEPSRq++GmCJBuAmZezoVKSzyiQLqlvpimPcO8O2+bo v50HjK3UIaPFYTmXYYvA7zokenEjNoG0rRAP86iL3DUq+F3561+/cVqAFrg2F82UXVHY7ctXc WwJqdAIKc2m1AbmbpQfOm41v1p9Pty0nVWsRumz+SRAd/VlnYcIpoE9ANTAoFneeRntjySVVn m4Tm0qHyUERcvXZ/Jaj5+Ps5pr4+VzlGVmf5sZBWCLEm1ghgbvDw2dPg7ZE55OM+4Z9QPTlMJ vp8QJibmn8fdvW1jYmEaGpQId8OIvjYzA2YRjttS6g6/VH8O2/uDiNW3/COg8r0cYUCY5ivb8 gDgSO4ZsW6wG7b7APhGv2fcvk6PhuZmVN1gVZQ9jgdZC0fJSSFAF59PPOVD27z309IxxmcfRj XAdMnKC9VLddeiRbzGvSYcmNgXMAPjjkfAJE9d/FS8VUm8mN78Vx2SCe0Sg= --Apple-Mail=_D7D358C8-0BB0-4FA4-9160-3C26649A54D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Just browsing through here: = https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration.html = = Squinting hard at the doc, it looks like you=E2=80=99d like to be able = to write gpg.conf under ~/.gnupg with your options. > On Mar 12, 2018, at 11:10 AM, Antoine Toulme = wrote: >=20 > No, the current code doesn=E2=80=99t seem to allow passing additional = options when issuing the command line arguments. >=20 > There might be a way to use environment variables? What additional = parameters do you need? >=20 >> On Mar 11, 2018, at 12:25 AM, Sathwik B P wrote: >>=20 >> Hi, >>=20 >> 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. >>=20 >> 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. >>=20 >> Is there a way to pass additional options to the gpg? >> [https://github.com/apache/buildr/blob/master/addon/buildr/gpg.rb] >>=20 >> regards, >> sathwik >=20 --Apple-Mail=_D7D358C8-0BB0-4FA4-9160-3C26649A54D2--