Commit graph

488 commits

Author SHA1 Message Date
Michael Kirk
39a73abcee update pods 2018-09-28 15:28:43 -06:00
Matthew Chen
90e7d9fbb6 Update AxolotlKit. 2018-09-27 15:52:59 -04:00
Matthew Chen
66fc389fba Get SSK tests building and running. 2018-09-21 09:08:39 -04:00
Matthew Chen
c7eb80700e Fix memory leak in Curve25519Kit. 2018-09-20 08:59:32 -04:00
Michael Kirk
60a6128afd Remove SSK tests from Signal-iOS xcode test run
Firstly, they aren't compiling (and haven't been for a while), and thus prevent
iOS tests from running and being written. This can and should be fixed.

Secondly, they don't respect the ubsan.supp file. I'm not sure how to fix this.
We may just not be able to run the SSK tests as part of the Signal-iOS test
runner, and instead have to revert to running them from within a separate test
app.
2018-09-17 12:37:51 -06:00
Matthew Chen
9b94580dae Update assertions.
* Streamline precompiled headers.
* Remove obsolete assertions in Constraints.h.
2018-09-14 14:30:06 -04:00
Michael Kirk
6d92413931 WIP: Run SSK tests
This just configures them to run. They're very broken at the moment.
2018-08-31 12:35:32 -04:00
Matthew Chen
e5eda8b45d Add convenience initializers to proto wrappers. 2018-08-08 13:08:47 -04:00
Michael Kirk
9662b3cb1e Wait a week before nagging when a new release comes out 2018-08-08 10:26:00 -06:00
Matthew Chen
a5ffbdebb3 Remove Obj-c proto parser. 2018-08-07 15:10:48 -04:00
Michael Kirk
495c334d14 update pods
// FREEBIE
2018-08-06 14:16:44 -06:00
Matthew Chen
d709a02493 Clean up formatting. 2018-08-06 09:02:40 -04:00
Michael Kirk
f633ebe2d9 update socketrocket 2018-08-03 14:41:06 -06:00
Michael Kirk
a7bc023526 update pods 2018-08-03 14:24:44 -06:00
Michael Kirk
df01c7e63e Update to latest YapDB (with Signal patches applied)
Applied branches:

- mkirk/invalidFinalIndices
- mkirk/upstream-unencrypted-headers

Also fixed up test suite.
2018-08-03 14:09:35 -06:00
Michael Kirk
b860dce7f9 Swift protos for Envelope 2018-07-25 13:04:26 -06:00
Matthew Chen
25a98554b7 Intern JSQMessagesViewController. 2018-07-23 13:48:24 -04:00
Matthew Chen
819c2b1ceb Remove Twisted Oak. 2018-07-23 13:24:33 -04:00
Michael Kirk
77997639f5 Use CurrentAppContext instead of compiler flag to affect test behavior 2018-07-18 10:24:08 -06:00
Michael Kirk
d423d3487f Disable swift optimizations for tests
Otherwise step-through debugging is untenable

// FREEBIE
2018-06-12 15:27:13 -04:00
Michael Kirk
6b43199ba1 Full text search pods changes
// FREEBIE
2018-06-11 09:58:36 -04:00
Michael Kirk
51747deeb7 update openssl 2018-06-01 12:57:25 -04:00
Matthew Chen
2ed80eb2dc Update cocoapods. 2018-05-25 12:32:22 -04:00
Matthew Chen
0131b8de2d Update cocoapods. 2018-04-27 12:42:23 -04:00
Matthew Chen
1395a6c37b Respond to CR. 2018-04-24 11:42:04 -04:00
Michael Kirk
eae2fa27b3 Update pods
// FREEBIE
2018-04-04 12:37:17 -04:00
Michael Kirk
00e5e1b0d6 Fixup some tests
// FREEBIE
2018-04-03 11:29:05 -04:00
Matthew Chen
e12a1e984a Work on two-factor auth settings UI. 2018-03-01 15:38:59 -05:00
Matthew Chen
710d164186 Update minimum iOS version to 9.0. 2018-02-26 14:13:38 -05:00
Matthew Chen
e411bd5ee5 Update cocoapods. 2018-02-13 10:53:37 -05:00
Matthew Chen
b64528e817 Respond to CR. 2018-02-09 10:42:25 -05:00
Matthew Chen
122ef91e57 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Michael Kirk
6f959ff292 CR: be more conservative about deriving key spec, clear old passphrase
after deriving key spec.

// FREEBIE
2018-01-31 17:22:42 -08:00
Michael Kirk
426c9baa16 Key material changes
- For new installs, generate raw key-spec rather than derive it
- Adapt to separated concerns of the key derivation migration from the unencrypted header migration
- Reduce number of places where we delete/generate keying information
- Only store relevant keying material

// FREEBIE
2018-01-31 16:08:03 -08:00
Michael Kirk
938b9c85b8 Don't crash on clean install
Otherwise we'll error when retrieving non-existent password.

// FREEBIE
2018-01-31 13:28:14 -08:00
Matthew Chen
96b7dc5163 Update YapDatabase to reflect CR. 2018-01-30 10:26:33 -05:00
Matthew Chen
3c2b5e54d9 Add more logging to database conversion. 2018-01-29 09:37:09 -05:00
Matthew Chen
513ba5776b Update OpenSSL build. 2018-01-25 12:53:38 -05:00
Matthew Chen
21a0106722 Update reference to YapDatabase. 2018-01-25 12:45:30 -05:00
Matthew Chen
d8f72dbec5 Clean up ahead of PR. 2018-01-25 11:07:22 -05:00
Matthew Chen
c5079ed3d7 Add support for key specs. 2018-01-25 11:00:38 -05:00
Matthew Chen
dc73342573 Convert databases if necessary. 2018-01-25 11:00:38 -05:00
Matthew Chen
63dc3391be Update OpenSSL to new version, app extension compliant. 2018-01-12 17:19:32 -05:00
Matthew Chen
8769fb07cf Write backup to encrypted zip. 2018-01-11 10:40:49 -05:00
Matthew Chen
c8351cef57 Update YapDatabase. 2017-12-15 11:11:04 -05:00
Michael Kirk
a58f1f385c Share a photo from photos app
Shows the conversation picker, and sends the attachment to that
conversation.

There's still a lot TODO

-[ ] resolve JSQ dependency
-[ ] properly wait for app to load
-[ ] dismiss share extension after send is complete
-[ ] support non jpeg file types
-[ ] Fix device sleep manager

// FREEBIE
2017-12-07 10:13:06 -05:00
Michael Kirk
f781199e27 ignore warnings in AFNetworking
// FREEBIE
2017-12-07 10:12:23 -05:00
Michael Kirk
08c324f948 Fix compiler warnings around ambiguous macro redefinition.
LMK if there's a better way to do this, which doesn't involve requiring
modules.

// FREEBIE
2017-12-04 12:50:28 -05:00
Matthew Chen
e7b32899cb Sketch out SAE load screen; make a number of infrastructure changes. 2017-12-01 09:37:52 -05:00
Michael Kirk
7ca314aa28 Use up-to-date framework friendly OpenSSL
// FREEBIE
2017-11-30 09:43:17 -08:00