Commit Graph

49 Commits

Author SHA1 Message Date
Alan Evans
ca627780b8 Replace jcenter with maven. 2019-11-01 18:24:41 -04:00
Alan Evans
6c907e9163 Update to protobuf 3.10 lite. 2019-11-01 16:53:36 -04:00
Greyson Parrelli
3662b6d705 Update fingerprint generation interface.
With the introduction of UUIDs, we need to be able to generate
fingerprints from raw bytes, not just strings. In addition, we need to
be able to conditionally set the fingerprint version based on whether or
not we're using UUIDs.
2019-11-01 16:31:20 -04:00
Sebastian
f1a44edd6b Fix some Javadoc typos. 2019-11-01 13:11:32 -04:00
Alan Evans
f371478e17
Update gradle. 2019-10-31 16:56:53 -04:00
Moxie Marlinspike
179ecc71b3 Add some checks and public method 2018-09-21 13:54:29 -07:00
Moxie Marlinspike
c920fefbb0 Sanity check length when deserializing
// FREEBIE
2017-07-12 16:48:58 -07:00
Moxie Marlinspike
8408469776 Sort device consistency messages on vrf rather than signature
// FREEBIE
2017-06-23 09:11:47 -07:00
Moxie Marlinspike
370406c6f4 Add return value to save interface
// FREEBIE
2017-06-02 09:01:07 -07:00
Moxie Marlinspike
7d94f31a99 We no longer need to remove previous session states on identity
// FREEBIE
2017-05-30 11:27:25 -07:00
Moxie Marlinspike
1932e1a1ed Remote vestigial v2 cases
// FREEBIE
2017-05-24 17:50:43 -07:00
Moxie Marlinspike
6935c70081 Add identity trust checks to encrypt/decrypt
Now that we support interfaces for directional trust, this will
allow for more complicated trust decisions that might not only
happen at the moment of session creation.

// FREEBIE
2017-05-24 17:09:17 -07:00
Moxie Marlinspike
111df84ac0 Remove vestigial "last resort" prekey stuff that's no longer used
// FREEBIE
2017-05-19 11:30:09 -07:00
Moxie Marlinspike
51db4578ae Update IdentityKeyStore interface to support directional trust
1) Allow IdentityKeyStore to make trust decisions based on
   direction of received identity key (incoming vs outgoing)

2) Have IdentityKeyStore reflect whether a save operation reflects
   a replacement, and build in previous session cleanup to the
   library rather than leaving it as an application concern.

// FREEBIE
2017-05-19 11:23:00 -07:00
Moxie Marlinspike
dbbdb1f5d8 Remove identifiers from ScannableFingerprint
Although it helps to eliminate confusion when people inadvertantly
scan the wrong code, people might share the QR code image publicly
and inadvertantly publish their identifier.

// FREEBIE
2016-11-13 09:15:55 -08:00
Moxie Marlinspike
1b2be846be Allow fingerprint generation for collections of identity keys
// FREEBIE
2016-10-18 14:42:51 -07:00
Moxie Marlinspike
d84e141714 Add distinguishing commitment prefix and version
// FREEBIE
2016-10-18 13:37:49 -07:00
Moxie Marlinspike
9e66504e59 Update curve25519-java
// FREEBIE
2016-10-18 12:41:31 -07:00
Moxie Marlinspike
8a00482fbd Support for device consistency messages
// FREEBIE
2016-08-20 09:59:47 -07:00
Moxie Marlinspike
f92517c82a Remove old synchronous key exchange code
// FREEBIE
2016-08-12 17:31:55 -07:00
Moxie Marlinspike
8341af8c93 Make identity key store interface per-address
Optionally allow for per-device identity

// FREEBIE
2016-08-12 17:25:58 -07:00
Moxie Marlinspike
803dc5ba3a Update headers, add LICENSE file.
Fixes #22
Closes #23

