libsignal-protocol-javascript icon indicating copy to clipboard operation
libsignal-protocol-javascript copied to clipboard

Error -1 previous counter

Open ghbutton opened this issue 5 years ago • 1 comments

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 messages into the future!

ghbutton avatar Jun 28 '19 05:06 ghbutton

Created a PR with what I thought a fix might be: https://github.com/signalapp/libsignal-protocol-javascript/pull/67

ghbutton avatar Jun 28 '19 06:06 ghbutton