[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Pushing *.org.gpg file to MobileOrg without prompting for the passwo

From: Juan Carlos Coruña
Subject: [O] Pushing *.org.gpg file to MobileOrg without prompting for the password
Date: Thu, 9 Feb 2012 12:07:34 +0100


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" 

(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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]