From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.help Subject: Confused about oauth2.plstore Date: Thu, 31 Aug 2017 22:59:57 +0200 Message-ID: <877exjsbaq.fsf@free.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1504213303 7097 195.159.176.226 (31 Aug 2017 21:01:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 31 Aug 2017 21:01:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 31 23:01:39 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnWaj-0001OM-93 for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 23:01:33 +0200 Original-Received: from localhost ([::1]:57481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnWaq-0005Z6-EI for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2017 17:01:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnWZn-0005Ga-Cx for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 17:00:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnWZk-00086F-5w for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 17:00:35 -0400 Original-Received: from [195.159.176.226] (port=45227 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnWZj-00084a-VE for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 17:00:32 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dnWZM-0005gu-3F for help-gnu-emacs@gnu.org; Thu, 31 Aug 2017 23:00:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:QAm6YQCectTxQKwJCqL/L2OeuZs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114154 Archived-At: 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.