[git] GPGME - branch, javascript-binding, updated. gpgme-1.11.1-75-gce0379d

by Maximilian Krambach cvs at cvs.gnupg.org
Tue Jul 17 11:09:11 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, javascript-binding has been updated
       via  ce0379d999039131c86dc0bb83e9b8edfee1c7d4 (commit)
      from  5213a599fea0da64560f935dffbf6b27a39d4850 (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 ce0379d999039131c86dc0bb83e9b8edfee1c7d4
Author: Maximilian Krambach <maximilian.krambach at intevation.de>
Date:   Tue Jul 17 11:07:49 2018 +0200

    js: fix getkeys with locate option
    
    --
    
    * src/Keyring.js:
      As locate will not work with the "secret" option, the first message
      cannot be reused, thus a new one must be created here

diff --git a/lang/js/src/Keyring.js b/lang/js/src/Keyring.js
index cefc812..f2a7138 100644
--- a/lang/js/src/Keyring.js
+++ b/lang/js/src/Keyring.js
@@ -68,8 +68,10 @@ export class GPGME_Keyring {
                     let secondrequest;
                     if (prepare_sync === true) {
                         secondrequest = function() {
-                            msg.setParameter('secret', true);
-                            return msg.post();
+                            let msg2 = createMessage('keylist');
+                            msg2.setParameter('keys', pattern);
+                            msg2.setParameter('secret', true);
+                            return msg2.post();
                         };
                     } else {
                         secondrequest = function() {

-----------------------------------------------------------------------

Summary of changes:
 lang/js/src/Keyring.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list