From 2682f95a2b09b6c00f311fed7d28185fef70458a Mon Sep 17 00:00:00 2001 From: Abhinav Adduri Date: Mon, 10 Jul 2017 13:48:00 -0700 Subject: [PATCH] fixed for id/edge and removed some html --- frontend/src/upload.js | 1 - frontend/src/utils.js | 3 ++- views/index.handlebars | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/frontend/src/upload.js b/frontend/src/upload.js index ac17b2a1..ec0bfb8a 100644 --- a/frontend/src/upload.js +++ b/frontend/src/upload.js @@ -8,7 +8,6 @@ $(document).ready(function() { gcmCompliant().catch(err => { $('#page-one').hide(); $('#compliance-error').show(); - $('#compliance-error .send-new').hide() }) // reset copy button diff --git a/frontend/src/utils.js b/frontend/src/utils.js index 419f7b88..af0c9c99 100644 --- a/frontend/src/utils.js +++ b/frontend/src/utils.js @@ -46,7 +46,8 @@ function gcmCompliant() { { name: 'AES-GCM', iv: window.crypto.getRandomValues(new Uint8Array(12)), - additionalData: window.crypto.getRandomValues(new Uint8Array(6)) + additionalData: window.crypto.getRandomValues(new Uint8Array(6)), + tagLength: 128 }, key, new ArrayBuffer(8) diff --git a/views/index.handlebars b/views/index.handlebars index 6d6b89db..70742855 100644 --- a/views/index.handlebars +++ b/views/index.handlebars @@ -105,9 +105,6 @@ Encryption error
Your browser does not support gcm encryption. -
- Send another file -