emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Pushing *.org.gpg file to MobileOrg without prompting for the password
@ 2012-02-09 11:07 Juan Carlos Coruña
  0 siblings, 0 replies; only message in thread
From: Juan Carlos Coruña @ 2012-02-09 11:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]

Hi,

I'm trying to use a gpg encrypted file with MobileOrg, but whenever I
org-mobile-push emacs asks for the password to decrypt the gpg file. Maybe
it needs to inspect the file for building agendas.org, but in this case the
gpg file is my password safe and it does nothing to do with the agenda.

My emacs executes org-mobile-push at fixed intervals (with run-at-time) and
since it prompts for the password it keeps waiting for it and don't pushes
my org files until I am back on the computer and enter the password.

If I copy the gpg file to the org-mobile-directory it does not appear in
MobileOrg because it also must be included in index.org.
I need that the gpg file is included in the index.org in order to lookup my
password safe form the MobileOrg application (on Android).

This is the relevant configuration in .emacs:

(setq org-agenda-files (file-expand-wildcards "~/Dropbox/org/*.org"))
(setq org-mobile-files (cons "~/Dropbox/org/mysecrets.org.gpg"
     (org-agenda-files)))

(run-at-time "15 min" (* 30 60) 'org-mobile-push)
(add-hook 'kill-emacs-hook 'org-mobile-push)
(setq epa-armor t)

-- 
Juan Carlos Coruña: Magento, Python, Zope, Plone, Navision.
http://oggers-blog.blogspot.com

[-- Attachment #2: Type: text/html, Size: 2111 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-09 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-09 11:07 Pushing *.org.gpg file to MobileOrg without prompting for the password Juan Carlos Coruña

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).