emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Carlos Coruña" <oggers@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Pushing *.org.gpg file to MobileOrg without prompting for the password
Date: Thu, 9 Feb 2012 12:07:34 +0100	[thread overview]
Message-ID: <CAHW4Wo1pCWtGigevknh8+kFPe1ZPh2o5hTPVtp9Lv-c+ytchBA@mail.gmail.com> (raw)

[-- 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 --]

                 reply	other threads:[~2012-02-09 11:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHW4Wo1pCWtGigevknh8+kFPe1ZPh2o5hTPVtp9Lv-c+ytchBA@mail.gmail.com \
    --to=oggers@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).