js: expect additional 'info' to arrive on decrypt, too
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Fri, 17 Aug 2018 15:55:11 +0000 (17:55 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Fri, 17 Aug 2018 15:55:11 +0000 (17:55 +0200)
--

* src/permittedOperations.js: if decrypt includes a verification,
  this info needs to pass, too.

lang/js/src/permittedOperations.js

index 1c28ab8..676ebaf 100644 (file)
@@ -166,7 +166,8 @@ export const permittedOperations = {
             type: ['signature', 'ciphertext'],
             data: {
                 'data': 'string',
-                'base64':'boolean'
+                'base64':'boolean',
+                'info': 'object'
             }
 
         }