Matt Corallo
d3c158f4cf
Move libaxolotl out-of-tree
2015-03-17 14:43:23 -07:00
lilia
b790f82849
Remove libaxolotl dependency on textsecure/errors.js
...
Let libaxolotl throw a generic error instead of a replayable error, and
add an helper function in libtextsecure's axolotl_wrapper to catch and
convert from the generic error to the replayable one. This allows the
ReplayableError to remain a libtextsecure-level concept only.
Somewhat unrelatedly, but nearby, fix some whitespace and add missing
semicolon.
2015-03-17 13:59:24 -07:00
lilia
676ad04958
Add device storage method to wipe an identity
2015-03-17 13:59:24 -07:00
Matt Corallo
2277b41639
Remove non-existant device messages
2015-02-26 12:13:56 -08:00
Matt Corallo
29192edcb8
Ignore END_SESSION on messages with a sync context
2015-02-26 12:11:04 -08:00
Matt Corallo
b356403061
De-duplicate registrationId in deviceObject
2015-02-12 15:12:01 -08:00
Matt Corallo
92d0de6837
[de]serialize sessions storage in device storage
2015-02-12 15:12:01 -08:00
Matt Corallo
1bef1ce5d3
Split out identity key storage from session storage
2015-02-12 15:12:01 -08:00
Matt Corallo
1806210b26
Rewrite most of the device storage stuff
2015-02-12 15:12:00 -08:00
Matt Corallo
30dd13e8e3
Return a function instead of a session in decryptWhisperMessage
2015-02-12 15:12:00 -08:00
Matt Corallo
3e648b0ea0
Move groups storage back to libtextsecure
2015-02-12 15:12:00 -08:00
Matt Corallo
04b2a13a75
Naively move device/session storage to wrapper
2015-02-12 15:11:59 -08:00
Matt Corallo
bb32a51d66
s/textsecure.protocol/axolotl.protocol/
2015-02-12 15:11:58 -08:00
Matt Corallo
c1907b14eb
Use axolotl.api for a few more things in libaxolotl/protocol.js
2015-02-12 15:11:58 -08:00
Matt Corallo
a9617068a2
Move key updating and retry handling to libtextsecure
2015-02-12 15:11:58 -08:00
Matt Corallo
184b1ec89c
Move protocol protobufs to libaxolotl/, handling DeviceControl
2015-02-12 15:11:58 -08:00
Matt Corallo
849fdb7ae4
Move group storage into window.axolotl
2015-02-12 15:11:57 -08:00