From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Lynch Newsgroups: gmane.emacs.devel Subject: Re: interjecting a custom epa passphrase prompt Date: Sun, 22 May 2011 19:07:45 -0400 Message-ID: References: <87hb8nk1m1.fsf-ueno@unixuser.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1306118958 31014 80.91.229.12 (23 May 2011 02:49:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 02:49:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 23 04:49:14 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOLCi-0007gD-UM for ged-emacs-devel@m.gmane.org; Mon, 23 May 2011 04:49:13 +0200 Original-Received: from localhost ([::1]:49349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOLCi-0008U9-A6 for ged-emacs-devel@m.gmane.org; Sun, 22 May 2011 22:49:12 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOHkS-0005aB-Ty for emacs-devel@gnu.org; Sun, 22 May 2011 19:07:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOHkR-0007bf-ED for emacs-devel@gnu.org; Sun, 22 May 2011 19:07:48 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:51862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOHkR-0007bS-6X for emacs-devel@gnu.org; Sun, 22 May 2011 19:07:47 -0400 Original-Received: by wyf19 with SMTP id 19so4728620wyf.0 for ; Sun, 22 May 2011 16:07:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=CUKWu5iPivXgDXkZ931Bv0pPJGEyrzODbrMkMSbZHgg=; b=vUNFE7LTH/ueRi0lWKVvDnI6aK1VG91BKyTYAGGt2PShySfknVKNIvAwVr5MDKBIZD ez22fQyjXk7aV63cYEpgUVIvsll9pPy1q3xk0p8TjvkEUX5OxT6URBQVOwGSfZJnS7vB fL48zxRZM95ym7gsepZC2fGq7eYNYi0G8hZZk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bAiaybSq3nup30GP76A6WVCCXfooTA4SIu2gc/+OjGhgTkjf3n6HTDYyAV0Y6uRhSe y2IEPMKG6hVYrHX+iraRk9a1k0CXJgbMMfKENJMPbTc6r4snCsJzWM+zAnDMa6BL2VAV OrX5vo9uD1YXoEfmEO0m8/5FWqYmXngrDU754= Original-Received: by 10.216.65.203 with SMTP id f53mr1800167wed.54.1306105665566; Sun, 22 May 2011 16:07:45 -0700 (PDT) Original-Received: by 10.216.91.82 with HTTP; Sun, 22 May 2011 16:07:45 -0700 (PDT) In-Reply-To: <87hb8nk1m1.fsf-ueno@unixuser.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-Mailman-Approved-At: Sun, 22 May 2011 22:49:09 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139634 Archived-At: On the repository search site "gpg1" shows up with nothing. On a google search 'gpg1' shows a build log as having failed for 11.3, and nothing listed for 11.4: Drive_go openSUSE_11.3 Repository has been published i586 failed Repository has been published x86_64 failed Drive_go openSUSE_Factory Repository has been published i586 failed Repository has been published x86_64 ailed I went to the site http://www.gnupg.org/download/index.en.html and downloaded the sources for GnuPG 1.4.11 and GPGME gpgme-1.3.0.tar.bz2, installed them in the /usr/local tree and then linked my program against them. I was surprised when it compiled without errors as I had to change the syntax to compile against gpg2 -- has the syntax been changed for updates of gpg1 also? When I run my program, it still does not do the call back to get the passphrase. Note, > /usr/local/bin/gpgme-config --libs -L/usr/local/lib -lgpgme -lassuan -lgpg-error -lgpg-error That is the right tree /usr/local/lib -- but where does gpme pick up gpg? It it actually calling the binary as one would from the counsel rather than calling a library routine? How do I tell gpgme to use gpg1? FYI when I ask my program to check the gpgme version it comes back saying it was the 1.3, the version I just built from sources in the local tree. compounding this problem is that the debian installer for Suse crashes with an error on the 11.4 install, so yet another option has been cut off ..