From 3cbafb97ec4d94c1b9a2232a74f19f432ba67384 Mon Sep 17 00:00:00 2001 From: Maximilian Krambach Date: Fri, 17 Aug 2018 18:25:57 +0200 Subject: [PATCH] js: correct decrypt result info (2) -- * the permittedOperation from last commit ended up in the wrong place. sign does not return an additional 'info' object. --- lang/js/src/permittedOperations.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/js/src/permittedOperations.js b/lang/js/src/permittedOperations.js index 676ebaf0..f9145dab 100644 --- a/lang/js/src/permittedOperations.js +++ b/lang/js/src/permittedOperations.js @@ -127,7 +127,8 @@ export const permittedOperations = { 'data': 'string', 'base64': 'boolean', 'mime': 'boolean', - 'signatures': 'object' + 'signatures': 'object', + 'info': 'object' } } }, @@ -166,8 +167,7 @@ export const permittedOperations = { type: ['signature', 'ciphertext'], data: { 'data': 'string', - 'base64':'boolean', - 'info': 'object' + 'base64':'boolean' } }