X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=PXNGxpzKMC90TOCM
	tjDT2Q7SEyxI3ZL0uV0BBpacXmyo1V5Y2TOjvpzQeRMn9PXqmwxzHp0peghH6WEF
	xkmevMdhQUR0WfIl9a05WaBvWK8MM/PfwqBruXC424ZeHAek3n9ERCaL82fNvpr+
	1csbWIEUZo6OEX9VmW0fJFNqLSY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=BGXMnTVd+4cXWc2YAWrTFt
	kyiBw=; b=oita+/mtRhD7KOXv+u7pGoiUf0w/zvhoYybTN0WmPYdF9dx3NgAqCr
	0Zu3pi2VedyYaf0rO3/IZetO/WnpXWIRoeb9MsLCPDYIcPZu+EqRGHkhqA0p/UML
	nWJ7DUErd4nXhWtStJrOwI7KrK6hkbfCrVyat97Vi+Msi9em8oHCw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=secret, Hx-spam-relays-external:ESMTPA
X-HELO: homiemail-a43.g.dreamhost.com
Subject: Re: problem with gnupg2 not prompting for passphrase
To: cygwin@cygwin.com
References: <ddb4fd0f-8138-7cc5-ccf5-678fe6365afd@jeffunit.com> <3e91fbf6-cf13-718f-5f0f-8e77cd57b169@towo.net>
From: jeff <jeff@jeffunit.com>
Message-ID: <80c253d7-7ea6-ac5c-0bc1-a6ac4ee3f4d4@jeffunit.com>
Date: Mon, 10 Jul 2017 12:55:55 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <3e91fbf6-cf13-718f-5f0f-8e77cd57b169@towo.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 7/10/2017 12:42 PM, Thomas Wolff wrote:
> Am 10.07.2017 um 16:29 schrieb jeff:
>> I installed gnupg2 and several versions of pinentry.
>> When I try to use it with engmail on thunderbird, I don't get prompted
>> for a passphrase.
>>
>> My engmail setup works with a standalone version of gnupg2.
>> it also used to work with cygwin gnupg1 (before engmail required gnupg2).
> This suggests your gnupg2 is not a cygwin program. Unfortunately,
> interoperability of non-cygwin programs with cygwin terminal I/O is
> limited. You might want to use the winpty wrapper.
> Thomas


502: which -a gpg2
/usr/bin/gpg2
/bin/gpg2
/usr/bin/gpg2
/cygdrive/c/Program Files (x86)/GNU/GnuPG/pub/gpg2

jeff_xeon:/cygdrive/u:503: gpg2 --output fred.good --decrypt fred.gpg
gpg: encrypted with 4096-bit RSA key, ID A3791E7DD935A424, created
2013-03-21
      "Jeff Deifik <jeff@jeffunit.com>"
gpg: public key decryption failed: No such device or address
gpg: decryption failed: No secret key

I have uninstalled the standalone version of gnupg2 before I did this.
It seems most likely that the version of gpg2 being invoked is a cygwin
version.

jeff

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

