all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Confused about oauth2.plstore
@ 2017-08-31 20:59 Julien Cubizolles
  0 siblings, 0 replies; only message in thread
From: Julien Cubizolles @ 2017-08-31 20:59 UTC (permalink / raw)
  To: help-gnu-emacs

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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-31 20:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-31 20:59 Confused about oauth2.plstore Julien Cubizolles

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.