From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84960 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.gnus.general Subject: Re: epg + pinentry + gnus Date: Thu, 18 Sep 2014 20:44:28 +0200 Message-ID: <87egv86a5v.fsf@micropit.roche-blanche.homenet.org> References: <87oaudtvoa.fsf@sergiodj.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1411065959 13072 80.91.229.3 (18 Sep 2014 18:45:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2014 18:45:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33204@lists.math.uh.edu Thu Sep 18 20:45:52 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XUgiC-0008Kj-SW for ding-account@gmane.org; Thu, 18 Sep 2014 20:45:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XUghG-0002EP-ET; Thu, 18 Sep 2014 13:44:50 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XUghE-0002EE-PN for ding@lists.math.uh.edu; Thu, 18 Sep 2014 13:44:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XUghC-0007wi-Em for ding@lists.math.uh.edu; Thu, 18 Sep 2014 13:44:48 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XUghA-00014w-GE for ding@gnus.org; Thu, 18 Sep 2014 20:44:44 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XUghA-00085r-6i for ding@gnus.org; Thu, 18 Sep 2014 20:44:44 +0200 Original-Received: from arennes-651-1-286-171.w2-11.abo.wanadoo.fr ([2.11.45.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Sep 2014 20:44:44 +0200 Original-Received: from pmlists by arennes-651-1-286-171.w2-11.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Sep 2014 20:44:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-286-171.w2-11.abo.wanadoo.fr User-Agent: Gnus/5.130012 (=?utf-8?Q?=E7=9C=9F?= Gnus v0.12) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:839Dcrnsvyiq6raIkiW+oLpoz+w= X-Spam-Score: -3.5 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84960 Archived-At: --=-=-= Content-Type: text/plain On Thu, Sep 18 2014, Sergio Durigan Junior wrote: > I use EasyPG (with gpg-agent) + Gnus, like many others, I believe. > However, there's one thing that I can't do: make Gnus (or epg, for that > matter) prompt me only once for the passphrase and then make gpg-agent > cache it. What happens instead is that whenever I open an encrypted > message, I see the passphrase prompt in the minibuffer. Just some ideas: - Keep passphrase in ram forever, put these lines in ~/.gnupg/gpg-agent.conf: default-cache-ttl 99999999 max-cache-ttl 99999999 - Allow preset passphrase for secret keys, put this in ~/.gnupg/gpg-agent.conf: allow-preset-passphrase - Apply passphrase to all secret keys at start of session, put this in ~/.xinitrc: SSH_ASKPASS=~/bin/askpass.lisp ssh-add (file ~/bin/askpass.lisp is attached) -- Peter --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=askpass.lisp Content-Transfer-Encoding: base64 IyEvdXNyL2Jpbi9zYmNsIC0tc2NyaXB0Cgo7OyB2aWVsbGVpY2h0IHNvOgo7OyBncGcgLS1saXN0 LXNlY3JldC1rZXlzIC0td2l0aC1maW5nZXJwcmludCAtLXdpdGgtZmluZ2VycHJpbnQgLS13aXRo LWNvbG9uCjs7IC0tbGlzdC1vcHRpb25zIG5vLXNob3ctdW51c2FibGUtdWlkcyxuby1zaG93LXVu dXNhYmxlLXN1YmtleXMgfCBzZWQgLXJuICdzL15mcHI6Ojo6Ojo6OjooLiopOi9cMS9wJwoKKGRl ZnZhciAqZmluZ2VycHJpbnRzKgogIChsaXN0ICJ4eHgiCiAgICAgICAgInl5eSIKICAgICAgICAi enp6IikpCgood2l0aC1vdXRwdXQtdG8tc3RyaW5nIChvdXQpCiAgKHJ1bi1wcm9ncmFtICIvdXNy L2xpYi9zc2gvc3NoLWFza3Bhc3MiIG5pbCA6b3V0cHV0IG91dCkKICAobGV0ICgocyAoZ2V0LW91 dHB1dC1zdHJlYW0tc3RyaW5nIG91dCkpKQogICAgKGRvbGlzdCAoZnAgZmluZ2VycHJpbnRzKQog ICAgICAod2l0aC1pbnB1dC1mcm9tLXN0cmluZyAoaW4gcykKICAgICAgICAocnVuLXByb2dyYW0g Ii91c3IvbGliNjQvZ3BnLXByZXNldC1wYXNzcGhyYXNlIiAobGlzdCAiLS1wcmVzZXQiIGZwKQog ICAgICAgICAgICAgICAgICAgICA6aW5wdXQgaW4gOm91dHB1dCBuaWwpKSkKICAgIChwcmluYyBz KSkpCg== --=-=-=--