From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Saving gpg password on the file itself Date: Thu, 07 May 2015 15:36:28 +0200 Message-ID: <87sib833xf.fsf@web.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1431005825 15790 80.91.229.3 (7 May 2015 13:37:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 13:37:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 07 15:36:57 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YqLyz-00018E-EM for geh-help-gnu-emacs@m.gmane.org; Thu, 07 May 2015 15:36:57 +0200 Original-Received: from localhost ([::1]:51092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqLyy-00073D-Qi for geh-help-gnu-emacs@m.gmane.org; Thu, 07 May 2015 09:36:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqLyn-00072u-31 for help-gnu-emacs@gnu.org; Thu, 07 May 2015 09:36:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqLyf-0003yE-BQ for help-gnu-emacs@gnu.org; Thu, 07 May 2015 09:36:41 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqLyf-0003y8-4l for help-gnu-emacs@gnu.org; Thu, 07 May 2015 09:36:37 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YqLyd-0000sq-G9 for help-gnu-emacs@gnu.org; Thu, 07 May 2015 15:36:35 +0200 Original-Received: from dslb-088-067-098-163.088.067.pools.vodafone-ip.de ([88.67.98.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 May 2015 15:36:35 +0200 Original-Received: from michael_heerdegen by dslb-088-067-098-163.088.067.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 May 2015 15:36:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-067-098-163.088.067.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:miDGhxaRUnDK6c1K7NYCNmhqvx8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104268 Archived-At: Artur Malabarba writes: > I have a single encrypted file in my system, diary.org.gpg. > It's doesn't contain hugely sensitive information, and its password > does not coincide with any other password I use. > > I don't want to setup a whole encryption keychain (or whatever that > stuff is called) on my system, I'm fine with typing the password once > when I open the file. The only thing that bothers me, is typing it > twice every time I save. I assume you are using epa.el (here it is used automatically when working with gpg encrypted files). As you describe your situation, I guess you could be happy with (setq epa-file-cache-passphrase-for-symmetric-encryption t) You could also read (info "(epa) Caching Passphrases"). HTH, Michael.