all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Saving gpg password on the file itself
@ 2015-05-07  9:26 Artur Malabarba
  2015-05-07 13:36 ` Michael Heerdegen
  0 siblings, 1 reply; 9+ messages in thread
From: Artur Malabarba @ 2015-05-07  9:26 UTC (permalink / raw
  To: help-gnu-emacs

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'd like to keep the password written somewhere inside the file (at
the header or end-of-file comments). Then, whenever I save, Emacs
could read the password in the buffer and use that instead of
prompting me whenever I save. I understand the security implications
of that, and I'm fine with them.


My question here is just, "How can I send the password directly from
Emacs when saving the buffer, instead of being prompted for it by
gpg?"

All the rest (finding the password in the buffer) I can figure out
myself. I just got lost when trying to understand how Emacs interfaced
with gpg.


Cheers and Thanks,
Artur



^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.2531.1430990807.904.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2015-05-11 17:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-07  9:26 Saving gpg password on the file itself Artur Malabarba
2015-05-07 13:36 ` Michael Heerdegen
     [not found] <mailman.2531.1430990807.904.help-gnu-emacs@gnu.org>
2015-05-07 13:42 ` Ted Zlatanov
2015-05-07 16:09   ` Artur Malabarba
2015-05-09 16:40     ` Artur Malabarba
2015-05-09 17:07       ` Jorge A. Alfaro-Murillo
     [not found]     ` <mailman.2671.1431189609.904.help-gnu-emacs@gnu.org>
2015-05-11 15:32       ` Ted Zlatanov
2015-05-11 16:16         ` Artur Malabarba
     [not found]         ` <mailman.2789.1431361022.904.help-gnu-emacs@gnu.org>
2015-05-11 17:49           ` Ted Zlatanov

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.