aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-24Update commentspedroGitt
2016-10-24Add missing account releaseAccount for test01VerifyEd25519Signing()pedroGitt
2016-10-24Merge pull request #33 from matrix-org/rav/pickle_lengthRichard van der Hoff
Return the base64-encoded length of pickles
2016-10-24Merge pull request #32 from matrix-org/markjh/replayMark Haines
Document the potential for message replays and possible mitigations
2016-10-24Return the base64-encoded length of picklesRichard van der Hoff
make olm_pickle_* return the lengths of the base64-encoded pickles, rather than the raw pickle. (From the application's POV, the format of the pickle is opaque: it doesn't even know that it is base64-encoded. So returning the length of the raw pickle is particularly unhelpful.)
2016-10-23Add serialization for inbound group sessionpedroGitt
- remove compiler warnings when logs are not enabled - new getInstanceId() function to refactor code
2016-10-21Add serialization for outbound group sessionpedroGitt
2016-10-21Update android platform to 16pedroGitt
2016-10-21Add getRandomKey()pedroGitt
2016-10-21Merge branch 'rav/clear_random_bufs'Richard van der Hoff
2016-10-21Clear random buf in olm_init_outbound_group_sessionRichard van der Hoff
All the other methods clear their random inputs. This one needs to do the same, to reduce the risk of the randomness being used elsewhere and leaking key info.
2016-10-21Serialization for OlmAccount and OlmSession OKpedroGitt
2016-10-21SpellingMark Haines
2016-10-21s/they've/they have/Mark Haines
2016-10-21Reword and s/message index/ratchet index/Mark Haines
2016-10-21Document the potential for message replays and possible mitigationsMark Haines
2016-10-21Merge pull request #31 from matrix-org/markjh/groupmessageindexMark Haines
Return the message index when decrypting group messages.
2016-10-20Add serialization feature to OlmAccountpedroGitt
- new JNI API: serializeDataWithKeyJni() and initWithSerializedDataJni() - update account unit test - modify OlmAccount constructor API: an exception may be thrown
2016-10-20Local variable renamingpedroGitt
2016-10-20Update verifyEd25519Signature() to fix error message processingpedroGitt
2016-10-20Format updatepedroGitt
2016-10-20Update logspedroGitt
2016-10-20First update with serialization mechanismpedroGitt
2016-10-20First update with serialization mechanismpedroGitt
2016-10-20Check the message index in the testsMark Haines
2016-10-20Merge branch 'master'Richard van der Hoff
2016-10-20Merge pull request #30 from matrix-org/rav/misc_docsRichard van der Hoff
Add notes on limitations to megolm spec
2016-10-20Add NULL check for message_index pointerMark Haines
2016-10-20Return the message index when decrypting group messages.Mark Haines
Applications can use the index to detect replays of the same message.
2016-10-19s/ephemeral/one-time/ in olm specRichard van der Hoff
We're standardising on 'one-time keys' as a term for the thing that Bob uploads for prekey messages.
2016-10-19Add notes on limitations to megolm specRichard van der Hoff
2016-10-19Link to the megolm specRichard van der Hoff
2016-10-19Document the unknown key-share attacks and mitigation (#29)Richard van der Hoff
2016-10-19Add new exception message for deserializationpedroGitt
2016-10-19Merge pull request #28 from matrix-org/rav/fix_megolm_segfaultRichard van der Hoff
Fix a buffer bounds check when decoding group messages
2016-10-19Merge pull request #27 from matrix-org/rav/fuzzers_readmeRichard van der Hoff
Add a README for the fuzzers
2016-10-19Fix a buffer bounds check when decoding group messagesRichard van der Hoff
Fixes a segfault when a group message had exactly the length of the mac + signature. Also tweak skipping of unknown tags to avoid an extra trip around the loop.
2016-10-19Add a README for the fuzzersRichard van der Hoff
2016-10-19Update due to the de/serialization APIpedroGitt
2016-10-18Fix verifyEd25519Signature() API to properly return the error message in ↵pedroGitt
case signature verification failed - update unit tests
2016-10-18Fix javadoc header commentpedroGitt
2016-10-18Add OlmUtility classpedroGitt
- add unit tests for OlmUtility - rename OlmGroupTest to OlmGroupSessionTest - update OlmException
2016-10-18- Add new API for OlmUtilitypedroGitt
- Introducing namespace AndroidOlmSdk - Fix logs (function names mixed up) - Add new check based on the calling java object instance type (IsInstanceOf()) - Fix return value for getXXXInstanceId() in case of failure. Now 0 is returned.
2016-10-17- Update Javadoc for keys constants definitionspedroGitt
- change return code from removeOneTimeKeysForSession() (direct value from JNI is now returned)
2016-10-17Update Javadoc method headers with direct link to PRE_KEY definitionpedroGitt
2016-10-17Fix "invalid address or address of corrupt passed to dlfree" in 32bits ↵pedroGitt
platform devices
2016-10-17Add extra tests to check if the calling JAVA instance is the expected onepedroGitt
2016-10-14- Add in/outbound group unit test OKpedroGitt
2016-10-14- Add inbound and outbound group sessionspedroGitt
- Modify constructors for inbound and outbound group sessions - Add new Ecxception class
2016-10-13Temp commit.. adding group session API in progresspedroGitt