aboutsummaryrefslogtreecommitdiff
path: root/tests/test_olm.cpp
AgeCommit message (Collapse)Author
2020-11-05Convert to sibs projectHEADmasterdec05eba
2019-04-22don't use variable length or zero-length arrays in test filesHubert Chathi
as some compilers don't handle that
2016-10-25Document the return values for olm_matches_inbound_sessionMark Haines
2016-10-24Return the base64-encoded length of picklesRichard van der Hoff
make olm_pickle_* return the lengths of the base64-encoded pickles, rather than the raw pickle. (From the application's POV, the format of the pickle is opaque: it doesn't even know that it is base64-encoded. So returning the length of the raw pickle is particularly unhelpful.)
2016-09-01Fix Ed25519 keypair generationRichard 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-05-23Rename olm.hh to olm.hRichard van der Hoff
2015-07-16Add method getting a session id. Update the python and javascript bindingsMark Haines
2015-07-14Add a test for pickling and unpickling sessions, fix off by one error when ↵Mark Haines
unpickling sessions
2015-07-10Output 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-09Add c bindings for the methods for managing one time keysMark Haines
2015-07-08Change the JSON format for one time keys to include what algorithm they are forMark Haines
2015-07-08Send the public part of the one time key rather than passing an identifierMark Haines
2015-07-07Encode the account keys as a signed JSON objectMark Haines
2015-06-27Rename axolotlpp as olm to avoid confusion with Axolotl-the-spec and ↵Matthew Hodgson
Axolotl-the-OWS-libraries at moxie's request