Commit Graph

361 Commits (777e7386a43f2a95aaf68fba5a07a3a45d10ecf3)

Author SHA1 Message Date
lilia d5f4665fa4 MessageReceiver uses SessionCipher to retry conflicts
// FREEBIE
10 years ago
lilia 9ecfe6acb0 Use SignalProtocolAddress in MessageReceiver constructor
// FREEBIE
10 years ago
lilia 213b44935d Update libsignal-protocol v0.8.0
Reorder identity key check
10 years ago
lilia eee93987f8 Update libsignal-protocol v0.7.0
Remove unused methods.

// FREEBIE
10 years ago
lilia 6266050a67 Remove unused jobqueue
// FREEBIE
10 years ago
lilia 050ea87aaf Get device ids instead of objects
// FREEBIE
10 years ago
lilia 7939b6ae98 Remove hasOpenSession from protocol_wrapper
// FREEBIE
10 years ago
lilia 0483fa2f97 Remove closeOpenSessionForDevice from protocol_wrapper
// FREEBIE
10 years ago
lilia 0d5ec60a7a Remove handlePreKeyWhisperMessage from protocol_wrapper
// FREEBIE
10 years ago
lilia 8010a09045 Remove decryptWhisperMessage from protocol_wrapper
// FREEBIE
10 years ago
lilia 891ddacd35 Remove processPreKey from protocol_wrapper
Use SessionBuilder directly instead of protocol_wrapper

// FREEBIE
10 years ago
lilia 843036f0ce Remove getRegistrationId and encryptMessageFor from protocol_wrapper
We can now use protocol classes like SessionCipher directly because it
supports per-device read/write serialization internally.

// FREEBIE
10 years ago
lilia 284cf5be3a Update libsignal-protocol v0.6.0
Adds session accessors on SessionCipher and an internal session lock to
replace the same implemented in protocol_wrapper.js

// FREEBIE
10 years ago
lilia 92293f9da9 Update libsignal-protocol v0.5.0
Renames libsignal.util to libsignal.KeyHelper.

// FREEBIE
10 years ago
lilia e68031019b Integrate libsignal.SessionCipher
Bypass the old protocolInstance wrapper methods and use the shiny new
SessionCipher class directly.

// FREEBIE
10 years ago
lilia 9e6ad27fc5 Update libsignal-protocol v0.4.0
// FREEBIE
10 years ago
lilia 418adff2a8 Rename device_storage_test.js
// FREEBIE
10 years ago
lilia 56238136ca Remove trivial wrapper method
// FREEBIE
10 years ago
lilia 78cdc0cb52 Remove tempKeys
Now that we simply establish and save a session via SessionBuilder
rather than saving the keys to pass in during encrypt, we can stop
caching them in memory in between the identity key check and the
encryption step.

// FREEBIE
10 years ago
lilia 519d3ec31b Update libsignal-protocol
// FREEBIE
10 years ago
lilia 9f871db48a Update libsignal-protocol / Update prekey format
Integrates change in prekey object formatting, which now matches more
conveniently with the representation rendered by the server.

// FREEBIE
10 years ago
lilia f173104c82 Tests for isTrustedIdentity
// FREEBIE
10 years ago
lilia b385b6e48e Update libsignal-protocol
SessionBuilder / SessionRecord refactor.

// FREEBIE
10 years ago
lilia e659104cbf Add isTrustedIdentity to SignalProtocolStore
Adds a new required storage method for the protocol library.

// FREEBIE
10 years ago
lilia 7dcaf721ca Add keepalive logging
// FREEBIE
10 years ago
lilia 91bdd37019 Fix tests
// FREEBIE
10 years ago
lilia b160556d6e Change filename
// FREEBIE
10 years ago
lilia 9a1a3bdf64 Rename axolotl to libsignal
// FREEBIE
10 years ago
lilia 6bffd50009 Fix comment
// FREEBIE
10 years ago
lilia 1d60dc38fb Rename axolotl storage
// FREEBIE
10 years ago
lilia ee3bc11e3c Rename axolotlInstance
// FREEBIE
10 years ago
lilia 0fe3497d0e Update libsignal-protocol
Remove remaining refs to axolotl from lsp.

// FREEBIE
10 years ago
lilia 4169336776 Update libsignal protobuf package name
// FREEBIE
10 years ago
lilia c1e1dd97ba Change libsignal-protocol filenames
// FREEBIE
10 years ago
lilia b1d370755a Rename AxolotlStore
// FREEBIE
10 years ago
lilia 1fe5d63015 Update protocol libs
Rename storage functions

// FREEBIE
10 years ago
lilia 6a928e3377 Fix reference error in MessageReceiver from fe82e4
Fix a reference error when resolving a key conflict on an incoming end
session message. See Signal-Android/5438.

// FREEBIE
10 years ago
lilia 2d6d2a92b9 Update libaxolotl
// FREEBIE
10 years ago
lilia af392c077d Update libaxolotl
// FREEBIE
10 years ago
lilia 7e2c6fd6bc Remove unused argument
// FREEBIE
10 years ago
lilia ddcdc9e2ff Log on prekey messages
// FREEBIE
10 years ago
lilia 960519d296 Add debug logging
// FREEBIE
10 years ago
lilia 2128ee63aa Update libaxolotl
// FREEBIE
10 years ago
lilia 84235ef58e Use forEach instead of loop
// FREEBIE
10 years ago
lilia c02054d5da Pass ciphertext as ArrayBuffer instead of string
// FREEBIE
10 years ago
lilia 6053fe67ba Use built-in string conversion on protobuf
In lieu of a global helper.

// FREEBIE
10 years ago
lilia 3e0bce2b21 Move, rename, and simplify toArrayBuffer helper
This function is only ever used to convert groupIds from strings to
array buffers in sendmessage.

// FREEBIE
10 years ago
lilia c22a205d2e Remove unnecessary conversion from test
// FREEBIE
10 years ago
lilia 7dff9ac51b Update libaxolotl
// FREEBIE
10 years ago
lilia 57d64fe669 Fix session corruption due to database races
Prevent races between encrypt and decrypt calls, and other read/write
operations on the session store by serializing session io ops per
device.

Possible fix for #535

// FREEBIE
10 years ago