DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 50MIOGcb3399099 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 50MIOGcb3399099 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=hp8KZNUA X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF2783857BA5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1737570255; bh=kiPGyl8FYHwzQhkJ34xMVFNRuO/BfTRnyS736clH/OU=; h=To:Subject:In-Reply-To:References:Date:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=hp8KZNUAe33TIc0rmFo5DKt8XXtew1lokfNPN92ZQ/65u1L9BZPtFCl3zIzFRFErM goGLD3Uhyuyns6ce6RWx1LSBi346lL4SGOug2rc3Ae5dhuNbmbwKDh/3d55OnVeVEy PBPNx0OhpWHGUAxhJt4cI/1QDKrkHls0AaexMCzU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 05F123858416 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 05F123858416 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737570233; cv=none; b=j5QUvuX6u08cdPLNYexMoaxnLZUmYWo5hSt4u8YgrR+oRn/6ZuS2gacdGiJ7T7n5AbDsptCVIfgEjWY7lKU/XzA1qtsHiwAUz2AS9tjrn7Fd8HzqoqzQPtI9rNF1W3jkezgB1o5RIF5o1LYNo7FDQPxmepRrAEFpr6m/Vriva8E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737570233; c=relaxed/simple; bh=LceDBq/M8SpSM/ud12t8aA7PQK0KRHqWrjaQ4PgIYA4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=jq/gOmxi9q6wNW/LLDoslcrZNTGJpW2GHFE4iK0WrA2boxoWU09vS+VFS1XYUW3ylQxeyLjdmk4BvtEBdC7bHWHi4b3+MonT6/wBsBdEOE8UPvR+DCbQ6d18G6yvt2JjsBTrxlGfvbuUXWOUdOUter+zHCPcsapPHbQhRSWS0L0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 05F123858416 To: cygwin AT cygwin DOT com Subject: Re: gpg2 / gpg-agent passphrase prompt In-Reply-To: <33811.2406710692$1737532889@news.gmane.org> (ASSI via Cygwin's message of "Wed, 22 Jan 2025 09:00:05 +0100") References: <33811.2406710692$1737532889 AT news DOT gmane DOT org> Date: Wed, 22 Jan 2025 19:23:40 +0100 Message-ID: <87h65qvhar.fsf@Gerda.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-purgate-type: clean X-purgate: clean X-purgate-size: 1281 X-purgate-ID: 155817::1737570227-797F9465-4064C0A4/0/0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: ASSI via Cygwin Reply-To: ASSI Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 50MIOGcb3399099 ASSI via Cygwin writes: > I've got a new machine with Win11 at work, copied over all my > configuration from the old Win10 one, but I can't seem to get gpg2 to > show the passphrase prompt through the W32 GUI of GPG agent. In fact > the agent doesn't seem to even start (the named pipes do not get > created) and I get prompted directly by gpg2. Any ideas where I should > look or what config I may have missing? I finally got on the right track when I noticed I could resurrect the functionality by manually starting gpg-agent and then setting up an appropriate GPG_AGENT_INFO environment variable (which should be unnecessary for gpg2). Turns out that the (fresh) installation of Cygwin on this machine which has exactly the same package selection was hosed up by a different package installation order: Some time ago the GnuPG2 package was changed to replace /usr/bin/gpg (and gpg2 is now a symlink to that), but of course the old gpg package installs it's own executable in exactly the same place. Guess which package was installed last… :-) Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple