From: Jim Gomi <gomi@mailup.net>
To: help-gnu-emacs@gnu.org
Subject: caching of passphrases for symmetrically encrypted files
Date: Sun, 16 Oct 2016 17:48:45 -0500 [thread overview]
Message-ID: <1476658125.3072.26.camel@mailup.net> (raw)
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.
next reply other threads:[~2016-10-16 22:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-16 22:48 Jim Gomi [this message]
2016-10-17 6:02 ` caching of passphrases for symmetrically encrypted files Eli Zaretskii
2016-10-18 13:13 ` Jim Gomi
2016-10-18 14:41 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1476658125.3072.26.camel@mailup.net \
--to=gomi@mailup.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.