From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Juan_Carlos_Coru=F1a?= Subject: Pushing *.org.gpg file to MobileOrg without prompting for the password Date: Thu, 9 Feb 2012 12:07:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0447a03df2245b04b886047e Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvRqk-0002Li-Ks for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 06:07:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvRqj-0006qt-6B for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 06:07:38 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:61018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvRqi-0006pj-Qf for emacs-orgmode@gnu.org; Thu, 09 Feb 2012 06:07:37 -0500 Received: by obbta7 with SMTP id ta7so2738644obb.0 for ; Thu, 09 Feb 2012 03:07:35 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --f46d0447a03df2245b04b886047e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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) --=20 Juan Carlos Coru=F1a: Magento, Python, Zope, Plone, Navision. http://oggers-blog.blogspot.com --f46d0447a03df2245b04b886047e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

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

My emacs executes org-mobile-push at fixed intervals (w= ith 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 e= nter the password.

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

This is the relevant configuration in .emacs:

(setq org-mobile-files= (cons "~/Dropbox/org/mysecrets.org.gpg"=A0
=A0 =A0 (org-agenda-files)))

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

--
Juan Carlos Coru=F1a: Magento, Python, Zope,= Plone, Navision.
--f46d0447a03df2245b04b886047e--