Commit Graph

99 Commits (c719a48a2ca867b6ff23d4bb09bacc800ede12e8)

Author SHA1 Message Date
Jake McGinty de90222c95 Upgrade android plugin to stay compatible with latest Android Studio
// FREEBIE
11 years ago
Jake McGinty ce7b8ab75a new passphrase prompt activity
// FREEBIE
11 years ago
Moxie Marlinspike 0574ec170a Display legacy message error when V1 message is received. 11 years ago
Moxie Marlinspike cebad39422 Collapse some v2 interfaces now that there's no v1. 11 years ago
Moxie Marlinspike 1d07ca3e6f Remove V1 code. 11 years ago
Moxie Marlinspike 4438b4ae69 Add a TrustManager that blacklists via serial numbers. 11 years ago
Jake McGinty 832763f695 UX for unencrypted fallback case 11 years ago
Moxie Marlinspike 5a3daf4846 Curve25519 keys to 1 mod 8 for ephemerals. 11 years ago
Moxie Marlinspike fd1a18d2d0 Don't display duplicate push messages. 11 years ago
Moxie Marlinspike ad5d6d5bb7 Add refresh path for PreKey queue. 11 years ago
Moxie Marlinspike 926d3c929f Handle simultaneous initiate protocol case.
1) Modify SessionRecord to store a list of "previous" sessions
   in addition to the current active session.  Previous sessions
   can be used for receiving messages, but not for sending
   messages.

2) When a possible "simultaneous initiate" is detected, push the
   current session onto the "previous session" stack instead of
   clearing it and starting over.

3) Additionally, mark the new session created on a received
   possible "simultaneous initiate" as stale for sending.  The
   next outgoing message would trigger a full prekey refresh.

4) Work to do: outgoing messages on the SMS transport should
   probably not use the existing session if it's marked stale
   for sending.  These messages need to fail and notify the user,
   similar to how we'll handle SMS fallback to push users before
   a prekey session is created.
11 years ago
Jake McGinty 11cfc4f1a1 upgrade gradle version
// FREEBIE
11 years ago
Moxie Marlinspike 0850f1b0f1 Add libcurve25519 bins.
// FREEBIE
11 years ago
Florian Walch 1ddc45fd9c Build native code for multiple architectures.
* Include native libs without requiring intermediate .jar.
 * Fix build warnings; use latest build tools.
11 years ago
Benjamin Albrecht 0f6c7660cb Use modern icons in info and alert dialogs for ICS+ 11 years ago
Moxie Marlinspike 20fd881613 Display error code from server when already registered elsewhere. 11 years ago
Moxie Marlinspike 559228af5b Fix for bug modifying immutable list. 11 years ago
Moxie Marlinspike e8a0fac05b Fix for identity key mismatch on devices with V1 identities. 11 years ago
Moxie Marlinspike ca2eecaedf Add advanced preference for refreshing push directory. 11 years ago
Moxie Marlinspike a6e1d56cde Refactor group messaging protocol.
// FREEBIE
11 years ago
Moxie Marlinspike 19dddd7adf Support for an 'end session' protocol message.
1) On the push side, this message is a flag in PushMessageContent.
   Any secure message with that flag will terminate the current
   sessin.

2) On the SMS side, there is an "end session" wire type and
   the convention that a message with this wire type must be
   secure and contain the string "TERMINATE."
11 years ago
Jake McGinty 649f037ed8 apply same fix used on DecryptingPartInputStream to AttachmentCipherInputStream // FREEBIE 11 years ago
Jake McGinty d19ab04bdd gradle wrapper 1.10, android plugin 0.8, android support 19.0.1 //
FREEBIE
11 years ago
Moxie Marlinspike 3999171377 Introduce registration-time ID for detecting stale sessions.
1) At registration time, a client generates a random ID and
   transmits to the the server.

2) The server provides that registration ID to any client
   that requests a prekey.

3) Clients include that registration ID in any
   PreKeyWhisperMessage.

4) Clients include that registration ID in their sendMessage
   API call to the server.

5) The server verifies that the registration ID included in
   an API call is the same as the current registration ID
   for the destination device.  Otherwise, it notifies the
   sender that their session is stale.
11 years ago
Moxie Marlinspike 9bb327db42 Handle SMS fallback preferences correctly, and fix directory sync. 11 years ago
Moxie Marlinspike b9f4fba98a Handle identity key mismatch on outgoing group messages.
Additionally, make the group creation process asynchronous.
11 years ago
Moxie Marlinspike 7d3a2acb29 Fix build 11 years ago
Moxie Marlinspike 9438973eac Switch to protobuf enums for push signal type. 11 years ago
Jake McGinty b4a4e629f1 alignment and string work 11 years ago
Jake McGinty 9cd5a67ec5 directory changes to use number instead of token, group ui progress 11 years ago
Moxie Marlinspike 0af473d880 Merge branch 'groups' of github.com:WhisperSystems/TextSecure into groups 11 years ago
Moxie Marlinspike 0ace469d74 Support for multi-device.
1) In addition to the Recipient interface, there is now
   RecipientDevice.  A Recipient can have multiple corresponding
   RecipientDevices.  All addressing is done to a Recipient, but
   crypto sessions and transport delivery are done to
   RecipientDevice.

2) The Push transport handles the discovery and session setup
   of additional Recipient devices.

3) Some internal rejiggering of Groups.
11 years ago
Jake McGinty 9fd2c4753e ui wip 11 years ago
Moxie Marlinspike 49daa45dca wip 11 years ago
Moxie Marlinspike 71664926e9 Better handling for unregistered users on outgoing message. 11 years ago
Moxie Marlinspike 3c3028c8e3 Typo 11 years ago
Moxie Marlinspike 842df1ac39 Remove receiver chains that are 5 old. 11 years ago
Moxie Marlinspike ff0dff745c Let's order 3DHE by Alice/Bob roles. 11 years ago
Moxie Marlinspike d4188c4a1c SHA256 attachment MACs. 11 years ago
Moxie Marlinspike f002072f38 New attachment API 11 years ago
Moxie Marlinspike 72be77b47e Catch bad prekeys 11 years ago
Moxie Marlinspike 327ee4ff62 Remove unnecessary classes, up prekey limit to 100 11 years ago
Moxie Marlinspike 1ab4e7e9de Library accepts push connection certificate as argument. 11 years ago
Moxie Marlinspike ce5f3c5157 Validate phone numbers when formatting. 11 years ago
Moxie Marlinspike f7b71e5e28 Add info to MessageKey HKDF, change order of RootKey derivation. 11 years ago
Moxie Marlinspike 44092a3eff Support for Axolotl protocol.
1) Split code into v1 and v2 message paths.

2) Do the Axolotl protocol for v2.

3) Switch all v2 entities to protobuf.
11 years ago
Moxie Marlinspike dc73bc2a5c Having calling code specify push URL to library. 11 years ago
Moxie Marlinspike f8dda5afd6 Missing comma 11 years ago
Moxie Marlinspike 7e926d08ac Better relay handling. 11 years ago
Moxie Marlinspike f10d6a7b0b Lets use strict wildcard matching. 11 years ago