libsignal-protocol-javascript
libsignal-protocol-javascript copied to clipboard
This library is no longer maintained. libsignal-protocol-javascript was an implementation of the Signal Protocol, written in JavaScript. It has been replaced by libsignal-client’s typesafe TypeScript...
Here's the output of `grunt test`... ``` Loading "preen.js" tasks...ERROR >> ReferenceError: primordials is not defined Running "jshint:files" (jshint) task >> 15 files lint free. Running "jscs:all" (jscs) task >>...
Hey! I've recently started implementing End-to-end encryption using this library. However when implementing a multi-device scenario I constantly got errors about changing IdentityKeys. When I checked the source code of...
Importing/requiring `dist/libsignal-protocol.js` in Node fails even though the line ``` var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function'; ``` suggests the authors intended it to work...
Hey, I'm currently investigating using the library in a react native app. The JavaScriptCore runtime on iOS does not surface the WebCrypto apis though, so I'd have to create react...
is there a way to encrypt and send media files like pdf,png via this lib?
Thanks for this great library. I believe this is exactly what I need to send messages from my website. However, I don't understand how to implement it exactly. So I...
If we use arrow functions we won't need such kind of serial `bind` functions.
I believe there is an error when building the message to be sent in `SessionCipher::encrypt`. https://github.com/signalapp/libsignal-protocol-javascript/blob/f5a838f1ccc9bddb5e93b899a63de2dea9670e10/src/SessionCipher.js#L112 and https://github.com/signalapp/libsignal-protocol-javascript/blob/f5a838f1ccc9bddb5e93b899a63de2dea9670e10/src/SessionCipher.js#L119 set the `registrationId` of the message to be posted. This should be...
Sometimes when sending a message it will send -1 as the previous counter which, when encoded as a uint32 gets sent as 4294967295. This triggers the this error: `Over 2000...