From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jim Gomi Newsgroups: gmane.emacs.help Subject: caching of passphrases for symmetrically encrypted files Date: Sun, 16 Oct 2016 17:48:45 -0500 Message-ID: <1476658125.3072.26.camel@mailup.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1476661751 24387 195.159.176.226 (16 Oct 2016 23:49:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2016 23:49:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 01:49:07 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 1bvvAj-0004Ho-Qx for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 01:48:54 +0200 Original-Received: from localhost ([::1]:58141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvvAl-0000Hv-Ld for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Oct 2016 19:48:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvuEl-0003V5-4C for help-gnu-emacs@gnu.org; Sun, 16 Oct 2016 18:49:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvuEg-0006ql-9m for help-gnu-emacs@gnu.org; Sun, 16 Oct 2016 18:48:59 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36317) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvuEg-0006pf-3I for help-gnu-emacs@gnu.org; Sun, 16 Oct 2016 18:48:54 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0FDD32064A for ; Sun, 16 Oct 2016 18:48:51 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 16 Oct 2016 18:48:51 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=mailup.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=W+x 0wNSAK48uF4va7Ln929r8D6k=; b=Tb9ecyZVFn8/0C/gPPwyzlncb0i65BMflLB 2GpdsjqG/SH636gqFz2d80G4bRFd7RHcVgGIWWDBgR5szJlTL2HoqintRxYXmBDE rS9XB85I+4ZdxhgdQaVVNvBSYbouis+oI8U0ZEIjyFoAf6F4pWidfiP8Ky6Wd/FD KiAahUu4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=W+x0wNSAK48uF4va7Ln929r8D6k=; b=c5NG9 aCtS3z5TJ3nkUPmQn+P+twD0xgcDzSRATZ+R1KAyenGiMnfrFdUeIwNAu+7aABwG Xj7WO8Ytiyq5SCef6e4Cj5eEgnAXeBhwICFDdIAaTHThUsI9kn6JMelEYeDdB7CA kTG9LhyNkWFBRdO9TAVk2mCbawvxOTJFPvHOq8= X-Sasl-enc: 2+P86tjemuScbu9it1sKzseFiQrOc6y8KEvyqFFoWuZn 1476658130 Original-Received: from oleander (99-5-238-54.lightspeed.stlsmo.sbcglobal.net [99.5.238.54]) by mail.messagingengine.com (Postfix) with ESMTPA id 88FC1F29CD for ; Sun, 16 Oct 2016 18:48:50 -0400 (EDT) X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.25 X-Mailman-Approved-At: Sun, 16 Oct 2016 19:48:20 -0400 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:111539 Archived-At: Since I upgraded to emacs 25.1.1 under Fedora 24, the caching of passphrases for symmetrically encrypted files  has stopped working. According to the documentation,  https://www.gnu.org/software/emacs/manual/html_mono/epa.html#Caching-Pa ssphrases I can either use GnuPG 1.4, or configure gpg-agent. But I cannot get either of these to work. 1) Using GnuPG 2.1.13 I tried adding this to ~/.gnupg/gpg-agent.conf: allow-emacs-pinentry but I am still asked to retype the passphrase twice when saving the file. Is there something else I should do? 2) Using GnuPG 1.4  I tried adding this to my .emacs file: (setq epg-gpg-program "/usr/bin/gpg") (setenv "GPG_AGENT_INFO" nil) (setq epa-file-cache-passphrase-for-symmetric-encryption t) but it had no effect. /usr/bin/gpg is the GnuPG 1.4 executable.