all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Confused about oauth2.plstore
Date: Thu, 31 Aug 2017 22:59:57 +0200	[thread overview]
Message-ID: <877exjsbaq.fsf@free.fr> (raw)

I'm looking for some documentation/help about the oauth2.plstore file
used for authentication with the Google servers for instance (I'm
setting up https://github.com/dengste/org-caldav/). I've gathered that
some kind of public/private keys will be somehow encrypted into this
file to be decrypted when needed.

I actually have such a file on my system, even though I don't know what
for and when it was created. There is however a problem with it. When
org-caldav tries to use it, or when I run plstore-mode-toggle-display in
its buffer, I get the following error:

--8<---------------cut here---------------start------------->8---
epg-error "Decryption failed" ""
--8<---------------cut here---------------end--------------->8---

Here is what the file looks like (with personal data replaced by xs)

--8<---------------cut here---------------start------------->8---
;;; public entries -*- mode: plstore -*- 
(("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" :secret-access-token t :secret-refresh-token t))
;;; secret entries
"-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.11 (GNU/Linux)

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx
xxxxx
-----END PGP MESSAGE-----
"
--8<---------------cut here---------------end--------------->8---

Does it look right ? How can I further investigate this problem ? Is it
related to the GPG version : the file mentions 1.4.11 but the default is
2.1.15

Julien.




                 reply	other threads:[~2017-08-31 20:59 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

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

  git send-email \
    --in-reply-to=877exjsbaq.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.