Proto commits in davidgfnet/whatsapp-purple

These 6 commits are when the Protocol Buffers files have changed:

Commit:6cde8b4
Author:David Guillen Fandos

Adding location reception since it seems to use E2E ono 1:1 chats. Retries don't work for location messages and I have no idea why. I think it's time to move to persistent axolotl store :D

The documentation is generated from this commit.

Commit:8941e55
Author:David Guillen Fandos

Axolotl mostly working so far we have: - Able to receive message from individuals AND groups. + Group messaging can be processed through pkmsg and skmsg - Able to process images and get key+iv, decoding is done online at davidgf.net + Add the option to download file (as file transfer) so we get everything done localy (less practical but more private) - Got rid of OpenSSL dependency by adding AES implementation + Using public domain impl, no isssues with licensing. - Still lots of debug shit around - Sending ciphered messages is yet to be worked. Sending to individuals fails sometimes: need to add plaintext fallback. Need to also add group support.

Commit:f66099e
Author:David Guillen Fandos

Adding some support for group axolotl messages (not working yet). Removing some openssl dependencies (all of them but AES cipher).

Commit:f4a7025
Author:David Guillen Fandos

Many improvements in axolotl support. Some work on ciphered image reception (seems that video and audio are not axolotl for now). Update Android version resource. Adding some options regarding e2e crypto. Just realised we use openssl, trying to get rid of it (started with random, will try to do the same with HMAC-SHA256 and then AES). Fixed Makefiles to statically link axolotl-cpp and curve libs. Fixed and moved to InMemory Axolotl Store (removes sqlite and vsqlite++ dependencies but makes keys ephemeral, which can be good or bad, depends really). Todo: - Finish text and image reception (almost there) - Remove openssl dependency (for windows and to keep dependencies to minimum). - Check and add group messaging support! Haven't tested it really - Protobuffer messages for images are a bit dodgy, it seems to me the proto file is missing some stuff).

Commit:46c11b2
Author:David Guillen Fandos
Committer:David Guillen Fandos

Adding first axolotl commit. Doesnt work so far, many issues with sqlite. Other clients seem to query the same prekeyId regardless of the fresh key checkout at boot.

Commit:da17b35
Author:David Guillen Fandos

Adding first axolotl commit. Doesnt work so far, many issues with sqlite. Other clients seem to query the same prekeyId regardless of the fresh key checkout at boot.