// FREEBIE
2016-05-02 13:20:09 -07:00
Moxie Marlinspike
f7e13b3f2c Bump version to 2.2.0
// FREEBIE
2016-03-23 10:55:10 -07:00
Moxie Marlinspike
076a0f1588 Migrate protobufs to Signal Protocol naming
// FREEBIE
2016-03-22 15:50:21 -07:00
Moxie Marlinspike
891eb255f5 Migrate artifact configuration and README to Signal Protocol
// FREEBIE
2016-03-22 15:39:49 -07:00
Moxie Marlinspike
e4ae0419db Rename PreKeyWhisperMessage and WhisperMessage to Signal variants
// FREEBIE
2016-03-22 15:26:54 -07:00
Moxie Marlinspike
803f9c2adb Rename libaxolotl package to libsignal
// FREEBIE
2016-03-22 12:07:39 -07:00
Moxie Marlinspike
87b5b940fb Remove support for building v2
// FREEBIE
2016-03-11 17:11:30 -08:00
Moxie Marlinspike
f1ae9ac2a3 Mix public key into each iteration of numeric generation process
// FREEBIE
2016-01-30 13:28:57 -08:00
Moxie Marlinspike
b778f7dc47 Fix identity representation in fingerprint mismatch exception
// FREEBIE
2015-12-29 11:26:02 -08:00
Moxie Marlinspike
69c75b10ee More specific exception for invalid QR code
// FREEBIE
2015-12-18 00:22:08 -08:00
Moxie Marlinspike
074d079ed6 Add identifiers to fingerprint identifier mismatch exception
// FREEBIE
2015-12-16 22:58:35 -08:00
Moxie Marlinspike
0620b769ae Support for numeric fingerprint generation
// FREEBIE
2015-12-07 20:30:20 -08:00
Moxie Marlinspike
01bc1eb37b Cap message keys at 2000 per chain.
// FREEBIE
2015-09-15 14:32:51 -07:00
Moxie Marlinspike
0524281472 Sender keys are a queue, not a stack.
// FREEBIE
2015-09-15 10:33:56 -07:00
Moxie Marlinspike
75b1711de6 Reverse parameters for sender message key limit check.
// FREEBIE
2015-08-19 15:24:34 -07:00
Moxie Marlinspike
4b48599f89 Put identity key info in untrusted identity key exception.
// FREEBIE
2015-08-19 15:15:56 -07:00
Moxie Marlinspike
a0b679a157 Store a maximum of 5 SenderKeyStates in a record.
// FREEBIE
2015-08-19 15:15:18 -07:00
Moxie Marlinspike
a7b04fce19 Upgrade to Curve25519 0.2.4 2015-05-01 10:29:13 -07:00
Moxie Marlinspike
8335b0ef03 Throw NoSessionException in GroupCipher decrypt() 2015-04-06 12:28:16 -07:00
Moxie Marlinspike
3d9c944288 Add decryption callback to group decrypt operations. 2015-04-06 12:21:54 -07:00
Moxie Marlinspike
bf9c8708e0 Make it possible to deserialize SenderKeyDistributionMessages 2015-03-17 10:57:31 -07:00
Moxie Marlinspike
7262e6970b Move in memory data structures into project. 2015-03-04 18:49:20 -08:00
Moxie Marlinspike
327f82be41 Use more generic AxololAddress for identifying recipients. 2015-03-03 11:20:36 -08:00
Moxie Marlinspike
752f2dcf69 Update GroupSessionBuilder and GroupSessionCipher interfaces. 2015-02-11 13:39:10 -08:00
Moxie Marlinspike
81e91efb3a Fix for tests in Android Studio 2015-02-10 20:16:27 -08:00
Moxie Marlinspike
0ee1caa77b Switch to updated Curve25519 dependency. 2015-02-02 16:21:06 -08:00
Moxie Marlinspike
31cca7eaa5 Add license and javadoc to new artifacts. 2015-01-08 16:17:33 -08:00
Moxie Marlinspike
6445ea5f13 Break project up into Java and Android build/test. 2015-01-08 14:09:01 -08:00