Commit Graph

82 Commits

Author SHA1 Message Date
Michael Kirk
1c9b907317 Only assert dispatch_queue in DEBUG
// FREEBIE
2017-04-07 12:45:55 -04:00
Michael Kirk
cbf2f47d59 Merge branch 'mkirk/mark-unfresh' 2017-03-31 12:36:07 -04:00
Michael Kirk
1fe2e238d3 Add method to explicitly mark session as unfresh
// FREEBIE
2017-03-30 16:24:59 -04:00
Michael Kirk
af1946846a Merge branch 'mkirk/promoting-sessions' 2017-03-30 13:30:17 -04:00
Michael Kirk
498b567d21 Become eventually consistent when remote has different session.
Promote a previous session to the active session if it successfully
decrypts a message.

// FREEBIE
2017-03-30 13:30:05 -04:00
Michael Kirk
f8272f3ea1 Merge pull request #18 from WhisperSystems/mkirk/add-logging
Add CocoaLumberjack
2017-03-30 11:01:59 -04:00
Michael Kirk
3b04acd9b3 Add CocoaLumberjack
Incidentally:
* Use podspec to determine dependencies
* Since AxolotlKit pod is a dev pod dependency of the AxolotlKit
  test-harness app, removed the redundant include of AxolotlKit files
  from the AxolotlKit test-harness app.

// FREEBIE
2017-03-29 18:42:59 -04:00
Michael Kirk
dcf226b659 Merge pull request #17 from WhisperSystems/mkirk/fix-warnings
Fixed warnings, update dependencies, Xcode
2017-03-29 11:47:51 -04:00
Michael Kirk
cf3671e35e Update to latest recommended xcodeproj (8.3) settings
// FREEBIE
2017-03-28 22:44:49 -04:00
Michael Kirk
34ef60c07f Ignore these unused variable warnings
Even though we're not currently using this variables, it makes sense to keep
the private/public key pairs if we want to do more future crypto tests that
would require them.

// FREEBIE
2017-03-28 22:34:18 -04:00
Michael Kirk
9fdcaa60f0 fix warnings: implement unimplemented protocol methods
// FREEBIE
2017-03-28 22:24:50 -04:00
Michael Kirk
8d92bc7144 correct capitalization of import
not a problem on case-insensitive file systems, but weird none-the-less.

// FREEBIE
2017-03-28 21:57:00 -04:00
Michael Kirk
19b5a67b2c Add remaining nullability annotations to fix nullability warnings
// FREEBIE
2017-03-28 21:56:35 -04:00
Michael Kirk
3323ddb12b Compatible with XCode 8.3
//FREEBIE
2017-03-28 21:46:09 -04:00
Michael Kirk
dc038ad497 update test app dependencies
// FREEBIE
2017-03-28 21:04:31 -04:00
Michael Kirk
23a5d1b67a Store session *after* saving new identity.
// FREEBIE
2017-03-20 11:26:10 -04:00
Michael Kirk
a3c843cc8a Merge branch 'release/2.7.1' 2017-02-15 18:30:40 -05:00
Matthew Chen
bb770b6a1c Clean up the prekeys.
// FREEBIE
2017-02-14 18:28:56 -05:00
Matthew Chen
945c04f9e7 Merge branch 'feature/prekey_' 2017-02-10 16:17:14 -05:00
Michael Kirk
9f55b0044e Clean up prekey logic.
// FREEBIE
2017-02-10 16:16:24 -05:00
Matthew Chen
968941c84f Merge branch 'charlesmchen/clangFormat' 2017-02-10 13:57:02 -05:00
Matthew Chen
c420c5b5ad Add .clang-format file.
// FREEBIE
2017-02-10 13:53:27 -05:00
Matthew Chen
ce297c233d Merge branch 'charlesmchen/prekeys' 2017-02-10 13:36:55 -05:00
Matthew Chen
8b723e58f0 Respond to CR.
// FREEBIE
2017-02-10 13:34:05 -05:00
Matthew Chen
f70cfcf0f4 Constant-ize the prekey id of the local "prekey of last resort."
// FREEBIE
2017-02-10 13:14:14 -05:00
Michael Kirk
919d541d6b update testing dependencies
// FREEBIE
2017-01-25 10:53:26 -05:00
Michael Kirk
ca733001b8 Prevent session corruption by using a consistent queue.
Assert that session state manipulation happens on a consistent queue.
Hopefully this will sidestep any issues related to corrupting session
state.

// FREEBIE
2017-01-25 10:53:26 -05:00
Michael Kirk
714f5ebe19 Copy states to avoid crash when saving while mutating in another thread.
A number of places mutate this object. Make sure the encoding process
has it's own copy.

// FREEBIE
2016-12-15 22:30:35 -06:00
Michael Kirk
6cc64d588d Fix tests, update cocoapods
// FREEBIE
2016-12-15 22:30:35 -06:00
Moxie Marlinspike
66090bb109 Let's be bold
// FREEBIE
2016-06-13 12:03:07 -07:00
Moxie Marlinspike
9ef20523cd Point new applications to libsignal-protocol-c
// FREEBIE
2016-06-13 12:02:25 -07:00
Moxie Marlinspike
9a3b654ba9 SignalProtocolKit repository renaming
// FREEBIE
2016-03-30 11:18:45 -07:00
Frederic Jacobs
0acacd2012 AxolotlStore needs to be defined in SessionBuilder. 2015-12-05 22:32:32 +01:00
Frederic Jacobs
ffc922b8f1 Upgrading dependencies and passing infer tests. 2015-06-14 13:18:27 +02:00
Frederic Jacobs
9c646e49a6 Upgrading 25519 dependency 2015-06-14 13:18:27 +02:00
Frederic Jacobs
d6cd482d9b Upgrading 25519 dependency 2015-05-12 18:56:36 +02:00
Frederic Jacobs
4acd6418f6 Update README.md 2015-04-28 19:34:14 +02:00
Frederic Jacobs
d47fad27c5 NSSecureCoding serialization of PreKeyBundles. 2015-02-15 22:11:26 +01:00
Frederic Jacobs
7122ea0f2d Adding remoteRegistrationId interface on SessionCipher objects. 2015-02-15 16:57:52 +01:00
Frederic Jacobs
fc2b2f9195 ProtocolBuffers specification. 2015-01-28 23:07:32 -10:00
Frederic Jacobs
cd46ff4f89 Fixing link 2015-01-14 10:02:54 +01:00
Frederic Jacobs
8347c85438 Adding missing MessageKeys serialization 2014-12-31 21:18:59 +01:00
Frederic Jacobs
c89128029d Adding tests for out of order message decryption 2014-12-31 20:52:20 +01:00
Frederic Jacobs
a1fb9e4d92 Random bug fixes
Update .travis.yml

Update .travis.yml

Some fixes
2014-11-27 03:05:14 +01:00
Frederic Jacobs
9421f39cbc String contact identifiers
Chose contact identifiers as strings, should help to move it to email
identifiers.
2014-11-17 23:32:04 +01:00
Frederic Jacobs
dc2cc60848 Fixing Podspec 2014-11-14 22:20:51 +01:00
Frederic Jacobs
fba2b740a7 Fixing Travis link after transfer to OWS repo 2014-11-13 18:27:31 +01:00
Frederic Jacobs
7d754356a9 Serialization of RootKey 2014-11-12 01:59:25 +01:00
Frederic Jacobs
5ab203c4e1 localRegistrationId should be int 2014-11-06 22:35:52 +01:00
Frederic Jacobs
7ba1f8b7c0 Change registrationIDs to int 2014-11-06 21:35:44 +01:00