lilia
c6bfdec84d
Remove blockingApproval
...
// FREEBIE
2017-08-04 12:03:25 -07:00
lilia
1b9eb83422
Update isTrustedIdentity for directional trust
...
// FREEBIE
2017-08-04 12:03:25 -07:00
lilia
3ca511a10a
Unwrap removeIdentityKey from calls to saveIdentity
...
saveIdentity is now reponsible for determining firstUse, so we must not remove
the existing key before updating it.
Previously, the implementation provided an extra check against overwritting an
existing key, but that should be done via isTrustedIdentity instead.
// FREEBIE
2017-08-04 12:03:25 -07:00
lilia
82469713d2
Update saveIdentity
...
Add support new blockingApproval and nonblockingApproval arguments
Populate the firstUse property on identity key records
Return whether an existing record was overwritten.
References
https://github.com/WhisperSystems/Signal-Android/commit/39d4a7#diff-69ede72c549da6bcbcd959935995b7e9R45
// FREEBIE
2017-08-04 12:03:25 -07:00
lilia
4d4dd3341f
Add isBlocking/isNonBlockingApprovalRequired
...
These analyse the identity key record and user preferences to determine whether
a key requires approval for sending.
// FREEBIE
2017-08-04 12:03:25 -07:00
lilia
16f3717824
Move refresh prekeys out of SignalProtocolStore
...
Use an event/listener instead
// FREEBIE
2017-05-23 11:08:23 -07:00
Scott Nonnenberg
3cfac58d78
Eliminate all console errors during test run
...
FREEBIE
2017-05-23 11:08:23 -07:00
lilia
aed5735620
Improve keychange notice reliability/perf
...
Bind a single listener to keychange events from the storage interface,
which then looks up relevant conversations and adds notices to them,
with tests.
Previously we would need to instantiate a conversation model in order to
start listening to its key change events. In practice this usually
happens at startup but we shouldn't rely on it, and it incurs higher
overhead since it creates a different listener for each conversation.
// FREEBIE
2017-05-09 15:41:41 -07:00
lilia
3c2b7c8cbd
Log missing signed prekey ids
...
// FREEBIE
2017-04-12 13:02:31 -07:00
lilia
bba25b22e2
Log session deletions
2017-02-28 11:29:26 -08:00
lilia
527e7878a8
Fix unresolved promise in removeSession
...
Previously if there was no session to remove, the promise returned from
removeSession would never resolve, potentially blocking sending for that
recipient until restart.
// FREEBIE
2017-02-28 11:29:26 -08:00
lilia
e0fd188d42
Add loadSignedPreKeys to SignalProtocolStore
2017-02-16 14:59:04 -08:00
lilia
54536360ff
Return created_at and keyId with signed prekeys
...
Use `.get()` rather than `attributes.property` access because created_at
may not be present for old keys
// FREEBIE
2017-02-15 13:44:31 -08:00
lilia
829d147d19
Add creation timestamps to signed keys
2017-02-14 15:26:34 -08:00
lilia
7fe708d195
Insert keychange advisories
...
On click, these open a verification panel for the relevant contact,
within this conversation.
// FREEBIE
2016-10-05 19:11:39 +09:00
lilia
aa42139477
Implement non blocking option
...
// FREEBIE
2016-10-05 19:10:20 +09:00
lilia
ce315f3f8e
Add Events to SignalProtocolStore
...
Allows triggering and listening for events.
// FREEBIE
2016-10-05 19:10:20 +09:00
lilia
0a7f203565
Log on session save failure
...
// FREEBIE
2016-06-29 18:22:27 -07:00
lilia
148bd32671
Update libsignal-protocol v0.10.0
...
* Changes policy for old session deletion
* Renames putIdentityKey to saveIdentity
* Remove device messages
// FREEBIE
2016-05-18 11:11:11 -07:00
lilia
e659104cbf
Add isTrustedIdentity to SignalProtocolStore
...
Adds a new required storage method for the protocol library.
// FREEBIE
2016-05-03 23:58:57 -07:00
lilia
70fe14e91b
Fix reference errors in isStringable
...
// FREEBIE
2016-04-26 15:15:28 -07:00
lilia
1d60dc38fb
Rename axolotl storage
...
// FREEBIE
2016-04-22 13:43:30 -07:00
lilia
b1d370755a
Rename AxolotlStore
...
// FREEBIE
2016-04-21 18:36:17 -07:00