Commit graph

581 commits

Author SHA1 Message Date
manuroe
93926e9047 OLMKit: Fixed warnings in objc wrapper 2016-11-18 11:39:39 +01:00
manuroe
29de7825c9 OLMKit: Update Copyrights 2016-11-17 15:50:23 +01:00
manuroe
e19b7f54dc OLMKit: Improve wording 2016-11-17 14:43:04 +01:00
manuroe
32a5424971 OLMKit: Podfile.lock++ 2016-11-17 14:33:41 +01:00
manuroe
0b1ecbff2d OLMKit: Add it to olm from version 2.0.1 2016-11-17 14:03:15 +01:00
manuroe
7ee17a2957 OLMKit: Add missing implementations for matchesInboundSession matchesInboundSessionFrom 2016-11-14 17:35:24 +01:00
manuroe
aa70c8afbc OLMKit: Fix warning in OLMUtility 2016-11-14 17:06:34 +01:00
manuroe
bc697bf5e2 OLMKit: Fixed type-cast of messageIndex of [OLMInboundGroupSession decryptMessage] for 32 and 64bits platforms 2016-11-14 17:02:56 +01:00
manuroe
cf66af6f2e OLMKit: Replaced NSAsserts by NSErrors 2016-11-14 16:54:51 +01:00
pedroGitt
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()
2016-11-14 11:56:37 +01:00
pedroGitt
d944d5fad7 Update initInboundSessionWithAccountFrom() return code:
- return code is a basic error code (0 OK, -1  KO)
Remove TODO comments
2016-11-08 11:25:10 +01:00
pedroGitt
1fd908c72a Light refactoring by using test helper methods getFingerprintKey() and getIdentityKey() 2016-11-08 11:21:45 +01:00
manuroe
27a8c28da4 OLMKit: Update obj-c wrapper to 2.0.0 2016-11-07 17:27:09 +01:00
manuroe
5d1b66c350 Merge remote-tracking branch 'origin/master' into olmkit 2016-11-07 17:21:39 +01:00
pedroGitt
c144d3fec5 Update test02AliceToBobBackAndForth() with a last sequence where Alice encrypts and Bob decrypts 2016-11-07 11:40:23 +01:00
pedroGitt
59bb145ceb Add new API to verify object release 2016-11-07 11:06:26 +01:00
pedroGitt
c71235d508 Fix javadoc header 2016-11-07 11:01:03 +01:00
pedroGitt
e71013b005 Set javadoc level to private 2016-11-07 11:00:01 +01:00
manuroe
62f5280670 OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes .c files 2016-11-04 11:07:36 +01:00
manuroe
9ac937a200 OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes .c files 2016-11-04 11:01:09 +01:00
manuroe
09b14c2b3d OLMKit: podspec: Some files are missing 2016-11-04 10:10:56 +01:00
manuroe
671218dc07 OLMKit: podspec: Some files are missing 2016-11-04 09:53:55 +01:00
manuroe
34998b52c7 OLMKit: Attempt to make podspec work when the pod is downloaded from git 2016-11-03 17:33:31 +01:00
pedroGitt
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
2016-10-31 12:09:06 +01:00
pedroGitt
7a0d7cc36d Fix OlmException cast issue
- OlmException class extends now from IOException
- update corresponding serializing unit tests
 - update
2016-10-28 10:49:04 +02:00
pedroGitt
0d3c1a2a46 Fix javadoc header comments 2016-10-28 10:02:06 +02:00
pedroGitt
724d9ea20b Add new API to provide the SDK version 2016-10-27 18:47:14 +02:00
pedroGitt
1f1cbf2b3e Add new tests for multiple creations of account and outbound group sessions: check random generation function in JNI works properly 2016-10-27 18:14:04 +02:00
pedroGitt
6348a45515 Introduce a new log file (ENABLE_JNI_LOG) to disable/enable logs in JNI side 2016-10-27 18:02:38 +02:00
pedroGitt
8dbc2b50d5 Remove unsecure logs (keys value were printed)
Rename local parameter properly
2016-10-27 17:54:30 +02:00
pedroGitt
6f6d33c7eb Update test01VerifyEd25519Signing() with a real message 2016-10-27 17:24:16 +02:00
Richard van der Hoff
f6c05be8c5 Add a document on signing keys 2016-10-27 11:55:48 +01:00
pedroGitt
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
2016-10-27 11:44:33 +02:00
pedroGitt
6204fcd128 Add javadoc auto generation:
- add a buildJavaDoc task in build.gradle
- update classes javadoc headers
2016-10-26 18:15:37 +02:00
pedroGitt
d6824a4f49 Revert loadLibrary as static. 2016-10-26 18:12:38 +02:00
pedroGitt
b0fc867bfe Update verifyEd25519Signature() unit test: add a test to detect a key length too small
- add logs in verifyEd25519SignatureJni() to print the key used
2016-10-26 15:08:39 +02:00
pedroGitt
b140e48183 Add missing copyright header
Add sanity tests for OlmAccount and OlmSession
Add a first version of MatchInboundSession
2016-10-25 18:21:50 +02:00
pedroGitt
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)
2016-10-25 18:18:40 +02:00
pedroGitt
eb2052ba05 Update due to renaming in olm_account.cpp (maxOneTimeKeysJni() & generateOneTimeKeysJni())
Fix removeOneTimeKeysForSession() default return code
2016-10-25 18:16:19 +02:00
pedroGitt
a6401c72e6 Update olm_matches_inbound_session_(from)() return code processing 2016-10-25 18:14:39 +02:00
pedroGitt
f3d4789b58 Renaming:
- generateOneTimeKeys => generateOneTimeKeysJni
- maxOneTimeKeys => maxOneTimeKeysJni
2016-10-25 18:13:44 +02:00
Richard van der Hoff
700596b46a Update python wrapper to run against libolm.so.2 2016-10-25 14:50:15 +01:00
Richard van der Hoff
2d7b10a160 Merge branch 'release-v2.0.0' 2016-10-25 14:50:03 +01:00
Mark Haines
7e9f3bebb8 Document the return values for olm_matches_inbound_session 2016-10-25 14:42:10 +01:00
Richard van der Hoff
27c7b4a767 Version bump for 2.0.0 2016-10-25 11:35:20 +01:00
pedroGitt
1af282fb37 Add new file: test helper methods 2016-10-25 10:21:15 +02:00
Richard van der Hoff
d02c457da5 Changelog: Mention install-headers 2016-10-24 17:22:43 +01:00
Richard van der Hoff
4367afc65e Prepare changelog for v2.0.0 2016-10-24 16:51:20 +01:00
Richard van der Hoff
64130c1f8b Fix broken fuzzer compilation
fuzz_group_decrypt.cpp got broken by 653790e; fix it up
2016-10-24 16:32:21 +01:00
pedroGitt
6b3cb69ded Fix compiler warnings
- for 32bits platform target
- when debug flag is not defined
2016-10-24 17:21:28 +02:00