[git] GPGME - branch, master, updated. gpgme-1.11.1-237-g138e1dd

[email protected] (by Maximilian Krambach)
Newsgroups gmane.comp.encryption.gpg.cvs
Message-ID <[email protected]>
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  138e1dde027338358a8da19ff8592b7369494534 (commit)
      from  a5f8dac77d50480a208c99398df323c58ce6dc58 (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 138e1dde027338358a8da19ff8592b7369494534
Author: Maximilian Krambach <[email protected]>
Date:   Fri Aug 24 10:33:42 2018 +0200

    js: add new options to permittedOperations
    
    --
    
    * reflecting the new optional strings accepted by the backend.
      'file_name' and 'sender' can be  used via the 'additional'
      parameter in encrypt operations

diff --git a/lang/js/src/permittedOperations.js b/lang/js/src/permittedOperations.js
index 6c05fc6..efb34f9 100644
--- a/lang/js/src/permittedOperations.js
+++ b/lang/js/src/permittedOperations.js
@@ -94,6 +94,12 @@ export const permittedOperations = {
             },
             'wrap': {
                 allowed: ['boolean']
+            },
+            'sender': {
+                allowed: ['string']
+            },
+            'file_name': {
+                allowed: ['string']
             }
         },
         answer: {

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

Summary of changes:
 lang/js/src/permittedOperations.js | 6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.