From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Reik Reid Newsgroups: gmane.emacs.help Subject: Re: emacs interface with gpg-agent stopped working (or stopped caching passphrase) Date: Sat, 3 Sep 2016 11:45:19 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1472931343 20711 195.159.176.226 (3 Sep 2016 19:35:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2016 19:35:43 +0000 (UTC) To: help-gnu-emacs@gnu.org, tlikonen@iki.fi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 03 21:35:40 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bgGj5-0004kR-AS for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Sep 2016 21:35:39 +0200 Original-Received: from localhost ([::1]:47530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgGj3-0001X7-2b for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Sep 2016 15:35:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgFwP-0007lG-EC for help-gnu-emacs@gnu.org; Sat, 03 Sep 2016 14:45:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgFwO-0002GM-IX for help-gnu-emacs@gnu.org; Sat, 03 Sep 2016 14:45:21 -0400 Original-Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:36086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgFwO-0002GG-Dy for help-gnu-emacs@gnu.org; Sat, 03 Sep 2016 14:45:20 -0400 Original-Received: by mail-vk0-x233.google.com with SMTP id w124so49771339vkd.3 for ; Sat, 03 Sep 2016 11:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=6geKUB0Sw6FXIPQqcIF0GjWxyzwzgolpXOtnLVCS5UA=; b=az4RoIlBYzsuzOCqX3Ajs+ZmEiNUu7ADDvqw9+o1mJQsLvptZ7FDZ9Y70Q/x279Nst 7Dpaqt+JRPSznmgmlqEEYdsj5U9c7xxqgTHz9oj+kl4JIkF81FUrykCNjDj4HCtq78t+ HETej5nSZeZmfCS1R7SVmF4rcaJ89rNFpaP+Xsl9+e+xRWsY0baVBVqcWEeCRw+KEDBL 95rcbdsV0oIJOIkNIFiXvF1LPNlbpP/WsnZpEwmdJndnk6LIPo1APLANJU1wFDtR9c0Z ZAwycMEbBPEPIQ5wCoLPkoVZK1mYfK/SZ7R2w+u7bB6moemOREVpAOZ0QO9B/GIzrgOk H6oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6geKUB0Sw6FXIPQqcIF0GjWxyzwzgolpXOtnLVCS5UA=; b=lMdOWKDVWDWhJUfX/lsYY4Rk2T9nR18SMB6gCrVPGTXxDIW3ppCGbQwzHRdFzNss2w dsnB4HY6GY7fBxTBYGIEyFnKY7+bFKp653TyVTpHJOjQtEIq47kow/Oenx8mstjjamns clMK2WA/S7ATVpzABUILHSmeOYCqhB3StLxgMe14opHPYqOGP4QVNe53/VPvJIO1JtPa 2LWDPhn5nYjccCRQSAXNSQJ0SM1hNkxMfRclkBnSj410NOaPIBjk6+uIJwWqDkU9zugv ipZ3kqR23gYCQKphNX/2YGh5JVScXykwXrThVryWvx2XauFi7NpnS/alitv/BVBRy5vk yzMA== X-Gm-Message-State: AE9vXwPZ4TFJxaFpxg0pK2PTJHzLt9TRMK3LcINhb4N0QBqTwtVwBQGCvCN5Trv6q/0OxwYePFkVm6LAf6JJjQ== X-Received: by 10.31.21.79 with SMTP id 76mr17296808vkv.135.1472928319818; Sat, 03 Sep 2016 11:45:19 -0700 (PDT) Original-Received: by 10.176.5.102 with HTTP; Sat, 3 Sep 2016 11:45:19 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::233 X-Mailman-Approved-At: Sat, 03 Sep 2016 15:34:49 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111243 Archived-At: Teemu, Setting epg-gpg-program in ~/.emacs fixed the problem ;;in ~/.emacs (setq epg-gpg-program "gpg2") I also found that with the program versions listed in OP, I no longer need to start gpg-agent in my .Xesession (or equivalent), nor do I need to set any environment variables. Emacs will in fact start gpg-agent when needed, and it automagically works, with gnome-ssh-askpass popping up, and remembering the passphrase for a while. Thank much for your insight. (resend, hopefully this time I addressed the mailing list correctly)