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

Reply via email to