aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-15typoRichard van der Hoff
2016-12-15zero out plaintext buffersRichard van der Hoff
Avoid leaving copies of the plaintext sitting around in the emscripten heap.
2016-12-14Merge pull request #38 from matrix-org/rav/handle_load_exceptionsRichard van der Hoff
Better handling of exceptions during loading, and import OLM_OPTIONS
2016-12-14Allocate memory for message blobs on the heapRichard van der Hoff
Messages can be very large, so we don't really want to allocate them on the stack. Switch to using the heap for them, and try to clean up some of the string handling while we're at it.
2016-12-14Let apps override emscripten settingsRichard van der Hoff
Read settings from OLM_OPTIONS to allow apps to configure some options. In particular, this is useful for setting the heap size.
2016-12-12Better handling of exceptions during loadingRichard van der Hoff
If we get an exception during load, don't define half of window.Olm (which confuses apps). This is a partial fix to https://github.com/vector-im/riot-web/issues/2726.
2016-11-28Update decryptMessage() API with the error message as an output parameterpedroGitt
2016-11-28Remove un used codepedroGitt
2016-11-24OLMKit: Make returned NSError provide the raw olm error string ↵manuroe
(ex:"UNKNOWN_MESSAGE_INDEX") in their NSLocalizedDescriptionKey. NSLocalizedFailureReasonErrorKey can contain more contextual information.
2016-11-24Add missing gradle folderpedroGitt
2016-11-23Rename JNI API: getOlmLibVersion() => getOlmLibVersionJni()pedroGitt
2016-11-23Update with master branch => OLM V2.0.0pedroGitt
2016-11-23Merge remote-tracking branch 'origin/master' into pedroc/android_e2e_devpedroGitt
2016-11-23Add lib version as sufix in the aar file namepedroGitt
2016-11-18OLMKit: Fixed warnings in objc wrappermanuroe
2016-11-17OLMKit: Update Copyrightsmanuroe
2016-11-17OLMKit: Improve wordingmanuroe
2016-11-17OLMKit: Podfile.lock++manuroe
2016-11-17OLMKit: Add it to olm from version 2.0.1manuroe
2016-11-14OLMKit: Add missing implementations for matchesInboundSession ↵olmkit-v2.0.0manuroe
matchesInboundSessionFrom
2016-11-14OLMKit: Fix warning in OLMUtilitymanuroe
2016-11-14OLMKit: Fixed type-cast of messageIndex of [OLMInboundGroupSession ↵manuroe
decryptMessage] for 32 and 64bits platforms
2016-11-14OLMKit: Replaced NSAsserts by NSErrorsmanuroe
2016-11-14Fix the decrypt issue (crash on V5.1.1) when the message to decrypt contains ↵AndroidSdk_v0.2.0pedroGitt
emojis: - add an internal specific JNI function (javaCStringToUtf8()) to perform the UTF-8 conversion - the SDK is configured to enable/disable the use of javaCStringToUtf8()
2016-11-08Update initInboundSessionWithAccountFrom() return code:pedroGitt
- return code is a basic error code (0 OK, -1 KO) Remove TODO comments
2016-11-08Light refactoring by using test helper methods getFingerprintKey() and ↵pedroGitt
getIdentityKey()
2016-11-07OLMKit: Update obj-c wrapper to 2.0.0manuroe
2016-11-07Merge remote-tracking branch 'origin/master' into olmkitmanuroe
2016-11-07Update test02AliceToBobBackAndForth() with a last sequence where Alice ↵pedroGitt
encrypts and Bob decrypts
2016-11-07Add new API to verify object releasepedroGitt
2016-11-07Fix javadoc headerpedroGitt
2016-11-07Set javadoc level to privatepedroGitt
2016-11-04OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes ↵manuroe
.c files
2016-11-04OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes ↵manuroe
.c files
2016-11-04OLMKit: podspec: Some files are missingmanuroe
2016-11-04OLMKit: podspec: Some files are missingmanuroe
2016-11-03OLMKit: Attempt to make podspec work when the pod is downloaded from gitmanuroe
2016-10-31Refactoring serialization flow:pedroGitt
- New class CommonSerializeUtils: helper class dedicated to serialization, to contain common code to all the OlmXXX classes that require to be serialized - make OlmXXX classes extending CommonSerializeUtils
2016-10-28Fix OlmException cast issuepedroGitt
- OlmException class extends now from IOException - update corresponding serializing unit tests - update
2016-10-28Fix javadoc header commentspedroGitt
2016-10-27Add new API to provide the SDK versionpedroGitt
2016-10-27Add new tests for multiple creations of account and outbound group sessions: ↵pedroGitt
check random generation function in JNI works properly
2016-10-27Introduce a new log file (ENABLE_JNI_LOG) to disable/enable logs in JNI sidepedroGitt
2016-10-27Remove unsecure logs (keys value were printed)pedroGitt
Rename local parameter properly
2016-10-27Update test01VerifyEd25519Signing() with a real messagepedroGitt
2016-10-27Add a document on signing keysRichard van der Hoff
2016-10-27Fix random issue: increase random seed precision to micro secAndroidSdk_v0.1.0pedroGitt
- previously the random seed was seconds based, and it could originate identical identity keys for different OlmAccount
2016-10-26Add javadoc auto generation:pedroGitt
- add a buildJavaDoc task in build.gradle - update classes javadoc headers
2016-10-26Revert loadLibrary as static.pedroGitt
2016-10-26Update verifyEd25519Signature() unit test: add a test to detect a key length ↵pedroGitt
too small - add logs in verifyEd25519SignatureJni() to print the key used