[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpg4win-users-en
Subject:    Re: [Gpg4win-users-en] Problem with gpgme in gpg4win 1.1.3
From:       Bernhard Reiter <bernhard () intevation ! de>
Date:       2008-04-08 20:33:03
Message-ID: 200804082233.04697.bernhard () intevation ! de
[Download RAW message or body]

On Wednesday 02 April 2008 18:27, Igor Belyi wrote:
> The problem shows up when a different than default directory is selected
> during gpg4win 1.1.3 install.

Attached the response Marcus Brinkmann send on gnupg-devel@.

-- 
Managing Director - Owner: www.intevation.net       (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

["forwarded message" (message/rfc822)]

Return-Path: <gnupg-devel-bounces@gnupg.org>
Received: from localhost (localhost.localdomain [127.0.0.1])
	 by kolab.intevation.de (Cyrus v2.3.11-openpkg) with LMTPA;
	 Mon, 07 Apr 2008 16:23:44 +0200
X-Sieve: CMU Sieve 2.3
Received: from localhost (localhost.localdomain [127.0.0.1])
	by kolab.intevation.de (Postfix) with ESMTP id EECF71641639;
	Mon,  7 Apr 2008 16:23:43 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at intevation.de
X-Spam-Flag: NO
X-Spam-Score: -9
X-Spam-Level: 
X-Spam-Status: No, score=-9 tagged_above=-999 required=3.5 tests=[BAYES_00=-5,
	RCVD_IN_DNSWL_MED=-4]
Received: from localhost (localhost.localdomain [127.0.0.1])
	by kolab.intevation.de (Postfix) with ESMTP id 603D21648F7C;
	Mon,  7 Apr 2008 16:22:52 +0200 (CEST)
Received: from lists.g10code.com (lists.gnupg.org [217.69.76.57])
	by kolab.intevation.de (Postfix) with ESMTP id 896DC1646D56;
	Mon,  7 Apr 2008 16:22:51 +0200 (CEST)
Received: from localhost
	([127.0.0.1] helo=trithemius.gnupg.org ident=mailman)
	by lists.g10code.com with esmtp (Exim 4.63 #1 (Debian))
	id 1JirzQ-0001di-A1; Mon, 07 Apr 2008 16:06:28 +0200
Received: from kerckhoffs.g10code.com ([217.69.77.222])
	by lists.g10code.com with esmtp (Exim 4.63 #1 (Debian))
	id 1JirzJ-0001dT-65
	for <mm.gnupg-devel@lists.gnupg.org>; Mon, 07 Apr 2008 16:06:21 +0200
Received: from uucp by kerckhoffs.g10code.com with local-rmail (Exim 4.50 #1
	(Debian)) id 1JisKn-0004yB-NH
	for <gnupg-devel@gnupg.org>; Mon, 07 Apr 2008 16:28:33 +0200
Received: from localhost ([127.0.0.1] helo=ulysses.g10code.com)
	by ulysses.g10code.com with esmtp (Exim 4.67)
	(envelope-from <marcus.brinkmann@ruhr-uni-bochum.de>)
	id 1JisBS-0003F6-Ph; Mon, 07 Apr 2008 16:18:54 +0200
Date: Mon, 07 Apr 2008 16:18:54 +0200
Message-ID: <87od8lwxwx.wl%marcus.brinkmann@ruhr-uni-bochum.de>
From: Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
To: Igor Belyi <gpgme@katehok.ac93.org>
Subject: Re: Problem with gpgme in gpg4win 1.1.3
In-Reply-To: <47F780C1.2000307@katehok.ac93.org>
References: <47F780C1.2000307@katehok.ac93.org>
User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8
	(=?UTF-8?B?U2hpasWN?=) APEL/10.7 Emacs/23.0.60 (i486-pc-linux-gnu)
	MULE/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Cc: gnupg-devel@gnupg.org
X-BeenThere: gnupg-devel@gnupg.org
X-Mailman-Version: 2.1.10b1
Precedence: list
List-Id: GnuPG development <gnupg-devel.gnupg.org>
List-Unsubscribe: <http://lists.gnupg.org/mailman/listinfo/gnupg-devel>,
	<mailto:gnupg-devel-request@gnupg.org?subject=unsubscribe>
List-Archive: </pipermail>
List-Post: <mailto:gnupg-devel@gnupg.org>
List-Help: <mailto:gnupg-devel-request@gnupg.org?subject=help>
List-Subscribe: <http://lists.gnupg.org/mailman/listinfo/gnupg-devel>,
	<mailto:gnupg-devel-request@gnupg.org?subject=subscribe>
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: gnupg-devel-bounces@gnupg.org
Errors-To: gnupg-devel-bounces@gnupg.org
X-Kolab-Scheduling-Message: FALSE
X-UID: 1705
X-Length: 5251

At Sat, 05 Apr 2008 09:38:09 -0400,
Igor Belyi <gpgme@katehok.ac93.org> wrote:
> I ran into the problem when a different than default directory is 
> selected during gpg4win 1.1.3 install.

Should be fixed in the upcoming 1.9/2 releases of gpg4win.

> It manifests itself when gpa.exe 
> is started and fails to find the engine. It is caused by mismatch 
> between gpg4win using newer approach of registering "Install Directory" 
> and "gpgProgram" strings in "HKLM\Software\GNU\GnuPG\" key and GPGME 
> relying on either "HKCU\Software\GNU\GnuPG\gpgProgram" (note the HKCU vs 
> HKLM) or on the program being in the default location.

GPGME checks HKCU and falls back on HKLM.  In any case, gpgProgram
should not really be set, there was some confusion and error.  Some
tools like winpt set it, that should be reported as a bug.

> There's a note in 
> the "src/inst-gnupg.nsi" of the gpg4win source saying that relying on 
> "gpgProgram" key is an old style and sure enough the newer version of 
> GPGME (although also 1.1.6, just like in gpg4win 1.1.3) does uses the 
> "Install Directory" to find all the necessary gpg.exe, gpgsm.exe, and 
> gpgconf.exe.

Right.
 
> On related note, the new GPGME still checks for gpgProgram in HKCU and 
> not HKLM rooted location.

That's useful for manual override.

> On my machine I noticed that there was an 
> entry in there which looks like left-over from some previous 
> installation and (as expected) it is not removed by the newer version of 
> gpg4win on install/uninstall. This caused even newer GPGME to assume a 
> wrong location for gpg.exe. I removed that registry value on my machine 
> but I suspect other users may run into similar problem.

We can not remove it reliably at installation time because it can be a
per-user setting.  The new GUI, kleopatra, will check for the registry
key, present a warning and allow to remove it.  In the long haul,
gpgProgram should almost never be present.

Thanks,
Marcus


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


_______________________________________________
Gpg4win-users-en mailing list
Gpg4win-users-en@wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/gpg4win-users-en


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic