Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-13 | Add a olm_inbound_group_session_id method | Mark Haines | |
2016-09-06 | call double ratchet what it is | Matthew Hodgson | |
2016-09-06 | Bump version numbers to 1.2.01.2.0 | Richard van der Hoff | |
2016-09-06 | Clean up some typos | Richard van der Hoff | |
Remove redundant args from some js funcs, and fix a comment typo | |||
2016-09-05 | Fix error handling for group sessions | Richard van der Hoff | |
Fix a couple of places where we were using the wrong method to get the last error. | |||
2016-09-05 | Merge pull request #15 from matrix-org/rav/has_received_message | Richard van der Hoff | |
OlmSession.has_received_message | |||
2016-09-05 | Fix megolm decryption of UTF-8 | Richard van der Hoff | |
Repeat the fix from b10f90d for megolm messages. It turns out that the 'length' argument to 'Pointer_stringify' doesn't work if the input includes characters >= 128. Rather than try to figure out which methods can return UTF-8, and which always return plain ascii, replace all uses of Pointer_stringify with a 'length' argument with the version that expects a NULL-terminated input, and extend the buffer by a byte to allow space for a null-terminator. In the case of decrypt, we need to add the null ourself. Fixes https://github.com/vector-im/vector-web/issues/2078. | |||
2016-09-04 | OlmSession.has_received_message | Richard van der Hoff | |
I find myself wanting to know if an OlmSession is in the pre-key state or not, to help debugging at the application level. | |||
2016-09-01 | Bump version in package.json1.1.0 | Richard van der Hoff | |
... to match the Makefile | |||
2016-09-01 | Fix Ed25519 keypair generation | Richard van der Hoff | |
Ed25519 private keys, it turns out, have 64 bytes, not 32. We were previously generating only 32 bytes (which is all that is required to generate the public key), and then using the public key as the upper 32 bytes when generating the per-message session key. This meant that everything appeared to work, but the security of the private key was severely compromised. By way of fixes: * Use the correct algorithm for generating the Ed25519 private key, and store all 512 bits of it. * Update the account pickle format and refuse to load the old format (since we should consider it compromised). * Bump the library version, and add a function to retrieve the library version, so that applications can verify that they are linked against a fixed version of the library. * Remove the curve25519_{sign, verify} functions which were unused and of dubious quality. | |||
2016-07-11 | Prepare 1.0.0 release1.0.0 | Richard van der Hoff | |
2016-07-06 | JS: make sure returned strings are null-terminated | Richard van der Hoff | |
It turns out that the 'length' argument to 'Pointer_stringify' doesn't work if the input includes characters >= 128. Rather than try to figure out which methods can return UTF-8, and which always return plain ascii, replace all uses of Pointer_stringify with a 'length' argument with the version that expects a NULL-terminated input, and extend the buffer by a byte to allow space for a null-terminator. In the case of decrypt, we need to add the null ourself. Fixes https://github.com/vector-im/vector-web/issues/1719. | |||
2016-05-26 | Put a signature on sent group messages | Richard van der Hoff | |
It's important that group messages be signed by the sender, rather than by a secret derived from the shared secret. | |||
2016-05-26 | js group demo: use a remoteOps object | Richard van der Hoff | |
To make sure that we don't sneakily use methods which we wouldn't be able to for remote users, expose an interface object which contains the remote interface. | |||
2016-05-26 | javascript/olm_inbound_group_session.js: fix length arg | Richard van der Hoff | |
message.length counts codepoints; we need bytes. | |||
2016-05-25 | Add a demo for group messaging via the JS bindings | Richard van der Hoff | |
2016-05-25 | Javascript bindings for group sessions | Richard van der Hoff | |
2016-05-20 | Add support for building the JS wrappers to the Makefile | Richard van der Hoff | |
Now that we have C and C++, we need to split the compile and link steps (because we need different flags for the C and C++ files), so this is easier with a Makefile. | |||
2016-05-16 | Remove vestiges of logging | Richard van der Hoff | |
Remove the (now non-functional) declarations of olm_set_log_level in the C and js wrappers. | |||
2016-04-26 | Fix a bunch of compiler warnings, and turn on warnings. | Richard van der Hoff | |
2016-04-26 | Add some logging to help understand what's going on | Richard van der Hoff | |
2016-04-26 | Add a basic logging implementation | Richard van der Hoff | |
2016-04-26 | Make 'npm build' build the js lib | Richard van der Hoff | |
2015-12-02 | Fix a console error when importing in a browser | Richard van der Hoff | |
something about 'global' not defined | |||
2015-12-02 | Tweak javascript build to make npm better | Richard van der Hoff | |
Build into 'javascript' dir and tell package.json exactly which files we care about. | |||
2015-11-01 | switch from /usr/bin/python to /usr/bin/env python. this doesn't help folks ↵ | Matthew Hodgson | |
whose python path points at python3 (e.g. Arch linux) though, but I see no choice than they have to change the shebangs, as we do on Synapse. For instance, OSX doesn't have a python2 symlink, otherwise we'd use /usr/bin/env python2 shebang. | |||
2015-08-04 | Add sha256 and ed25519_verify methods to javascript bindings | Mark Haines | |
2015-07-21 | Add package.json for adding olm to npm | Mark Haines | |
2015-07-21 | Add more workarounds for closure compiler in javascript bindings | Mark Haines | |
2015-07-21 | Fix javascript bindings: matches_inbound doesn't take an account argument | Mark Haines | |
2015-07-20 | More fixes to the javascript bindings to get them to behave with browserify | Mark Haines | |
2015-07-17 | Add remove_one_time_keys to the javascript bindings | Mark Haines | |
2015-07-16 | Add method getting a session id. Update the python and javascript bindings | Mark Haines | |
2015-07-14 | Tweak the javascript bindings so that they will work with Node.js | Mark Haines | |
2015-07-10 | Output simpler JSON for the account keys, don't sign the JSON but instead ↵ | Mark Haines | |
provide a olm_account_sign method so that the user of the library can sign the JSON themselves | |||
2015-07-09 | Add c bindings for the methods for managing one time keys | Mark Haines | |
2015-07-08 | Don't pass a key id when creating a new outbound session | Mark Haines | |
2015-07-08 | Update the javascript bindings and demo to match the format of the identity ↵ | Mark Haines | |
key JSON | |||
2015-06-27 | Rename axolotlpp as olm to avoid confusion with Axolotl-the-spec and ↵ | Matthew Hodgson | |
Axolotl-the-OWS-libraries at moxie's request | |||
2015-06-26 | Make sure the build dir exists | Mark Haines | |
2015-06-26 | Add a demo for the javascript bindings | Mark Haines | |
2015-06-26 | Fix javascript bindings to correctly pass the random buffer | Mark Haines | |
2015-06-24 | Throw an Error object rather than a string in the javascript bindings. | Mark Haines | |
2015-06-23 | Add javascript bindings using emscripten | Mark Haines | |