Commit Graph

21 Commits (e9a50ce6c3317430887c256a858fb2cda684b72b)

Author SHA1 Message Date
Moxie Marlinspike 4438b4ae69 Add a TrustManager that blacklists via serial numbers. 12 years ago
Benjamin Albrecht 0f6c7660cb Use modern icons in info and alert dialogs for ICS+ 12 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."
12 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.
12 years ago
Jake McGinty 9cd5a67ec5 directory changes to use number instead of token, group ui progress 12 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.
12 years ago
Moxie Marlinspike 49daa45dca wip 12 years ago
Moxie Marlinspike ce5f3c5157 Validate phone numbers when formatting. 12 years ago
Moxie Marlinspike a03fff8b24 Add HKDF support for new sessions. 12 years ago
Moxie Marlinspike 75cca3add1 Resign ourselves to a less sophisticated contact intersection method. 12 years ago
Moxie Marlinspike 5e6d39beea Move classes into library 12 years ago
Moxie Marlinspike 8f6590b738 Handle notifications and receiving push when locked. 12 years ago
Moxie Marlinspike 0dd36c64a4 Basic support for encrypted push-based attachments.
1) Move the attachment structures into the encrypted message body.

2) Encrypt attachments with symmetric keys transmitted in the
   encryptd attachment pointer structure.

3) Correctly handle asynchronous decryption and categorization of
   encrypted push messages.

TODO: Correct notification process and network/interruption
      retries.
12 years ago
Moxie Marlinspike 68ec0a3727 Add last resort key and signaling key. 12 years ago
Moxie Marlinspike d1969412fb Move PreKey ids to be Mediums, generate in circular buffer. 12 years ago
Moxie Marlinspike b8f663b69c Move common crypto classes into TextSecureLibrary.
1) Move all the crypto classes from securesms.crypto.

2) Move all the crypto storage from securesms.database.keys

3) Replace the old imported BC code with spongycastle.
12 years ago
Moxie Marlinspike fb378a6e00 Change attachment retrieval interface 12 years ago
Moxie Marlinspike 9287d413ac Support for incoming attachments.
1) Refactored MMS layer to use abstracted types.

2) Added support for retrieving attachment IDs.
12 years ago
Moxie Marlinspike 1ac06312a0 Move directory and push service socket into library. 12 years ago
Moxie Marlinspike a200d29514 Move most of Util into library 12 years ago
Moxie Marlinspike 21eee19380 Split into library project and add shared preferences layer of indirection. 12 years ago