Niels Andriesse
c040ea1e5e
Clean up UI
2019-06-13 11:06:05 +10:00
Niels Andriesse
7493e037c9
Fix minor code style issues
2019-05-20 11:20:03 +10:00
Mikunj Varsani
c43295eb7c
Loki session reset ( #14 )
...
* Added session reset.
* Hooked up session reset internals to UI.
* Send empty message when we have received an end session message.
* Verify incoming PreKeyWhisperMessage.
* Fix indentations in SessionReset.md
2019-05-17 10:11:06 +10:00
Niels Andriesse
4da8d33932
Clean
2019-05-10 13:38:00 +10:00
Niels Andriesse
b42ae83538
Fix validation
2019-05-10 11:38:48 +10:00
Niels Andriesse
2b490b5ad5
Use MessageFetcherJob for message receiving & fix decoding bug
2019-05-10 11:17:09 +10:00
Niels Andriesse
574c72523b
Fix typo
2019-05-08 14:17:24 +10:00
Mikunj Varsani
f8a7c40914
Add decryption of friend request message type.
2019-05-08 11:03:35 +10:00
Matthew Chen
8110e0c765
Clean up usage of TSAccountManager.
2018-11-27 09:21:44 -05:00
Michael Kirk
f52a58e31e
Handle known sender
2018-11-16 17:22:40 -06:00
Michael Kirk
6c2dbbc7c3
verify envelope source before proceeding with error handling
2018-11-16 10:32:02 -06:00
Michael Kirk
3bef78335d
find -E . -type f -regex ".*\.(m|h|swift)" -exec sed -i "" -e "s/trywrapped_/throwswrapped_/g" {} \;
2018-10-30 11:35:34 -06:00
Michael Kirk
cb9aa6304c
find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \;
2018-10-30 11:35:34 -06:00
Michael Kirk
8d823193f1
Exception wrap WhisperMessage for Swift
2018-10-30 11:35:34 -06:00
Michael Kirk
1482c600b4
Exception wrap PreKeyWhisperMessage for Swift
2018-10-30 11:35:34 -06:00
Michael Kirk
60769a3d17
Exception wrap SessionCipher for Swift
2018-10-30 11:35:34 -06:00
Michael Kirk
e26db74fcd
only check prekeys when decrypting a PKWM
2018-10-29 13:38:59 -06:00
Matthew Chen
9d7c3afdaf
Show (threadless) error notifications for UD decrypt failures.
2018-10-16 11:00:38 -04:00
Matthew Chen
fab79e2673
Respond to CR.
2018-10-10 09:59:10 -04:00
Matthew Chen
75e59bbc6f
Discard self-sent messages during the decryption process.
2018-10-10 09:10:45 -04:00
Matthew Chen
e47b69e0aa
Send sync messages to self via UD (only); discard self-sent sync messages.
2018-10-10 09:10:45 -04:00
Matthew Chen
a697072271
Respond to CR.
2018-10-05 10:32:32 -04:00
Matthew Chen
f9e90215b3
Respond to CR.
2018-10-05 09:28:53 -04:00
Matthew Chen
ccb67f49a3
Fix issues in UD send & receive.
2018-10-04 11:56:37 -04:00
Matthew Chen
c856859fbd
Fix build breakage.
2018-10-04 11:56:21 -04:00
Matthew Chen
1b25a18e57
Respond to CR.
2018-10-04 11:50:22 -04:00
Matthew Chen
f0b16186cd
Respond to CR.
2018-10-03 10:08:45 -04:00
Matthew Chen
b8c5e14758
Apply UD trust root value for staging.
2018-10-03 09:34:16 -04:00
Matthew Chen
0c0d2a702e
Decrypt incoming UD messages.
2018-10-03 09:32:21 -04:00
Matthew Chen
3eb84ed0e0
Move message processing singletons to SSKEnvironment.
2018-10-03 09:25:29 -04:00
Matthew Chen
e1db60c1c0
Rework creation of singletons.
2018-09-19 15:11:26 -04:00
Matthew Chen
b883209f91
Refine logging.
2018-09-18 16:35:12 -04:00
Michael Kirk
920a82564f
Merge tag '2.29.3.3'
2018-09-15 09:17:08 -05:00
Michael Kirk
2c9d905a16
Message processor ignores messages from blocked group
2018-09-12 19:16:14 -05:00
Matthew Chen
3a12446be8
Modify environment accessors to use our 'shared' convention.
2018-09-07 16:20:41 -04:00
Matthew Chen
bd05cdc031
Rename TextSecureKitEnv to SSKEnvironment.
2018-09-07 16:19:00 -04:00
Michael Kirk
c7662b5a86
Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
...
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Matthew Chen
f473f60111
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
cc5a480baa
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
3a50377902
Apply OWS log functions in Objective-C.
2018-08-27 12:58:52 -04:00
Matthew Chen
713606271c
Rename fail macros in Obj-C.
2018-08-27 10:29:51 -04:00
Michael Kirk
c05700fd98
Log in OWSFail
...
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
2018-08-09 15:30:19 -06:00
Matthew Chen
ab31e5a07f
Code generate Swift wrappers for protocol buffers.
2018-08-03 14:05:20 -04:00
Matthew Chen
f814157a9e
Code generate Swift wrappers for protocol buffers.
2018-08-01 11:20:55 -04:00
Michael Kirk
b860dce7f9
Swift protos for Envelope
2018-07-25 13:04:26 -06:00
Matthew Chen
cc91cb3dbf
Respond to CR.
2018-07-18 13:57:22 -04:00
Matthew Chen
05a4222b2d
Streamline SignalRecipient.
2018-07-18 13:57:22 -04:00
Matthew Chen
d14f764b50
Streamline SignalRecipient.
2018-07-18 13:57:21 -04:00
Michael Kirk
872c89fbff
Update recipient devices on successful decrypt to avoid wasting a valid session
...
created by sender.
Make device set immutable.
2018-07-13 10:04:54 -06:00
Matthew Chen
c5981b164b
Notify users of corrupt messages.
2018-04-24 13:41:44 -04:00