lilia
359b4a15a2
Move group storage to axolotl store
...
Add async get/put/removeGroup to axolotl store and let libtextsecure
use it for group state storage.
2015-05-06 17:49:23 -07:00
lilia
f774047935
Make libtextsecure group storage asynchronous
2015-05-06 13:11:12 -07:00
lilia
43d6efcd9e
Don't save device objects to disk
...
Generate them from session and identity data. Save/delete pending prekey
data in an in-memory store and attach it to outgoing device objects.
2015-05-05 17:44:59 -07:00
lilia
121671c99f
Store identity keys in indexeddb
...
Let device storage request them from axolotl store rather than storing a
copy.
2015-05-05 17:44:58 -07:00
lilia
20ebc3f890
Move identity key storage functions to axolotl store
2015-05-05 17:44:58 -07:00
lilia
f38b18ef63
Move Session storage to axolotlstore
2015-05-05 17:44:57 -07:00
lilia
9de1572ba6
Convert all storage.devices methods to be asynchronous
2015-05-05 17:44:57 -07:00
lilia
71715c95bc
Async remove identity
2015-05-05 17:44:57 -07:00
lilia
26f1aa4db5
Async putSessionsForDevice
2015-05-05 17:44:57 -07:00
lilia
666f6baaca
Async getSessionsForNumber
2015-05-05 17:44:56 -07:00
lilia
96eafc7750
Integrate libaxolotl async storage changes
...
* Session records are now opaque strings, so treat them that way:
- no more cross checking identity key and session records
- Move hasOpenSession to axolotl wrapper
- Remote registration ids must be fetched async'ly via protocol wrapper
* Implement async AxolotlStore using textsecure.storage
* Add some db stores and move prekeys and signed keys to indexeddb
* Add storage tests
* Rename identityKey storage key from libaxolotl25519KeyidentityKey to
simply identityKey, since it's no longer hardcoded in libaxolotl
* Rework registration and key-generation, keeping logic in libtextsecure
and rendering in options.js.
* Remove key_worker since workers are handled at the libaxolotl level
now
2015-05-05 17:44:55 -07:00
lilia
37e09da1cc
Remove unsued argument from getDeviceObject
...
Last usage of the `returnIdentityKey` argument was removed in 8b9a16852
.
2015-04-20 17:20:58 -07:00
Matt Corallo
8b9a168524
Store session information separately
2015-03-25 11:56:28 -07:00
Matt Corallo
e33c6fddda
Do not rely on deviceObject.sessions anywhere in sendmessage
2015-03-25 11:56:27 -07:00
Matt Corallo
6c0f3ff1f0
Move session-storage logic to storage/devices from axolotl_wrapper
2015-03-25 11:56:27 -07:00
Matt Corallo
00cb420d37
Merge (un)encrypted storage layers
2015-03-25 11:56:25 -07:00
Matt Corallo
454b4726bd
Replace load/decode/index around our own number with helpers
2015-03-25 11:54:55 -07:00
Matt Corallo
e2e06b2d3c
Remove axolotl.storage usage from libtextsecure
2015-03-17 13:59:25 -07:00
lilia
676ad04958
Add device storage method to wipe an identity
2015-03-17 13:59:24 -07: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
7e3f1ef452
Actually store on removeDeviceIds
2015-02-12 15:12:00 -08:00
Matt Corallo
1806210b26
Rewrite most of the device storage stuff
2015-02-12 15:12:00 -08:00
Matt Corallo
bfb3e7751e
Add missing validity check to device storage
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
83c6fe9008
Moveish the first files to libaxolotl/
2015-02-12 15:11:57 -08:00
Matt Corallo
8ad1a38b5b
Move js files around for libtextsecure split
2015-01-14 09:35:57 -10:00