aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-10-01 22:14:02 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-10-01 22:14:05 -1000
commit2b8560d33db86408a74483d016975591a46765ea (patch)
treec1f89cf88b42030258efdf148946e47216554497
parentfc800407c0f45352ee533769fe96a8c339501a34 (diff)
downloadpatchfoo-2b8560d33db86408a74483d016975591a46765ea.tar.gz
patchfoo-2b8560d33db86408a74483d016975591a46765ea.zip
remove console.error
-rw-r--r--lib/app.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index 2ded278..ed936ec 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -111,7 +111,6 @@ App.prototype.unboxContentWithKey = function (content, key, cb) {
try {
var contentBuf = new Buffer(content.replace(/\.box.*$/, ''), 'base64')
var keyBuf = new Buffer(key, 'base64')
- console.error(key, keyBuf.length)
data = PrivateBox.multibox_open_body(contentBuf, keyBuf)
if (!data) return cb(new Error('failed to decrypt'))
data = JSON.parse(data.toString('utf8'))