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 -