[git] GPGME - branch, master, updated. gpgme-1.11.1-235-gf62dd4b
by Maximilian Krambach
cvs at cvs.gnupg.org
Thu Aug 23 17:56:40 CEST 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".
The branch, master has been updated
via f62dd4bb27c36e44acf93af1daf24eefda3029c2 (commit)
from 352c53040d75e70dcda16c153d10c21e8eee0e01 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f62dd4bb27c36e44acf93af1daf24eefda3029c2
Author: Maximilian Krambach <maximilian.krambach at intevation.de>
Date: Thu Aug 23 17:55:35 2018 +0200
js: fix syntax inside Keyring methods
--
* recent changes in parameter calling led to a forgotten internal call
in getDefaultKey using old syntax (and failing in case a default key
is configured)
diff --git a/lang/js/src/Keyring.js b/lang/js/src/Keyring.js
index 5902708..2b57e63 100644
--- a/lang/js/src/Keyring.js
+++ b/lang/js/src/Keyring.js
@@ -185,7 +185,8 @@ export class GPGME_Keyring {
&& resp.option.value.length === 1
&& resp.option.value[0].hasOwnProperty('string')
&& typeof (resp.option.value[0].string) === 'string'){
- me.getKeys(resp.option.value[0].string, true).then(
+ me.getKeys({ pattern: resp.option.value[0].string,
+ prepare_sync: true }).then(
function (keys){
if (keys.length === 1){
resolve(keys[0]);
-----------------------------------------------------------------------
Summary of changes:
lang/js/src/Keyring.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list