ylecollen
|
99ff3d15c8
|
remove the useless malloc(len+1) + zero terminated
|
2017-01-09 15:03:15 +01:00 |
|
ylecollen
|
30c8d069bc
|
The crypto objects are now saved as String to keep the backward compliancy.
|
2017-01-09 13:56:41 +01:00 |
|
ylecollen
|
7bf7a7e415
|
use the same way to name the creation method i.e. createNewXX. Avoid the initWithXX.
|
2017-01-09 13:55:58 +01:00 |
|
ylecollen
|
13d3f4a1c7
|
The serialization / deserialization unit test did not fail when there was an error
|
2017-01-09 13:55:04 +01:00 |
|
ylecollen
|
f257580cb1
|
verifyEd25519Signature triggers an exception instead of filling an error buffer
|
2017-01-09 10:25:18 +01:00 |
|
ylecollen
|
0339610269
|
Simplify the function declarations in olm_jni to avoid having to cast the getXXX methods
|
2017-01-09 10:01:01 +01:00 |
|
Richard van der Hoff
|
5fbeb3e29b
|
Enable exporting inbound group session keys
A pair of functions which allow you to export the megolm keys for an inbound
group session, so that an application can save/restore them.
|
2017-01-06 16:41:56 +00:00 |
|
ylecollen
|
eec8a50caf
|
Move the exception test
|
2017-01-05 10:16:14 +01:00 |
|
ylecollen
|
90c55806c0
|
fix an invalid test
|
2017-01-05 09:42:25 +01:00 |
|
ylecollen
|
9df5dd9c42
|
The olm objects are serialized as byte[] instead of strings.
|
2017-01-04 18:30:35 +01:00 |
|
ylecollen
|
7f6a63068b
|
Fix a C compilation warning.
|
2017-01-04 14:49:51 +01:00 |
|
ylecollen
|
4ca8086a39
|
OlmSession triggers exception when there is a failure.
|
2017-01-04 14:35:08 +01:00 |
|
ylecollen
|
846ea49a98
|
the OlmOutboundGroupSession methods trigger an exception when they fail
|
2017-01-04 13:13:13 +01:00 |
|
ylecollen
|
261c08086c
|
the OlmInboundGroupSession methods trigger an exception when they fails
|
2017-01-04 12:35:15 +01:00 |
|
ylecollen
|
88548f687e
|
OlmAccount methods trigger an exception when they fail.
|
2017-01-04 11:46:37 +01:00 |
|
ylecollen
|
570e8bbe93
|
use secureRandom in getRandomKey
|
2017-01-04 09:07:12 +01:00 |
|
ylecollen
|
ce9f67d5be
|
Simplify the serialization / deserializtion methods (CommonSerializeUtils)
|
2017-01-04 08:57:41 +01:00 |
|
ylecollen
|
2070de4fc5
|
initInboundSessionWithAccount triggers an exception when it fails.
|
2017-01-03 17:20:18 +01:00 |
|
ylecollen
|
45a98c20a8
|
EncryptMessage triggers an exception when it fails
|
2017-01-03 16:41:04 +01:00 |
|
ylecollen
|
9552e14fda
|
-> the byte[] to String conversions are done on Java level (when it is possible)
-> remove javaCStringToUtf8
|
2017-01-03 16:12:20 +01:00 |
|
ylecollen
|
765647cda5
|
There is more GetStringUTFChars call.
|
2017-01-03 14:14:56 +01:00 |
|
ylecollen
|
de962ef8d7
|
encryptMessage : the UTF8 conversion is done on JAVA side.
|
2017-01-03 11:38:43 +01:00 |
|
ylecollen
|
e7c7d77a8a
|
Comments update
|
2017-01-03 11:04:22 +01:00 |
|
ylecollen
|
5e948b1ac4
|
Add exception checks
|
2017-01-03 11:04:06 +01:00 |
|
ylecollen
|
c8c7a8ad19
|
-> simplify OlmSession.DecryptMessage
-> Always use javaCStringToUtf8 to convert byte array to String
|
2017-01-03 10:46:56 +01:00 |
|
ylecollen
|
65352d05aa
|
->Replace 2 spaces tabs by 4 spaces.
->fix the NULL and 0 pointer comparisons mixes
|
2017-01-03 09:32:59 +01:00 |
|
ylecollen
|
b03cdebfb5
|
Update the tab size to 4 spaces
|
2017-01-02 17:10:59 +01:00 |
|
ylecollen
|
5e0bbe7702
|
Rename getUnreleasedCount to isReleased.
|
2017-01-02 16:29:44 +01:00 |
|
ylecollen
|
47a52dcf41
|
Use a 4 spaces tabulation
|
2017-01-02 16:02:17 +01:00 |
|
ylecollen
|
8f3d5bed72
|
Fix tabulations mix and split block of variables when it is possible.
|
2017-01-02 15:32:14 +01:00 |
|
ylecollen
|
f4ae0d86c9
|
getOlmAccountId is aonly public in the OLM SDK package
|
2017-01-02 15:28:42 +01:00 |
|
ylecollen
|
b893b81c82
|
Simplify signMessageJni
|
2017-01-02 14:41:54 +01:00 |
|
ylecollen
|
60bcf865d0
|
remove useless "new string"
|
2017-01-02 14:19:22 +01:00 |
|
ylecollen
|
2a7c191d84
|
identityKeys / oneTimeKeys : remove useless try/catch blocks
|
2017-01-02 14:18:12 +01:00 |
|
ylecollen
|
b2b182161e
|
Update the README files.
|
2017-01-02 14:04:53 +01:00 |
|
ylecollen
|
da2e1c5902
|
setRandomInBuffer : clear tempByteArray content
|
2017-01-02 14:01:45 +01:00 |
|
Richard van der Hoff
|
bd6ab72ca4
|
Fix jenkins failure
do npm install before running the js tests
|
2016-12-23 10:40:17 +00:00 |
|
Richard van der Hoff
|
86b64b653a
|
Bump version numbers throughout
|
2016-12-22 15:03:00 +00:00 |
|
Richard van der Hoff
|
ac323b738d
|
Update release process instructions
|
2016-12-22 15:02:43 +00:00 |
|
Richard van der Hoff
|
e71dc46a1e
|
Update CHANGELOG
|
2016-12-22 14:51:56 +00:00 |
|
Richard van der Hoff
|
90b3613053
|
Merge pull request #36 from matrix-org/manuroe/olmkit
OLMKit
|
2016-12-22 14:43:01 +00:00 |
|
ylecollen
|
2593c69a8a
|
Update the copyrights
|
2016-12-22 11:12:41 +01:00 |
|
ylecollen
|
c3eb050be2
|
signMessage : the utf8 conversion is done on Java side.
|
2016-12-21 18:37:34 +01:00 |
|
ylecollen
|
e17eb69048
|
create a dedicated file for olm_manager.
|
2016-12-21 17:47:21 +01:00 |
|
ylecollen
|
e6d634f9db
|
move getOlmLibVersionJni to the bottom
|
2016-12-21 16:31:56 +01:00 |
|
ylecollen
|
2e77e39579
|
move getOlmLibVersionJni
|
2016-12-21 16:26:07 +01:00 |
|
ylecollen
|
ffb40326ff
|
Fix a potential memory leak.
|
2016-12-21 15:17:53 +01:00 |
|
ylecollen
|
643165067f
|
setRandomInBuffer uses java.lang.SecureRandom.
|
2016-12-21 15:10:54 +01:00 |
|
ylecollen
|
bacdc3c539
|
Add an encoding type while converting byte[] to string
|
2016-12-21 13:06:51 +01:00 |
|
ylecollen
|
1c067b1cb6
|
remove the RTL support by default.
|
2016-12-21 13:01:12 +01:00 |
|