We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b647e6 commit 663143dCopy full SHA for 663143d
1 file changed
src/comms/isocket-comms.js
@@ -97,8 +97,9 @@ class ISocketComms extends EventEmitter {
97
async decrypt(reply, sender){
98
if(this.aesStream){
99
debug('decrypting quantum aes')
100
+ console.log(reply, typeof reply)
101
- const contentBSON = await this.aesStream.decrypt( reply.data )
102
+ const contentBSON = await this.aesStream.decrypt( new Uint8Array(reply.data) )
103
const content = Routines.BSON.parseObject(new Routines.BSON.BaseParser( contentBSON ))
104
105
return content
0 commit comments