Commit Graph

22 Commits (07fd17ccda5b378a9359f5d4eecead7d2cc8a6ea)

Author SHA1 Message Date
Moxie Marlinspike 07fd17ccda Add padding for push messages.
1) Use 'bit padding.'

1) By default, pad at 160 byte increments.
11 years ago
Moxie Marlinspike fcaa3f0d73 Simplify HKDF interface. 11 years ago
Moxie Marlinspike 64b40df15b Add V3 support for KeyExchangeMessage case.
1) V3 KeyExchangeMessages can now contain signatures and
   verification tags.
11 years ago
Moxie Marlinspike 77ff9cece8 Add a 'verification tag' to incoming PreKeyWhisperMessage bundles. 11 years ago
Moxie Marlinspike 6326ef73f3 Split HKDF secret derivation and parsing. 11 years ago
Moxie Marlinspike f29d1e6269 Add support for a compliant HKDF implementation. 11 years ago
Moxie Marlinspike d6c5e92c9d Collapse RatchetingSessionV2 and RatchetingSessionV3. 11 years ago
Moxie Marlinspike 811479d168 Add first cut of protocol v3 support.
1) Use the new /v2/keys API for storing/retrieving prekey bundles.

2) For sessions built with PreKeyBundle and PreKeyWhisperMessage,
   use a v3 ratcheting session when available.
11 years ago
Moxie Marlinspike 2ed8d333d9 Add ed25519 11 years ago
Moxie Marlinspike 79020cd33c Better FS Locking. 11 years ago
Moxie Marlinspike c8757c2134 Make helper static. 11 years ago
Moxie Marlinspike 2a65257182 Add serialization helpers for IdentityKeyPair. 11 years ago
Moxie Marlinspike 931605a1c4 Move identity key verification into libaxolotol. With tests. 11 years ago
Moxie Marlinspike 81ae9af2e4 Add "last resort" PreKey generation to KeyHelper. 11 years ago
Moxie Marlinspike e84a0948e9 Update README 11 years ago
Moxie Marlinspike 5239b3e8f8 Add basic README. 11 years ago
Moxie Marlinspike a601c56af1 Collapse SessionRecord, SessionState, and PreKeyRecord interfaces. 11 years ago
Moxie Marlinspike 5a3c19fe3e Javadocs, and some minor refactoring. 11 years ago
Moxie Marlinspike af45e5d544 SessionBuilder improvements, more extensive SessionBuilder tests. 11 years ago
Moxie Marlinspike 72af8b11c2 Move session construction and KeyExchangeMessage into libaxolotl.
1) Add plain two-way key exchange support libaxolotl by moving
   all the KeyExchangeMessage code there.

2) Move the bulk of KeyExchangeProcessor code to libaxolotl
   for setting up sessions based on retrieved prekeys, received
   prekeybundles, or exchanged key exchange messages.
11 years ago
Moxie Marlinspike 14b8f97de2 Reorganize session store load/store operations. 11 years ago
Moxie Marlinspike d902c12941 Break core ratchet out into libaxolotol.
1) Break the core cryptography functions out into libaxolotol.

2) The objective for this code is a Java library that isn't
   dependent on any Android functions.  However, while the
   code has been separated from any Android functionality,
   it is still an 'android library project' because of the
   JNI.
11 years ago