Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |