From fa1f0208a4a5b2e6dbc04f47b2a132e679daf3e0 Mon Sep 17 00:00:00 2001 From: Abhinav Adduri Date: Mon, 24 Jul 2017 12:16:01 -0700 Subject: [PATCH] added tagLength to fileReceiver --- frontend/src/fileReceiver.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/fileReceiver.js b/frontend/src/fileReceiver.js index ad1611df..882dcb2b 100644 --- a/frontend/src/fileReceiver.js +++ b/frontend/src/fileReceiver.js @@ -67,7 +67,8 @@ class FileReceiver extends EventEmitter { { name: 'AES-GCM', iv: hexToArray(fdata.iv), - additionalData: hexToArray(fdata.aad) + additionalData: hexToArray(fdata.aad), + tagLength: 128 }, key, fdata.data