Commit graph

  • de962ef8d7 encryptMessage : the UTF8 conversion is done on JAVA side. ylecollen 2017-01-03 11:38:43 +0100
  • e7c7d77a8a Comments update ylecollen 2017-01-03 11:04:22 +0100
  • 5e948b1ac4 Add exception checks ylecollen 2017-01-03 11:04:06 +0100
  • c8c7a8ad19 -> simplify OlmSession.DecryptMessage -> Always use javaCStringToUtf8 to convert byte array to String ylecollen 2017-01-03 10:46:56 +0100
  • 65352d05aa ->Replace 2 spaces tabs by 4 spaces. ->fix the NULL and 0 pointer comparisons mixes ylecollen 2017-01-03 09:32:59 +0100
  • b03cdebfb5 Update the tab size to 4 spaces ylecollen 2017-01-02 17:10:59 +0100
  • 5e0bbe7702 Rename getUnreleasedCount to isReleased. ylecollen 2017-01-02 16:29:44 +0100
  • 47a52dcf41 Use a 4 spaces tabulation ylecollen 2017-01-02 16:02:17 +0100
  • 8f3d5bed72 Fix tabulations mix and split block of variables when it is possible. ylecollen 2017-01-02 15:32:14 +0100
  • f4ae0d86c9 getOlmAccountId is aonly public in the OLM SDK package ylecollen 2017-01-02 15:28:42 +0100
  • b893b81c82 Simplify signMessageJni ylecollen 2017-01-02 14:41:54 +0100
  • 60bcf865d0 remove useless "new string" ylecollen 2017-01-02 14:19:22 +0100
  • 2a7c191d84 identityKeys / oneTimeKeys : remove useless try/catch blocks ylecollen 2017-01-02 14:18:12 +0100
  • b2b182161e Update the README files. ylecollen 2017-01-02 14:04:53 +0100
  • da2e1c5902 setRandomInBuffer : clear tempByteArray content ylecollen 2017-01-02 14:01:45 +0100
  • bd6ab72ca4 Fix jenkins failure Richard van der Hoff 2016-12-23 10:40:17 +0000
  • 86b64b653a Bump version numbers throughout 2.1.0 release-v2.1.0 Richard van der Hoff 2016-12-22 15:03:00 +0000
  • ac323b738d Update release process instructions Richard van der Hoff 2016-12-22 15:02:43 +0000
  • e71dc46a1e Update CHANGELOG Richard van der Hoff 2016-12-22 14:49:49 +0000
  • 90b3613053 Merge pull request #36 from matrix-org/manuroe/olmkit Richard van der Hoff 2016-12-22 14:43:01 +0000
  • 2593c69a8a Update the copyrights ylecollen 2016-12-22 11:12:41 +0100
  • c3eb050be2 signMessage : the utf8 conversion is done on Java side. ylecollen 2016-12-21 18:37:34 +0100
  • e17eb69048 create a dedicated file for olm_manager. ylecollen 2016-12-21 17:47:21 +0100
  • e6d634f9db move getOlmLibVersionJni to the bottom ylecollen 2016-12-21 16:31:56 +0100
  • 2e77e39579 move getOlmLibVersionJni ylecollen 2016-12-21 16:26:07 +0100
  • ffb40326ff Fix a potential memory leak. ylecollen 2016-12-21 15:17:53 +0100
  • 643165067f setRandomInBuffer uses java.lang.SecureRandom. ylecollen 2016-12-21 15:10:54 +0100
  • bacdc3c539 Add an encoding type while converting byte[] to string ylecollen 2016-12-21 13:06:51 +0100
  • 1c067b1cb6 remove the RTL support by default. ylecollen 2016-12-21 13:01:12 +0100
  • d741c012f3 identityKeys and oneTimeKeys return Map instead of JSON. ylecollen 2016-12-21 12:58:00 +0100
  • fb91b1f182 Merge pull request #41 from matrix-org/rav/js_tests Richard van der Hoff 2016-12-20 12:03:07 +0000
  • 46ad79517e OLMKit: More zeroing manuroe 2016-12-20 11:46:57 +0100
  • c553d18a9a Update the readme files. ylecollen 2016-12-20 10:42:06 +0100
  • 2fab6f946e Update the execution mode ylecollen 2016-12-20 10:10:52 +0100
  • 3540926b98 OLMKit: Reset intermediate buffers to zeroes manuroe 2016-12-19 18:10:37 +0100
  • e2e398bd94 Add some tests for the Javascript wrappers Richard van der Hoff 2016-12-16 17:17:10 +0000
  • 819f0d24db Merge pull request #40 from matrix-org/rav/fix_encryption Richard van der Hoff 2016-12-16 15:01:45 +0000
  • 8e554ab5ef Avoid buffer overrun on encryption Richard van der Hoff 2016-12-16 14:42:41 +0000
  • 7fd63bcac7 Merge pull request #39 from matrix-org/rav/messages_on_heap Richard van der Hoff 2016-12-15 16:54:39 +0000
  • 09b3e1eecd typo Richard van der Hoff 2016-12-15 16:28:30 +0000
  • 8356fa37ad zero out plaintext buffers Richard van der Hoff 2016-12-15 13:37:34 +0000
  • 2e04868c46 Merge pull request #38 from matrix-org/rav/handle_load_exceptions Richard van der Hoff 2016-12-14 14:34:39 +0000
  • 76610c0a3a Allocate memory for message blobs on the heap Richard van der Hoff 2016-12-14 11:43:00 +0000
  • 51b141ecb6 Let apps override emscripten settings Richard van der Hoff 2016-12-14 11:41:51 +0000
  • 1bf807bf33 Better handling of exceptions during loading Richard van der Hoff 2016-12-12 16:52:03 +0000
  • ac0ccb224d Update decryptMessage() API with the error message as an output parameter pedroGitt 2016-11-28 11:56:20 +0100
  • 0263cd3039 Remove un used code pedroGitt 2016-11-28 11:53:54 +0100
  • aa12cbcac2 OLMKit: Make returned NSError provide the raw olm error string (ex:"UNKNOWN_MESSAGE_INDEX") in their NSLocalizedDescriptionKey. manuroe 2016-11-24 11:45:59 +0100
  • d3d3024ea2 Add missing gradle folder pedroGitt 2016-11-24 10:21:12 +0100
  • b3c2015616 Rename JNI API: getOlmLibVersion() => getOlmLibVersionJni() pedroGitt 2016-11-23 09:36:46 +0100
  • e63be97774 Update with master branch => OLM V2.0.0 pedroGitt 2016-11-23 01:20:47 +0100
  • 7a6897642b Merge remote-tracking branch 'origin/master' into pedroc/android_e2e_dev pedroGitt 2016-11-23 00:04:58 +0100
  • c725a561a2 Add lib version as sufix in the aar file name pedroGitt 2016-11-23 00:01:34 +0100
  • 93926e9047 OLMKit: Fixed warnings in objc wrapper manuroe 2016-11-18 11:39:39 +0100
  • 29de7825c9 OLMKit: Update Copyrights manuroe 2016-11-17 15:50:23 +0100
  • e19b7f54dc OLMKit: Improve wording manuroe 2016-11-17 14:43:04 +0100
  • 32a5424971 OLMKit: Podfile.lock++ manuroe 2016-11-17 14:33:41 +0100
  • 0b1ecbff2d OLMKit: Add it to olm from version 2.0.1 manuroe 2016-11-17 14:03:15 +0100
  • 7ee17a2957 OLMKit: Add missing implementations for matchesInboundSession matchesInboundSessionFrom olmkit-v2.0.0 manuroe 2016-11-14 17:35:24 +0100
  • aa70c8afbc OLMKit: Fix warning in OLMUtility manuroe 2016-11-14 17:06:34 +0100
  • bc697bf5e2 OLMKit: Fixed type-cast of messageIndex of [OLMInboundGroupSession decryptMessage] for 32 and 64bits platforms manuroe 2016-11-14 17:02:56 +0100
  • cf66af6f2e OLMKit: Replaced NSAsserts by NSErrors manuroe 2016-11-14 16:54:51 +0100
  • 04fd4c5a13 Fix the decrypt issue (crash on V5.1.1) when the message to decrypt contains 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() AndroidSdk_v0.2.0 pedroGitt 2016-11-14 11:56:37 +0100
  • ad7ffd4cfa Add InboundGroupSession.session_key(). rav/inter_device_key_shares Richard van der Hoff 2016-11-10 11:06:39 +0000
  • 23a3e32b8d Add 'OlmInboundGroupSession.first_known_index' Richard van der Hoff 2016-11-08 16:39:16 +0000
  • d944d5fad7 Update initInboundSessionWithAccountFrom() return code: - return code is a basic error code (0 OK, -1 KO) Remove TODO comments pedroGitt 2016-11-08 11:25:10 +0100
  • 1fd908c72a Light refactoring by using test helper methods getFingerprintKey() and getIdentityKey() pedroGitt 2016-11-08 11:21:45 +0100
  • 27a8c28da4 OLMKit: Update obj-c wrapper to 2.0.0 manuroe 2016-11-07 17:27:09 +0100
  • 5d1b66c350 Merge remote-tracking branch 'origin/master' into olmkit manuroe 2016-11-07 17:21:39 +0100
  • c144d3fec5 Update test02AliceToBobBackAndForth() with a last sequence where Alice encrypts and Bob decrypts pedroGitt 2016-11-07 11:40:23 +0100
  • 59bb145ceb Add new API to verify object release pedroGitt 2016-11-07 11:06:26 +0100
  • c71235d508 Fix javadoc header pedroGitt 2016-11-07 11:01:03 +0100
  • e71013b005 Set javadoc level to private pedroGitt 2016-11-07 11:00:01 +0100
  • 62f5280670 OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes .c files manuroe 2016-11-04 11:07:36 +0100
  • 9ac937a200 OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes .c files manuroe 2016-11-04 11:01:09 +0100
  • 09b14c2b3d OLMKit: podspec: Some files are missing manuroe 2016-11-04 10:10:56 +0100
  • 671218dc07 OLMKit: podspec: Some files are missing manuroe 2016-11-04 09:53:55 +0100
  • 34998b52c7 OLMKit: Attempt to make podspec work when the pod is downloaded from git manuroe 2016-11-03 17:33:31 +0100
  • 8041a7e0ef Refactoring serialization flow: - 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 pedroGitt 2016-10-31 12:09:06 +0100
  • 7a0d7cc36d Fix OlmException cast issue - OlmException class extends now from IOException - update corresponding serializing unit tests - update pedroGitt 2016-10-28 10:49:04 +0200
  • 0d3c1a2a46 Fix javadoc header comments pedroGitt 2016-10-28 10:02:06 +0200
  • 724d9ea20b Add new API to provide the SDK version pedroGitt 2016-10-27 18:47:14 +0200
  • 1f1cbf2b3e Add new tests for multiple creations of account and outbound group sessions: check random generation function in JNI works properly pedroGitt 2016-10-27 18:14:04 +0200
  • 6348a45515 Introduce a new log file (ENABLE_JNI_LOG) to disable/enable logs in JNI side pedroGitt 2016-10-27 18:02:38 +0200
  • 8dbc2b50d5 Remove unsecure logs (keys value were printed) Rename local parameter properly pedroGitt 2016-10-27 17:54:30 +0200
  • 6f6d33c7eb Update test01VerifyEd25519Signing() with a real message pedroGitt 2016-10-27 17:24:16 +0200
  • f6c05be8c5 Add a document on signing keys Richard van der Hoff 2016-10-27 11:53:55 +0100
  • 31f8fe23c5 Fix random issue: increase random seed precision to micro sec - previously the random seed was seconds based, and it could originate identical identity keys for different OlmAccount AndroidSdk_v0.1.0 pedroGitt 2016-10-27 11:44:33 +0200
  • 6204fcd128 Add javadoc auto generation: - add a buildJavaDoc task in build.gradle - update classes javadoc headers pedroGitt 2016-10-26 18:15:37 +0200
  • d6824a4f49 Revert loadLibrary as static. pedroGitt 2016-10-26 18:12:38 +0200
  • b0fc867bfe Update verifyEd25519Signature() unit test: add a test to detect a key length too small - add logs in verifyEd25519SignatureJni() to print the key used pedroGitt 2016-10-26 15:08:39 +0200
  • b140e48183 Add missing copyright header Add sanity tests for OlmAccount and OlmSession Add a first version of MatchInboundSession pedroGitt 2016-10-25 18:21:50 +0200
  • 232de794f2 Update return code for initOutboundSessionWithAccount() and initInboundSessionWithAccount(): An error code is now returned, no utility to return the object itself (initial implementation matching iOS) pedroGitt 2016-10-25 18:18:40 +0200
  • eb2052ba05 Update due to renaming in olm_account.cpp (maxOneTimeKeysJni() & generateOneTimeKeysJni()) Fix removeOneTimeKeysForSession() default return code pedroGitt 2016-10-25 18:16:19 +0200
  • a6401c72e6 Update olm_matches_inbound_session_(from)() return code processing pedroGitt 2016-10-25 18:14:39 +0200
  • f3d4789b58 Renaming: - generateOneTimeKeys => generateOneTimeKeysJni - maxOneTimeKeys => maxOneTimeKeysJni pedroGitt 2016-10-25 18:13:44 +0200
  • 700596b46a Update python wrapper to run against libolm.so.2 Richard van der Hoff 2016-10-25 14:50:15 +0100
  • 2d7b10a160 Merge branch 'release-v2.0.0' Richard van der Hoff 2016-10-25 14:50:03 +0100
  • 7e9f3bebb8 Document the return values for olm_matches_inbound_session Mark Haines 2016-10-25 14:42:10 +0100
  • 27c7b4a767 Version bump for 2.0.0 2.0.0 Richard van der Hoff 2016-10-25 11:35:20 +0100