]> git.eshelyaron.com Git - emacs.git/commit
auth-source: support JSON backend with .json extension
authorTed Zlatanov <tzz@lifelogs.com>
Tue, 19 Dec 2017 16:36:43 +0000 (11:36 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Tue, 19 Dec 2017 16:45:48 +0000 (11:45 -0500)
commit1d0a37f845dbdebee81bed4c3c104e752c95c44c
tree4d442eb768f1c6423e9e7112661c901e89af6e1f
parent56274bc0bbfe144ef4af08fc86e9455dabfccf30
auth-source: support JSON backend with .json extension

* lisp/auth-source.el (auth-source-backends-parser-file): Look
for .gpg extension and make backend decision without it. Add
JSON case to backends.

(auth-source-json-check): Parse JSON data.
lisp/auth-source.el